Code with Shreya
GATE
Job prep
Subjects
Blog
Videos
Quizzes
PYQ
Compiler
Tools
Back to all quizzes
Beginner · Arrays / Stack / Queue
Data Structures Fundamentals
10 questions
Question 1 of 10
Score 0
What is the time complexity of accessing the element at index i in an array?
O(1)
O(log n)
O(n)
O(n log n)
Next question