LeetCode
Split BST
Click
here
for an explanation.