Microsoft interview question

Remove target node from a binary search tree