

MCQOPTIONS
Saved Bookmarks
1. |
Consider you have an array of some random size. You need to perform dequeue operation. You can perform it using stack operation (push and pop) or using queue operations itself (enQueue and Dequeue). The output is guaranteed to be same. Find some differences? |
A. | They will have different time complexities |
B. | The memory used will not be different |
C. | There are chances that output might be different |
D. | No differences |
Answer» B. The memory used will not be different | |