1. Introduction
Module 6: Tree
Author: YP
Learning Objectives
After completing this module, students are expected to be able to:
- Explain the basic
conceptsconcept of aBinaryTree as a non-linear data structure. - Identify the differences between root, parent, child, leaf, and
Binary Search Tree (BST)subtree. - Implement
basic operations on BST:insert, search, delete. Understand and perform varioustraversalTraversal methods: Inorder, Preorder, Postorder, and Level Order.RecognizeUnderstand theuserole ofstd::mapStack andstd::setQueueasinimplementationstraversal algorithms.- Apply the concept of
aTreesbalancedtoBSTreal-world(Red-BlackcasesTree)in daily life.