(AMCAT) Aspiring Minds Computer Adaptive Test Practice Test
(AMCAT) Aspiring Minds Computer Adaptive Test FREE AMCAT Basic Data Structures Questions and Answers
What is the time complexity to access an element in an array by its index?
Select your answer
A
O(n)
B
O(1)
C
O(log n)
D
O(n^2)
Hint