News for hackers. Stuff that matters.
Re:Ask HN: What is the most beautiful piece of code you've e... by scythe on Monday October 28, 2019 @09:42AM (#21376882)
The path towards O(1) space instead of O(log n) space is fraught with technicalities. At the bottom, you realize that no matter what algorithm you use, you always store the array size in lg(n) bits! So it makes more sense to say “less memory” rather than O(1) memory for sorts.

There are no comments on this comment yet.