leetcode-209 - Minimum Size Subarray Sum

動機 與560不同他可以用sliding window prefix sum + binary search prefix sum in fly + sliding window ...

July 20, 2021 · 2 min · zhengcf

leetcode-3 - Longest Substring Without Repeating Characters

動機 複習sliding windows ...

July 16, 2021 · 1 min · zhengcf

leetcode-395 - Longest Substring with At Least K Repeating Characters

動機 搞懂調整sliding window的條件 ...

January 31, 2021 · 2 min · zhengcf

leetcode-239 - Sliding Window Maximum

動機 從sliding window到寫merge interval的變化版 ...

January 30, 2021 · 2 min · zhengcf

leetcode-438 - Find All Anagrams in a String

動機 想起優化LC 127的過程 ...

January 30, 2021 · 2 min · zhengcf

leetcode-219 - Contains Duplicate II

動機 從 數量 或 距離 ...

January 18, 2021 · 1 min · zhengcf