Author: Takdir, S.ST. © Sekolah Tinggi Ilmu Statistik
Ordered Tree: The sequence of node is important Ordered Tree: The sequence of node is important Unordered Tree: The sequence of node is not important Unordered Tree: The sequence of node is not important Equal Tree: if two unordered trees have the same subsets, then they are equal; but as ordered trees, they won’t be equal unless their equal subtrees are in the same order. Equal Tree: if two unordered trees have the same subsets, then they are equal; but as ordered trees, they won’t be equal unless their equal subtrees are in the same order. Author: Takdir, S.ST. © Sekolah Tinggi Ilmu Statistik
A binary tree is an ordered tree in which every internal node has degree 2 (left sub tree and right sub tree) A binary tree is an ordered tree in which every internal node has degree 2 (left sub tree and right sub tree) An empty left sub tree is different from an empty right sub tree. An empty left sub tree is different from an empty right sub tree. Complete Binary Tree: Either a full binary tree or one that is full except for a segment of missing leaves on the right side of the bottom level. Complete Binary Tree: Either a full binary tree or one that is full except for a segment of missing leaves on the right side of the bottom level. Forest: Sequence of disjoint ordered trees. Forest: Sequence of disjoint ordered trees. Author: Takdir, S.ST. © Sekolah Tinggi Ilmu Statistik
Unequal Ordered Tree: Unequal Binary Tree:
Author: Takdir, S.ST. © Sekolah Tinggi Ilmu Statistik Complete binary trees:
Author: Takdir, S.ST. © Sekolah Tinggi Ilmu Statistik
mlow = smallest key in the M (middle) subtree rlow = smallest key in the R (right) subtree
Author: Takdir, S.ST. © Sekolah Tinggi Ilmu Statistik Five-Way Search Tree
Author: Takdir, S.ST. © Sekolah Tinggi Ilmu Statistik