Concept Flow - Check if Two Trees are Symmetric
Start with root nodes of both trees
Are both nodes null?
Yes→Return True
No
Is one node null?
Yes→Return False
No
Do node values match?
No→Return False
Yes
Recursively check left subtree of first with right subtree of second
Recursively check right subtree of first with left subtree of second
Return True if both recursive checks are True
End
The flow compares nodes of two trees step-by-step to check if they are mirror images, returning false on mismatch or null asymmetry.