All challenges
Multiple ChoiceIntermediate 30s

Ordered set/map

An ordered set/map uses:
Options
  1. 1Hash table with amortized constant lookups
  2. 2Singly linked list with linear-time scans
  3. 3Balanced BST with O(log n) operations
  4. 4Contiguous array with quadratic insert cost

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