All challenges
Multiple ChoiceBeginner 30s

Big-O: Logarithmic

Which algorithm class runs in O(log n)?
Options
  1. 1Binary search on a sorted array
  2. 2Building an index over a hash map
  3. 3Running bubble sort over a list
  4. 4A single linear scan of a list

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