EasyRememberArrays & StringsMultiple Choice

What is the time complexity of accessing an element by index in an array?

Remember Tests recall of fundamental facts and definitions.

Answer Options

AO(1)
BO(log n)
CO(n)
DO(n²)

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 34+ more Arrays & Strings questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Arrays & Strings topic (Data Structures).

More Arrays & Strings Questions