Vidyalelo
Data Structure · Q184

Introduction to Data Structures

Programming · Data Structure · question 184

Q184

Why is implementation of stack operations on queues not feasible for a large dataset (Asssume the number of elements in the stack to be n)?

A.
Because of its time complexity O(n)
Answer
B.
Because of its time complexity O(log(n))
C.
Extra memory is not required
D.
There are no problems

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board