![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
文章平均质量分 55
算法题
关东老樊
爱思考的码农
展开
-
leetcode:746. 使用最小花费爬楼梯
leetcode:746. 使用最小花费爬楼梯 两种解法原创 2022-06-29 18:58:17 · 120 阅读 · 1 评论 -
leetcode:300. 最长递增子序列
leetcode:300. 最长递增子序列 解法原创 2022-06-28 23:59:45 · 124 阅读 · 0 评论 -
leetcode:455. 分发饼干
leetcode:455. 分发饼干的解法原创 2022-06-27 23:00:04 · 170 阅读 · 0 评论 -
leetcode:37. 解数独
leetcode:37. 解数独的回溯解法原创 2022-06-26 21:43:18 · 164 阅读 · 0 评论 -
leetcode 51. N 皇后
N皇后c++解法原创 2022-06-25 17:55:08 · 108 阅读 · 0 评论 -
leetcode:93. 复原 IP 地址
leetcode算法题:93. 复原 IP 地址原创 2022-06-17 23:42:08 · 104 阅读 · 0 评论 -
leetcode 110.平衡二叉树
110. 平衡二叉树leetcode 110.平衡二叉树题目描述平衡二叉树:每个节点的左右两个子树的高度差的绝地址不超过1该二叉树不是平衡二叉树,不是 每个节点的左右子树高度差不超过1。递归解法每次递归结束时都是当二叉树为一个根节点,return 1+0+0;后序遍历class Solution { int getheight(TreeNode* node) { if(node ==nullptr) return 0;原创 2022-01-12 17:41:54 · 221 阅读 · 0 评论