The minimum internuclear distance is present in:
O22-
O2+
O2
O2-
Among the given options O2+ has the highest bond order.
So it forms the strongest bond, the bond order of O22- is 1, O2- is 1.5, O2 is 2 and O2+ is 2.5 and hence it has the shortest bond length.