Quote of the DayOpen book
Test with minimal input to reveal the root of a failing implementation's flaws.
Debugging can be simplified by focusing on the essence of the issue.
Try this: Isolate the test case to pinpoint the bug and rectify the code accordingly.
C++ Data Structures
Patrick McClanahan