DFS Postorder

Category: Trees & BSTs

Difficulty: beginner

Description: Visit left, right, then root

Time Complexity: O(n)

Space Complexity: O(h)

Related LeetCode Problems