Deleting nodes from BST

Why is test case not passing, although sample case is giving correct output
https://ide.codingblocks.com/s/59137

Hi Akshay, you didn’t had to sort the given array before constructing the BST. The BST is to be constructed in the given sequence only. I have modified the BST construct function and now the code works fine. You can refer to it here https://ide.codingblocks.com/s/60751.