All challenges
Multiple ChoiceBeginner 30s

Two Pointers

Two-pointer technique on a sorted array typically reduces time from O(n^2) to:
Options
  1. 1O(1)
  2. 2O(2^n)
  3. 3O(n log n)
  4. 4O(n)

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