Subtopic 6.6
Tree Applications
3lessons20 min0done
This subtopic covers three uses of trees that come up often in exams and in real programs. An expression tree keeps an arithmetic expression the way a compiler sees it.
Rebuilding a tree from its traversals is an exam favourite. General trees show how to keep nodes with more than two children using binary tree nodes.