Recently I encountered a problem which reads,
Ph-NO2 + LiAlH4 PhN=NPh (azobenzene) but,
Ph-NO2 + NaBH4/Pd-C Ph-NH2 (aniline)
Explain.Now I know that nitrobenzene on reduction in acidic media gives aniline and on reduction in alkaline media gives azobenzene. But I can't understand how is it applicable in the above case. Please help.