News for hackers. Stuff that matters.
Re:My Favorite Programming Problem to Teach: Digit Length by slavik81 on Monday November 11, 2019 @02:46PM (#21508174)
When N is fixed, all algorithms become O(1). That's why they appear the same.

If you do these calculations by hand, the complexity will be more obvious because each operation will be smaller.

There are no comments on this comment yet.