Loading tutorials
value and a list of children.2 min readNode class from earlier chapters, with a value and a list of children. It also assumes you know what a parent, a child, and a leaf are.2 min readNode class used earlier in this tutorial, where each node holds a value and a list of children.2 min readheight and depths functions from earlier chapters. It covers why two correct sources can give different numbers for the same tree, and how to convert between them.2 min readNode class and the recursive height and depths functions from earlier chapters. It also assumes you use the edge-counting convention, where a leaf has height 0.2 min read