Professional Documents
Culture Documents
(Materi) - Pohon - Biner
(Materi) - Pohon - Biner
Penyelesaiannya
Soal
1. Tentukan root masing masing tree
2. Tentukan leaf masing masing tree
3. Rubahlah menjadi binary tree
4. Tentukan Height dan Width
5. Bentuklah 3 aktifitas dalam binary tree :
- Pre order
- In order
- Post order
6. Binary Tree Traversal (Gabungan)
Tree 1
Jawaban
1. Root tree 1 = A1
2. Leaf tree 1 = (A4,A5,A6)
3. Binary Tree
4. Height dan Width
Tree 1 : Height = 4, Width = 3