Data Structures: Binary Trees - ISC Class 12 Computer Science Notes, Diagrams and Solved Questions

Understand binary trees as a concept: root, internal and external nodes, siblings, subtrees, degree, size, level, depth and height, and the pre-order, in-order and post-order traversals worked by hand.

In this chapter

  • Define a binary tree recursively
  • Identify the root, internal nodes, leaves, parents, children and siblings
  • Find the degree of a node and the size of a subtree
  • Work out the level, depth and height of nodes and of the tree
  • Traverse a tree in pre-order
  • Traverse a tree in in-order
  • Traverse a tree in post-order