Q8
What is the time complexity of accessing an element in an array?
A.
O(n)
B.
O(1)
AnswerC.
O(log n)
D.
O(n log n)
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board