# Top-K Selection

*Module of the free GPU.js GPGPU course · 5 tasks*

The ten largest of a million values: rank by counting, gather the winners, or bisect for a cutoff — and when each one wins.

## Tasks

1. [Rank by Counting](https://gpu.rocks/learn/top-k-selection-1ba56df3/1.md)
2. [Gather the Winners](https://gpu.rocks/learn/top-k-selection-1ba56df3/2.md)
3. [The Brightest Pixels](https://gpu.rocks/learn/top-k-selection-1ba56df3/3.md)
4. [Find the Cutoff Instead](https://gpu.rocks/learn/top-k-selection-1ba56df3/4.md)
5. [Which One Wins?](https://gpu.rocks/learn/top-k-selection-1ba56df3/5.md)

---

Interactive version: https://gpu.rocks/learn/top-k-selection-1ba56df3
