Answer
Nitrogen FC = +1
Oxygen FC = -1.
Work Step by Step
Notice that V is the number of valence electrons of the neutral atom in isolation during its ground state. N is the number of non-bonding valence electrons on this atom in the molecule, and B is the total number of electrons shared in bonds with other atoms in that particular molecule.