Binary Trees

Types of techniques:

  1. Height of the tree

  2. Maximum Width/ Diamater of tree

    1. Handling binary tree problems with imaginary node by indexing

    2. Counting Nodes

  3. Lowest Common Ancestor (LCA)

  4. Path Sum

  5. Children Sum Property

  6. Breadth First Search

    1. BFS with parent node

      1. Nodes at Distance K

      2. Time taken to infect

  7. Vertical Order Traversal

  8. Symmetrics / Mirror Like Binary Trees

  9. Constructing Unique Binary Tree

    1. NOTE: Cannot construct BT based on only preorder and postorder

Bookmarks

Last updated

Was this helpful?