LeetCode 979: Distribute Coins in Binary Tree
A clear explanation of balancing coins in a binary tree using postorder DFS and subtree coin balance.
4 notes
A clear explanation of balancing coins in a binary tree using postorder DFS and subtree coin balance.
A clear explanation of Binary Tree Tilt using postorder DFS to compute subtree sums and accumulate tilt.
A clear explanation of grouping binary tree nodes by the round in which they become leaves using postorder DFS.
A clear explanation of Largest BST Subtree using postorder traversal and subtree state propagation.