News for hackers. Stuff that matters.
Re:A beginner's guide to Big O notation (2009) by teraflop on Thursday May 05, 2016 @03:50PM (#11639180)
In what way? Having skimmed it, I see a couple of minor mistakes but the bulk of it seems correct.

The chart says you can search a Cartesian tree in O(log n) expected time, but I don't see how that's possible given that there's no ordering between a node's children.

Also, it's possible to do mergesort in O(1) space; in fact, it's one of the exercises in TAOCP, if I recall correctly. But the algorithm is so complicated that nobody uses it in practice.

There are no comments on this comment yet.