Subtopic 6.3
Binary Tree with Linked Nodes
8lessons46 min0done
With linked nodes every node keeps its value and two pointers: left points to the left child and right to the right child. You enter the tree at the root, and a missing child is NULL.
The operations from the array lessons are repeated in the same order with the same names. The traversals are written with recursion and level order with a queue. The last lesson compares the two versions.