Oxidation number can be defined as the total number of electrons that atoms in a molecule can lose, share or acquire while building a chemical interaction with atoms of other elements.
Solution-
Here in N3H, we have 3 nitrogen atoms and 1 hydrogen atom