The data structure required to check whether an expression contains balanced parenthesis is?
A. Stack
B. Queue
C. Array
D. Tree
Answer:A
The data structure required to check whether an expression contains balanced parenthesis is?
A. Stack B. Queue C. Array D. Tree