This is an old pull request, which contains a polluted commit history due to git rebase. The newer, cleaner version is #35.
Commit Summary:
1ce74a2 The code is more organized if methods and their private helpers are paired together [e.g. remove()], and prevents students from having to scroll up and down excessively. To make ordering consistent (defining a method first, and then its private helper second), I moved printTree(root) before its helper.
f58af50 This fixes small typos, like implemention --> implementation, particualr --> particular, etc.
102bd5a This fixes compiler errors "use of undeclared identifier cout" and likewise for "endl".
This is an old pull request, which contains a polluted commit history due to
git rebase
. The newer, cleaner version is #35.Commit Summary:
1ce74a2 The code is more organized if methods and their private helpers are paired together [e.g. remove()], and prevents students from having to scroll up and down excessively. To make ordering consistent (defining a method first, and then its private helper second), I moved printTree(root) before its helper.
f58af50 This fixes small typos, like implemention --> implementation, particualr --> particular, etc.
102bd5a This fixes compiler errors "use of undeclared identifier cout" and likewise for "endl".