What data structure can be used to check if syntax has balanced parenthesis?
A. Queue
B. Tree
C. List
D. Stack
Answer:D
What data structure can be used to check if syntax has balanced parenthesis?
A. Queue B. Tree C. List D. Stack