Amazon interview question

Delete a node from a binary tree