LC101 Binary Tree check Symmetry
LC101 Binary Tree Symmetry几种方法:1)recursively compare two mirror trees, check if corresponding element is equal.2) Using Stacks,(use list to append and pop, not memory efficient; use collections.de...
原创
2019-09-26 04:28:50 ·
147 阅读 ·
0 评论