Solved

When Using a Stack to Evaluate the Balance of Brackets

Question 11

Multiple Choice

When using a stack to evaluate the balance of brackets and parentheses in an expression, what is the first step?


A) push opening brackets onto the stack while scanning the expression
B) pop closing brackets onto the stack while scanning the expression
C) push closing brackets onto the stack while scanning the expression
D) pop opening brackets onto the stack while scanning the expression

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions