Available question text
Determine whether two binary trees are identical up to any number of left/right child swaps at nodes — i.e., whether you can make one tree equal to the other by flipping children. The core task is to recursively verify that node values match and each pair of subtrees can be matched either directly or after swapping.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 951. Flip Equivalent Binary Trees
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source