Please check the code its failing tcs
Hey @sneha23
for(int i=1;i<=h;i++){
if(i%2!=0){printlevel(root,i);}
else{
printlevel2(root,i); //level2 fucntion here
}
}
Hey @sneha23
for(int i=1;i<=h;i++){
if(i%2!=0){printlevel(root,i);}
else{
printlevel2(root,i); //level2 fucntion here
}
}