Skip to main content
ICT
Lesson AB30 - Binary Search Trees
 
Main   Previous Next
 

AB30 Introduction page 1 of 15

A binary tree is a different kind of data structure that demands new terminology and algorithms. A binary tree node will have two pointers available for linking with other nodes, resulting in diagrams that look like inverted trees. A binary tree will begin with one node at the top and branch out below. As you might expect, the potential of going one of two different ways leads to some challenging programming problems. In fact, the idea of trying one direction and then backtracking naturally leads to recursion.

The key topics for this lesson are:

  1. Binary Tree Vocabulary
  2. Building a Binary Tree
  3. Shape of a Binary Tree
  4. Inorder Tree Traversal
  5. Preorder and Postorder Tree Traversals
  6. Counting the Nodes in a Tree
  7. Searching a Binary Tree
  8. Deletion from a Binary Tree
  9. deleteTargetNode Method
Main   Previous Next
Contact
 © ICT 2006, All Rights Reserved.