Plz look at the code at tell .
Looks like in left node data is not getting stored
Hey @udipt
you have an extra semicolon after the if condition
if( in[i] == data );
in this loop:
for(int i=ilo;i<=ihi;i++){
if(in[i]==data);
{
idx=i;
break;
}
}
remove that .
if this solves your doubt please mark it as resolved 