Bottom-Up DFS

Core Skill

Problems

Pattern

return 1 + max(left, right)