All challenges
Multiple ChoiceIntermediate 30s

Quickselect

Quickselect finds the kth smallest element in:
Options
  1. 1O(n) average time
  2. 2O(n²) always
  3. 3O(n log n) always
  4. 4O(1) time

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle