hello @kartik-malik
here it should be root=deleteInBst(root,x)
now only no 0 test case right all other are wrong