CCExtractor Development
(XII) [winnerstrack] Python: Advanced Python debugger (binary tree support)
This task should only be attempted if you've done the previous one in the series.
We're going to add support to a few super typical data structures - as well as we can (this is not really easy). Let's see how far we can get.
As you can see, they are quite simple - basically they have a left node, a right node, and a value, for each for the nodes. Typically you always keep a reference to the root node so you can traverse the tree.
Your job is to allow your system to draw the tree either from the root node or from the node a variable currently contains.
Task tags
Students who completed this task
Knob