

MCQOPTIONS
Saved Bookmarks
1. |
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» B. Because of its time complexity O(log(n)) | |