News for hackers. Stuff that matters.
Re:Sleeping Through the Technical Interview (2022) by addaon on Friday July 07, 2023 @05:21PM (#36638474)
It's constant with regards to the length of the input array, which is the usual metric for sort algorithm performance. That is, d(runtime)/d(len(input)) can be constant, even though d(runtime)/d(max(input)) is not, if you assume that len(input) is independent from max(input) (which is inconsistent with input having uniformly distributed random members, which is probably the more common assumption).

There are no comments on this comment yet.