Skip to content
Medium-Easy Understand Arrays & Strings Multiple Choice

What is the amortized time complexity of Array.push() in JavaScript?

Understand — Tests comprehension and ability to explain concepts.

Answer Options

A O(n) per call
B O(log n) amortized
C O(1) amortized
D O(n) amortized

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