LeetCode
Insert into a Binary Search Tree
Click
here
for an explanation.