Vidyalelo
Data Structure · Q37

Stacks in Data Structures

Programming · Data Structure · question 37

Q37

How do you implement a stack using two stacks?

A.
By using one stack for push and the other for pop operations
Answer
B.
By using one stack to keep elements and the other to reverse them
C.
By alternating between two stacks
D.
By using two stacks for different data types

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board