News for hackers. Stuff that matters.
Re:I Am a Bad Developer by kgabis on Tuesday May 07, 2013 @05:24AM (#5667190)

    I loop twice, so complexity is O(2N).
Actually, it's still O(N).
Re:I Am a Bad Developer by zng on Tuesday May 07, 2013 @06:14AM (#5667304)
Yes. But O(2N) = O(N) :D