LeetCode
Boundary of Binary Tree
Click
here
for an explanation.