1. Balanced Binary Treehistorical

    Record a method for determining whether a binary tree is balanced by comparing subtree heights and recursively checking both subtrees.

  2. Lowest Common Ancestor of a Binary Treehistorical

    LeetCode notes on finding the lowest common ancestor in a binary tree.

  3. Mirror of a Binary Treehistorical

    Record recursive, stack-based, and queue-based methods for generating the mirror of a binary tree by swapping left and right subtrees.

  4. Diameter of Binary Treehistorical

    LeetCode notes on calculating the diameter of a binary tree.

  5. Print a Binary Tree in Multiple Lineshistorical

    Record a queue-based method that uses end-of-line pointers to print a binary tree level by level, one line per level.

  6. Lowest Common Ancestor Nodehistorical

    Notes on finding the lowest common ancestor of two nodes in a binary tree.

  7. Print a Binary Tree in Zigzag Orderhistorical

    Record a zigzag traversal method by reversing alternating rows after level-order traversal.

  8. Merge Two Binary Treeshistorical

    LeetCode notes on merging two binary trees.

  9. Substructure of a Treehistorical

    Record a preorder-recursive matching method for determining whether one binary tree is a substructure of another.

  10. Symmetric Treehistorical

    LeetCode notes on checking whether a binary tree is mirror-symmetric.