LeetCode 练题 【四周突击计划】

第一周

第一天:

1 https://leetcode-cn.com/problems/subarray-sum-equals-k/          ------前缀和

1 https://leetcode-cn.com/problems/count-number-of-nice-subarrays/        ------动态规划

第二天:

1 https://leetcode-cn.com/problems/longest-well-performing-interval/        ------前缀和 + 单调栈 (未完成,仅完成暴力求解)

1 https://leetcode-cn.com/problems/next-greater-element-ii/          ------单调栈

第三天:

https://leetcode-cn.com/problems/short-encoding-of-words/

1 https://leetcode-cn.com/problems/corporate-flight-bookings/          ------差分,然后前缀和

第四天:

https://leetcode-cn.com/problems/permutation-in-string/          ------滑动窗口

1 https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/          ------动态规划

第五天:

1 https://leetcode-cn.com/problems/restore-ip-addresses/          ------回溯, DFS

1 https://leetcode-cn.com/problems/peeking-iterator/          ------设计题,迭代器

第二周

第一天

1 https://leetcode-cn.com/problems/number-of-provinces/          ------DFS

https://leetcode-cn.com/problems/graph-connectivity-with-threshold/solution/c-bing-cha-ji-by-teresai-2-85xx/          ------并查集

第二天

https://leetcode-cn.com/problems/shortest-path-with-alternating-colors/

https://leetcode-cn.com/problems/open-the-lock/

第三天:

https://leetcode-cn.com/problems/solve-the-equation/

https://leetcode-cn.com/problems/find-all-anagrams-in-a-string/

第四天:

https://leetcode-cn.com/problems/koko-eating-bananas/

https://leetcode-cn.com/problems/iterator-for-combination/

第五天:

https://leetcode-cn.com/problems/design-underground-system/

https://leetcode-cn.com/problems/partition-labels/

第三周

第一天:

https://leetcode-cn.com/problems/task-scheduler/

https://leetcode-cn.com/problems/jump-game/

第二天:

https://leetcode-cn.com/problems/replace-words/

https://leetcode-cn.com/problems/design-add-and-search-words-data-structure/

第三天

https://leetcode-cn.com/problems/brick-wall/

https://leetcode-cn.com/problems/game-of-life/

第四天

https://leetcode-cn.com/problems/daily-temperatures/

https://leetcode-cn.com/problems/max-consecutive-ones-iii/

第五天

https://leetcode-cn.com/problems/divide-two-integers/

https://leetcode-cn.com/problems/group-anagrams/

第四周

第一天

https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/

https://leetcode-cn.com/problems/replace-the-substring-for-balanced-string/

第二天

https://leetcode-cn.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters/

https://leetcode-cn.com/problems/word-search/

第三天

https://leetcode-cn.com/problems/prison-cells-after-n-days/

https://leetcode-cn.com/problems/minimum-area-rectangle/

第四天

https://leetcode-cn.com/problems/longest-palindromic-subsequence/

https://leetcode-cn.com/problems/as-far-from-land-as-possible/

第五天

https://leetcode-cn.com/problems/decrease-elements-to-make-array-zigzag/

https://leetcode-cn.com/problems/queue-reconstruction-by-height/

第五周

第一题:

https://leetcode-cn.com/problems/queens-that-can-attack-the-king/

第二题:

https://leetcode-cn.com/problems/minimum-number-of-frogs-croaking/

第三题:

https://leetcode-cn.com/problems/substring-with-concatenation-of-all-words/

你可能感兴趣的:(LeetCode 练题 【四周突击计划】)