Examveda

How can you check if two stacks are equal?

A. Compare their sizes and elements

B. Compare their top elements only

C. Compare their sizes only

D. Compare their last elements only

Answer: Option A


This Question Belongs to Data Structure >> Stacks In Data Structures

Join The Discussion

Related Questions on Stacks in Data Structures