Part 6
Trees
33lessons3 h 32 min0done
A tree is a hierarchical structure where data starts at a root and branches out. Folders, the chapters of a book, a company's org chart and the expressions a compiler reads all have the shape of a tree.
The part starts with the basic terms, then codes the binary tree first with an array and then with linked nodes: insertion, preorder, inorder, postorder and level order. Then it covers the binary search tree with both structures, explains tree applications and ends with exam questions.