3 ms·Just because the complexity is high, doesn't mean the algorithm is complicated.by blt 3y agoJust because the complexity is high, doesn't mean the algorithm is complicated.elteto 3y agoForgot to mention… he wanted an O(n) solution!!!