Solution:
The N is having sp hybridized with the two bound pairs and the cation of the is . Similar to this, the anion is , with the N having hybridized with the three bound pairs.
Thus, the cation is and the anion is , and the N atom in the cation has hybridised due to the two bound pairs in the sp state.