Oracle interview question

A dynamic programming question to implement and delete a node in a Binary Search Tree (BST),