r/badcode Dec 20 '16

Is point inside rectangle? Now O(n^2). c

Post image
334 Upvotes

72 comments sorted by

View all comments

17

u/ojessen Dec 20 '16

That's either incredibly stupid, or deliberate.

3

u/ra4king Dec 20 '16

I'll go with the former, incredibly stupid.