Multiple ChoiceBeginner 30s
O(1) — Constant Time
An O(1) algorithm means:
Options
- 1Runtime grows linearly as the input grows
- 2Runtime stays constant regardless of input size
- 3Runtime doubles each time an element is added
- 4Runtime grows quadratically with the input
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.