In which of the following compounds the hybridization of nitrogen is sp2 ?


Due to the lone pair of Nitrogen, resonance is shown in pyrrole.
There are many resonating structures, in which Nitrogen is in sp2 hybridisation.

Option 2 is correct.