当前位置:网站首页>LeetCode-101. Symmetric Tree
LeetCode-101. Symmetric Tree
2022-08-10 16:03: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.
题解:
边栏推荐
猜你喜欢
fuse简介
E-commerce spike project harvest (2)
Community News——Congratulations to Dolphin Scheduling China User Group for 9 new "Community Administrators"
一文带你了解 HONOR Connect
Taurus.MVC WebAPI 入门开发教程4:控制器方法及参数定义、获取及基础校验属性【Require】。
【FreeRTOS】13 动态内存管理
Meaning and names of 12 nautical miles, 24 nautical miles and 200 nautical miles
商业智能BI行业分析思维框架:铅酸蓄电池行业(二)
推荐几款最好用的MySQL开源客户端,建议收藏!
产品说明丨如何使用MobPush快速创建应用
随机推荐
全部内置函数详细认识(中篇)
哈希表应用:只出现一次的数字
二叉树详解
【每日一题】【leetcode】26. 链表-链表中倒数第k个节点
8月Meetup | “数据调度+分析引擎”解锁企业数字化转型之路
十年架构五年生活-09 五年之约如期而至
商业版SSL证书
网络工程师的背包(EDC总结推荐)
WinUI 3 Fundamentals 5小时教学视频
scala 10种函数高级应用
10 advanced functions of scala
架构设计之一——基础架构
一文带你了解 HONOR Connect
Data Types and Integer Storage
快速申请代码签名证书方法
Colocate Join :ClickHouse的一种高性能分布式join查询模型
LeetCode-692. Top K Frequent Words
持续集成实战 —— Jenkins自动化测试环境搭建
2022 CCF中国开源大会会议通知(第四轮)
26、压缩及解压缩命令