Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Beautiful branchless binary search. Parent comment
Algorithms don’t exist in a bubble, but are always accompanied with a data structure.
A heap sorted array is different from a linearly sorted array. Binary search is only defined for the latter.
There are no comments on this comment yet.
Algorithms don’t exist in a bubble, but are always accompanied with a data structure.
A heap sorted array is different from a linearly sorted array. Binary search is only defined for the latter.