Skip to content
Abstract Data Structures and Algorithms · Semester 1

Binary Trees and Binary Search Trees

Students will explore how 'if-then-else' statements allow programs to make decisions and respond to different conditions.

Key Questions

  1. Analyse the worst-case time complexity of search, insertion, and deletion in a binary search tree, identify the degenerate input that triggers it, and explain why it is equivalent to linear search.
  2. Implement in-order, pre-order, and post-order traversals iteratively using a stack and compare the structural information each traversal exposes about the tree.
  3. Design an algorithm to verify whether a given binary tree satisfies the BST property in O(n) time and prove its correctness.

MOE Syllabus Outcomes

MOE: Programming - Middle School
Level: JC 2
Subject: Computing
Unit: Abstract Data Structures and Algorithms
Period: Semester 1

Ready to teach this topic?

Generate a complete, classroom-ready active learning mission in seconds.

Browse curriculum by country

AmericasUSCAMXCLCOBR
Asia & PacificINSGAU