LeetCode
Binary Tree Paths
Click
here
for an explanation.