DFS Inorder

Category: Trees & BSTs

Difficulty: beginner

Description: Visit left, root, then right subtree

Time Complexity: O(n)

Space Complexity: O(h)

Related LeetCode Problems