Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
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