If you've stared at a binary tree problem, written dfs(root.left) and dfs(root.right) without really knowing why it works, this one's for you.
If you've stared at a binary tree problem, written dfs(root.left) and dfs(root.right) without really knowing why it works, this one's for you.
Top comments (0)