中等
共 142 篇文章
leetcode473. 火柴拼正方形
暂无摘要...
leetcode22. 括号生成
暂无摘要...
leetcode200. 岛屿数量
暂无摘要...
leetcode611. 有效三角形的个数
暂无摘要...
leetcode33. 搜索旋转排序数组
暂无摘要...
leetcode946. 验证栈序列
暂无摘要...
leetcode236. 二叉树的最近公共祖先
分析如果当前结点 root 等于 NULL,则直接返回 NULL如果 root 等于p或者q ,那这棵树一定返回p或者q3.然后递归左右子树,因为是递归,使用函数后可认为左右子树已经算出结果,用 left和right 表示此时若left为空,那最终结果只要看right;若right 为空,那最终结果
leetcode179. 最大数
暂无摘要...
剑指 Offer 26. 树的子结构
暂无摘要...
leetcode429. N 叉树的层序遍历
暂无摘要...