O-n square complexity
initial with three ways and different intepretation