Need Help error balance checking program

.... delete
Last edited on
Try your algorithm with pen and paper. Use simple test-cases, cover both good an bad result (balanced and unbalanced)
Then (hopefully) you will notice the case when it fails and may refine it.

Some examples
({})
({)
({)}
)(
(())
)
... delete
Last edited on
Topic archived. No new replies allowed.