next up previous
Next: Implement it! Up: Assignment 5: Stacks Previous: Check balanced parentheses, braces,

Make a plan

1.
Write a paragraph or two explaining how you would use the Stack ADT to make sure that the parentheses, braces, and brackets in the program are balanced.

2.
Once you have an algorithm, make a plan that details at least three intermediate stages between where the program is now and where it is going. Each stage should be a small modification of its predecessor, it should use a new feature or add a new function, and it should be testable.



Allen B. Downey
1998-10-12