Key idea: A resonance structure is least stable when it has the most charge separation, and especially when like charges sit on adjacent atoms.
- All four are charge-separated structures of the same nitro-diene, and each has NX+ and OX− in the nitro group.
- (A): the carbocation is at the far end, away from NX+, and the nitro group carries two OX−. The charges are spread out.
- (C): the carbanion carbon is next to NX+. Opposite charges are adjacent, which is attractive and relatively favourable.
- (D): the carbanion and carbocation are on neighbouring carbons, and the negative charge is not next to NX+. The charge separation is moderate.
- (B): the carbocation carbon is directly bonded to NX+. Two positive charges on adjacent atoms repel strongly, so this is the least stable contributor.
Answer: (B)