Examveda

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)

B. Because of its time complexity O(log(n))

C. Extra memory is not required

D. There are no problems

Answer: Option A


This Question Belongs to Data Structure >> Introduction To Data Structures

Join The Discussion

Related Questions on Introduction to Data Structures