summaryrefslogtreecommitdiff
path: root/src/02/05
diff options
context:
space:
mode:
Diffstat (limited to 'src/02/05')
-rw-r--r--src/02/05/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/02/05/README.md b/src/02/05/README.md
new file mode 100644
index 0000000..e1ad8da
--- /dev/null
+++ b/src/02/05/README.md
@@ -0,0 +1,3 @@
+Create a subclass of `BinaryTree` whose nodes have fields for storing preorder, post-order, and in-order numbers.
+Write methods `preOrderNumber()`, `inOrderNumber()`, and `postOrderNumbers()` that assign these numbers correctly.
+These methods should each run in `O(n)` time.