three test case are not passing
Delete from bst
@shampblocks
hello shubham,
![]()
in this line u forgot to update head node.
it should be
head=insert(head,x);
but sir when i am opening my link its showing head is there why head is not there in your screenshot??
the link u shared was not opening , so i checked ur submission history and found this bug
yess in that case i have updated it after updation i am still getting error thats why i uploaded it as a doubt??
try again,
it is working fine from my side

try this one
it first gave wrong anser then after changing head in this code because head was not updated it is giving correct although the code is same why previously not giving correct??
maybe some server isuue
ohk sir thanks…
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.
