cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Need Help error balance checking program
Need Help error balance checking program
Oct 21, 2015 at 10:36pm UTC
coolioschmoolio
(10)
.... delete
Last edited on
Oct 22, 2015 at 4:24pm UTC
Oct 22, 2015 at 3:59am UTC
ne555
(10692)
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
({}) ({) ({)} )( (()) )
Oct 22, 2015 at 4:06am UTC
coolioschmoolio
(10)
... delete
Last edited on
Oct 22, 2015 at 4:24pm UTC
Topic archived. No new replies allowed.