https://leetcode-cn.com/problems/sliding-window-maximum/[https://leetcode-cn.com/proble...
![240](https://cdn2.jianshu.io/assets/default_avatar/5-33d2da32c552b8be9a0548c7a4576607.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
https://leetcode-cn.com/problems/sliding-window-maximum/[https://leetcode-cn.com/proble...
https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array/[https://leetcode...
https://leetcode-cn.com/problems/binary-tree-maximum-path-sum/[https://leetcode-cn.com/...
88. 合并两个有序数组[https://leetcode-cn.com/problems/merge-sorted-array/] 这个竟然写不过,各种边界条件弄不对。看看...
https://leetcode-cn.com/problems/binary-tree-right-side-view/[https://leetcode-cn.com/p...
https://leetcode-cn.com/problems/largest-rectangle-in-histogram/[https://leetcode-cn.co...
https://leetcode-cn.com/problems/generate-parentheses/[https://leetcode-cn.com/problems...
https://leetcode-cn.com/problems/maximum-subarray/[https://leetcode-cn.com/problems/max...
https://leetcode-cn.com/problems/longest-increasing-subsequence/[https://leetcode-cn.co...
题目描述 https://leetcode-cn.com/problems/unique-binary-search-trees/ 代码 是个dp哦,自己独立写出来的,找到了...
题目描述 https://leetcode-cn.com/problems/distribute-coins-in-binary-tree/ 思路 这个思路我没想出来,喵了一...
题目描述 https://leetcode-cn.com/problems/unique-paths/ 思路 我看到这个题一下子想到的思路是组合数,这不就是初中数学的填空题嘛...
题目描述 98. 验证二叉搜索树[https://leetcode-cn.com/problems/validate-binary-search-tree/] 思路 这个题思...
题目描述 409. 最长回文串 思路 题目不难,就是所有的坑我都踩进去了。"abccccdd" -> a: 1, b:1, d:2, c:4我的思路是 偶数个数的直接相加,然...
题目 11. 盛最多水的容器 思路 我一开始写的暴力,时间复杂度O(n2)的那种,超时。原来可以O(n)解决的。直接看答案的思路:https://leetcode-cn.co...
题目 322. 零钱兑换 思路 参考链接举个例子吧,coins = [1,3,5], amount = 11。使用最少数目的硬币凑够11元(用函数F(11)表示),有三种方案...
题目描述 https://leetcode-cn.com/problems/binary-tree-paths/ 思路 回溯第一题~~~~果然脑子转不过弯,但是呢呢给讲了下我...
首先来复习一下三种遍历方式 所谓二叉树的遍历,是指按照一定的搜索路径将树的所有结点访问且仅访问一次。按照根结点何时被访问,可以分为先序、中序和后序三种遍历算法.主要区别在于 ...
题目描述 https://leetcode-cn.com/problems/symmetric-tree/ 思路 递归的难点在于:找到可以递归的点 为什么很多人觉得递归一看就...