LeetCode
Univalued Binary Tree
Click
here
for an explanation.