1. Computer Science Engineering (CSE)
  2. Design and Analysis of Algorithms
  3. Stack can be reversed without using extr...
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.

Discussion