Memory Limit Exceeded

Please help it says Memory limit exceeded for 3 cases…

code:-> https://ide.codingblocks.com/s/676161

hi @yamangoyal100_ff74db54bdf01539,
root = Delete(root,arr2[j]); // root = func missing

u need to update the root also

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.