A

Admin • 825.56K Points
Coach

Q. What is the time complexity to access an array element by index?

  • (A) O(n)
  • (B) O(log n)
  • (C) O(1)
  • (D) O(n log n)

Explanation by: Admin
Array element access by index is done in constant time.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.