Fully Parenthesized Expressions
Answer: No. At step 3, it is not the case that the stack is empty: the algorithm will print a message indicating that the expression was not fully parenthesized.
Previous slide
Next slide
Back to first slide
View graphic version