The correct order in O2,O3 , H2O2 in which the O−O bond length increases

The correct order in O2O3 , H2O2 in which the O−O bond length increases in the following is?
why? give me shortcut for solving these type of query.

The bond Length decreases with increase of bond order which is the multiplicity of bond.
If BO is 1 its a single bond; 2 for double bond and 3 for triple bond.
H2O2 has all single bond with bond length 1.41A0
O2 has double bond with bond length 1.33A0
O3 has a partial double bond due to the resonance of lone pairs of electrons thus if we arrange the above molecules a/c to their bond length it would be - H2O2 > O3 > O2