2021-03-24 Leetcode-456 - 简书 (jianshu.com)[https://www.jianshu.com/p/3d143dbca16b]2021-...

IP属地:江苏
2021-03-24 Leetcode-456 - 简书 (jianshu.com)[https://www.jianshu.com/p/3d143dbca16b]2021-...
739. 每日温度[https://leetcode-cn.com/problems/daily-temperatures/] 思路:维护一个单调栈方法:新建一个数组存放等待...
456.132模式[https://leetcode-cn.com/problems/132-pattern/] 思路:维护一个单调栈.方法: 从后向前遍历nums,维护一个...
1801.积压订单中的订单总数[https://leetcode-cn.com/problems/number-of-orders-in-the-backlog/] 思路:维...
由于HashMap->Map->Collection->Iterable iterator() (jdk1.8后)forEach() Performs the given a...
15.三数之和[https://leetcode-cn.com/problems/3sum/] 想了两个方法。第一个超时,第二个侥幸过关但是用时和内存都消耗过多,以后再来改进...
反转链表 II[https://leetcode-cn.com/problems/reverse-linked-list-ii/] 思路:遍历链表,使在反转范围内的节点依次插...
https://leetcode-cn.com/problems/container-with-most-water/[https://leetcode-cn.com/pro...