Binary Tree Problems:

  • Deserialize a tree from a breadth first array
  • Check if two trees are the same
  • Check if a tree has a subtree in it
  • Find the depth of a tree
  • Serialize the a tree to a breadth first array
  • Flip a binary tree

Open Questions:

  • Why do we need binary trees?
  • Where are these actually used?
  • Can this be applied to LEGO?
  • What about running?

Next todo:

Week of Feb 10. Focus: Binary Trees

  • level order parsing of a binary tree

Subtree of Another Tree

Before solving this one solve SAME TREE

Same Tree