Some cases are failing, please tell me why

if(tnode.left!=null&&onode.left!=null){
			return structurallyIdentical(tnode.left,onode.left);
		}else if(tnode.left==null&&onode.left==null){
			return true;
		}
		
		
		if(tnode.right!=null&&onode.right!=null){
			return structurallyIdentical(tnode.right,onode.right);
		}else if(tnode.right==null&&onode.right==null){
			return true;
		}
		return false;

hi @Hardik-Bhardwaj-392610454600906
Please share your code using coding blocks ide so that i can debug your code and help you better.

Sir how to do that? can you please tell the procedure

  1. Just go to google and search coding blocks ide
  2. Copy Paste your whole code there
  3. Then go to file option and save the code and share the link here

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.