Run time error in delete nodes from bst logic

why is my code giving run time error
logic seems to be correct but some test cases fail
pls help

hey, provide me with your code so i can help you out

https://online.codingblocks.com/app/player/62070/content/78408/5293/code-challenge

hey, i cannot look at your code, this just leads me to the contest.
save your code on ide.codingblocks.com and provide me with the link generated. only then will i be able to help you out