McqMate
| Q. |
Stack can be reversed without using extra space by |
| A. | using recursion |
| B. | using linked list to implement stack |
| C. | using an extra stack |
| D. | it is not possible |
| Answer» B. using linked list to implement stack | |
| Explanation: if linked list is used for implementing stack then it can be reversed without using any extra space. | |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet