All challenges
Multiple ChoiceBeginner 30s

Arrays: Deletion

Deleting an element from the middle of an array requires shifting subsequent elements. What is the worst-case time complexity?
Options
  1. 1O(log n)
  2. 2O(n)
  3. 3O(n²)
  4. 4O(1)

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