2021-03-24 Leetcode-456 - 簡(jiǎn)書(shū) (jianshu.com)[http://www.reibang.com/p/3d143dbca16b]2021-...
![240](https://cdn2.jianshu.io/assets/default_avatar/2-9636b13945b9ccf345bc98d0d81074eb.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
2021-03-24 Leetcode-456 - 簡(jiǎn)書(shū) (jianshu.com)[http://www.reibang.com/p/3d143dbca16b]2021-...
739. 每日溫度[https://leetcode-cn.com/problems/daily-temperatures/] 思路:維護(hù)一個(gè)單調(diào)棧方法:新建一個(gè)數(shù)組存放等待...
456.132模式[https://leetcode-cn.com/problems/132-pattern/] 思路:維護(hù)一個(gè)單調(diào)棧.方法: 從后向前遍歷nums议惰,維護(hù)一個(gè)...
1801.積壓訂單中的訂單總數(shù)[https://leetcode-cn.com/problems/number-of-orders-in-the-backlog/] 思路:維...
由于HashMap->Map->Collection->Iterable iterator() (jdk1.8后)forEach() Performs the given a...
15.三數(shù)之和[https://leetcode-cn.com/problems/3sum/] 想了兩個(gè)方法。第一個(gè)超時(shí),第二個(gè)僥幸過(guò)關(guān)但是用時(shí)和內(nèi)存都消耗過(guò)多,以后再來(lái)改進(jìn)...
反轉(zhuǎn)鏈表 II[https://leetcode-cn.com/problems/reverse-linked-list-ii/] 思路:遍歷鏈表,使在反轉(zhuǎn)范圍內(nèi)的節(jié)點(diǎn)依次插...
https://leetcode-cn.com/problems/container-with-most-water/[https://leetcode-cn.com/pro...