The ten largest of a million values: rank by counting, gather the winners, or bisect for a cutoff — and when each one wins.
5 tasks
This page is an interactive exercise — the editor, the GPU runner and your saved progress need JavaScript. The text above is the full brief.