Delete in binary search tree


Can you correct this code

your is code has no compilation error

In this question you have to take n inputs and store in bst
and then instead of deleting only one key you have to delete m elements
and there are t testcases also
check the question input and output format