Skip to main content
Loading page content
Algo
Flow
Visualizers
Mental Math
Dashboard
Log in
Sign up
Back to Visualizer
Question 1 of 5
Deletion
• Delete from Index
What is the worst-case time complexity of deleting an element at a given index in an array of size n?
A
O(1)
B
O(log n)
C
O(n)
D
O(n^2)