当前位置:网站首页>LeetCode-101. Symmetric Tree
LeetCode-101. Symmetric Tree
2022-08-10 15:36:00 【51CTO】
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree [1,2,2,3,4,4,3] is symmetric:
But the following [1,2,2,null,3,null,3] is not:
Note:
Bonus points if you could solve it both recursively and iteratively.
题解:
边栏推荐
- 【21天学习挑战赛】直接选择排序
- Chapter one module of the re module,
- IPC:Interrupts and Signals
- 电商秒杀项目收获(二)
- 十年架构五年生活-09 五年之约如期而至
- "NIO Cup" 2022 Nioke Summer Multi-School Training Camp 7
- JVM学习——2——内存加载过程(类加载器)
- fastposter v2.9.1 programmer must-have poster generator
- JS entry to proficient full version
- Allwinner V853 development board transplants LVGL-based 2048 games
猜你喜欢
随机推荐
An ABAP tool that can print the browsing history of a user in the system for BSP applications
Detailed understanding of anonymous functions and all built-in functions (Part 2)
华为云DevCloud获信通院首批云原生技术架构成熟度评估的最高级认证
Detailed understanding of all built-in functions (Part 2)
企业如何开展ERP数据治理工作?_光点科技
scala 10种函数高级应用
全部内置函数详细认识(中篇)
Introduction to the Internet (2)
SWIG Tutorial "One"
为什么中国的数字是四位一进,而西方的是三位一进?
Basic learning of XML
const修饰的指针变量(详解)
匿名函数和全部内置函数详细认识(下篇)
Meaning and names of 12 nautical miles, 24 nautical miles and 200 nautical miles
社区动态——恭喜海豚调度中国区用户组新晋 9 枚“社群管理员”
腾讯云TDP-对象存储COS产品新用户福利
[Letter from Wu Enda] The development of reinforcement learning!
Ameya360成为稳先微电子中国区域授权代理!
多线程面试指南
Data Types and Integer Storage









