The nitronium ion or sometimes the nitryl ion NO2+ is a generally reactive cation created by the removal of an electron from the paramagnetic nitrogen dioxide molecule.
In [O = N = O]+ nitrogen atom has sp hybridisation and thus it is linear in shape.
In NO2- the nitrogen atom has sp2 hybridisation and bent shape.