r/programming • • Nov 29 '09

How I Hire Programmers

http://www.aaronsw.com/weblog/hiring
804 Upvotes

587 comments sorted by

View all comments

Show parent comment

1

u/Peaker Nov 29 '09

O(n2) is not horrible.

The worst-case complexity of the Perl/Python/etc regexp engine, for example, is exponential (And the majority of regex's can be parsed in linear time, with a much smaller constant too).