Data Structures Practice Test
Data Structures Arrays and Strings
What is the time complexity of accessing an element in an array by index?
Select your answer
A
O(n)
B
O(log n)
C
O(1)
D
O(n²)
Hint