Which of the following data structures can be used for parentheses matching?

Q & ACategory: Data StructureWhich of the following data structures can be used for parentheses matching?
Admin Staff asked 4 years ago

Which of the following data structures can be used for parentheses matching?
a) n-ary tree
b) queue
c) priority queue
d) stack

1 Answers
Admin Staff answered 4 years ago

d) stack