Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Efficiently Generating a Number in a Range. Parent comment
return min
return max
You mean in one instruction? The parent comment is O(1). The methods in the article are all O(1) too.