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
Why is implementation of stack operations on queues not feasible for a large dataset (Asssume the number of elements in
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Why is implementation of stack operations on queues not feasible for a large dataset (Asssume the number of elements in
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!