summaryrefslogtreecommitdiff
path: root/src/test/TreeTraversalTest.java
AgeCommit message (Collapse)Author
2019-03-22In-order and pre-order binary tree traversal doneHaidong Ji
I worked this out myself, using iterative approach instead of recursive to avoid stack overflow issues. Post-order traversal not done yet. I'll likely follow pseudo code from this wiki page to get that done: https://en.wikipedia.org/wiki/Tree_traversal