Multiple ChoiceBeginner 30s
Stack: Complexity
Push and pop operations on a stack have time complexity:
Options
- 1O(n²) each
- 2O(log n) each
- 3O(n) each
- 4O(1) each
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.