Skip to main content
Loading page content
Algo
Flow
Visualizers
Mental Math
Dashboard
Log in
Sign up
Back to Visualizer
Question 1 of 5
Update
• Update by Index
What is the time complexity of updating an array element at a known index?
A
O(n)
B
O(1)
C
O(log n)
D
O(n^2)