Every programmer should know enough to at least avoid accidentally making things quadratic.
https://news.ycombinator.com/item?id=26296339
It's often a case of "N won't be large here" and then later N does sometimes turn out to be large.