原文:[LeetCode] 951. Flip Equivalent Binary Trees 翻转等价二叉树

For a binary tree T, we can define a flip operation as follows: choose any node, and swap the left and right child subtrees. A binary tree Xisflip equivalentto a binary tree Y if and only if we can m ...

2020-07-02 15:00 0 881 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM