Oxidation state is the charge left on the central atom, when all the pairs of electrons are removed from the central atom, with the charge assigned to the most electronegative atom.
Now we know that fluorine is the most electronegative atom on , so it gets the electrons.............
What is the oxidation number of oxygen in