Top-K Radix Selection Algorithm
Problem: You have an array of a million numeric keys (e.g. 32-bit unsigned integers) and need the largest 11 of them. Solutions: The first two solutions do more work than is necessary, as they sort all of the array elements, including the top 11 elements. This was not required by the problem statement. The last […]
Read more "Top-K Radix Selection Algorithm"