Skip to content

Milestone 6: Non-Linear Structures (Trees)

🟦 Milestone 6: Non-Linear Structures (Trees)

Most data in the real world isn’t a straight line. It’s a hierarchy. From family trees to folder structures, Trees allow us to represent branching logic and achieve logarithmic speed.

πŸ“š Slow-Paced Deep Dives (University Modules)

πŸ₯… Milestone Goals

  1. Identify the Root, Leaf, and Internal Nodes of a tree.
  2. Implement Tree Traversal (In-order, Pre-order, Post-order).
  3. Contrast a standard Tree with a Binary Search Tree (BST).
  4. Perform a search operation on a BST.

:::tip Real World Use Your computer’s File System is a tree. The DOM (Document Object Model) that represents a webpage is a tree. Even the AI models you use have tree-based logic! :::