1

Which of the following takes O(n) time in worst case in array implementation of stack?

Correct Answer: pop, push and isempty takes constant time

Make the most of this question

This page focuses on one Design and Analysis of Algorithms question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

Design and Analysis of Algorithms MCQ: Which of the following takes O(n) time in worst case in array implementation of stack? | Extra Education