Vidyalelo
Data Structure · Q28

Stacks in Data Structures

Programming · Data Structure · question 28

Q28

How can you check if two stacks are equal?

A.
Compare their sizes and elements
Answer
B.
Compare their top elements only
C.
Compare their sizes only
D.
Compare their last elements only

Answer: Option A

Solution

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