Module outline:📋 Module Topics🎯 Student Learning Outcomes
COP3530 — Data Structures

Binary Trees: Structure, Traversal, and Operations

This module explores the foundations of binary trees and binary search trees (BSTs), from core terminology and node anatomy to insertion, deletion, and traversal algorithms. Learners will build conceptual understanding alongside hands-on JavaScript implementation skills.

Module Artifacts — 9 items

Module Topics .json

A structured outline of the module's core topics — covering binary tree fundamentals (nodes, edges, root), tree anatomy, BST ordering and node structure, insertion and search logic with JavaScript implementation, and tree traversal methods — used by learners to preview what will be taught and by instructors to verify full curriculum coverage.

Topic Detail .html

This reading introduces the definition, terminology (root, parent, child, leaf), and structural rules of binary trees, giving learners the conceptual foundation needed before studying algorithms or specialized tree variants.

Topic Detail .html

This reading explains the anatomy of a binary tree at the node level — covering pointer structure, left/right child relationships, and how nodes link together — so learners can reason precisely about tree construction and manipulation.

Topic Detail .html

This reading defines the Binary Search Tree ordering property (left subtree holds smaller values, right holds larger), distinguishing BSTs from general binary trees, so learners understand the invariant that makes BST operations efficient.

Topic Detail .html

This reading walks through how insertion and search operations work in a BST by following the ordering invariant at each node, helping learners understand the recursive logic and efficiency of these two core operations.

Topic Detail .html

This reading covers the three cases of BST node deletion — leaf node, one-child node, and two-child node (using in-order successor/predecessor) — so learners understand how to remove nodes without violating the BST ordering property.

Topic Detail .html

This reading surveys tree traversal strategies — including in-order, pre-order, post-order, and level-order — explaining the visit sequence each produces and when each strategy is appropriate for a given task.

Topic Detail .html

This reading guides learners through a complete from-scratch JavaScript implementation of a BST, including class and node structure and recursive algorithms, so they can translate conceptual BST knowledge into working code.

Text Content .html

This reading guides learners through a complete from-scratch JavaScript implementation of a BST, including class and node structure and recursive algorithms, so they can translate conceptual BST knowledge into working code.

Topics & Learning Outcomes

View Topics & Learning Outcomes