The best data structure to check whether an arithmetic expression has balanced…
GATE · 2004 · CSISRO Scientist/Engineer SC · May 2017 · Computer Science
The best data structure to check whether an arithmetic expression has balanced parentheses is a
- A.
queue
- B.
stack
- C.
tree
- D.
list
Attempted by 3443 students.
Sign up free to check your answer
Sign up freeLoading lesson…