Skip to content

Latest commit

 

History

History
112 lines (100 loc) · 5.34 KB

9c-advanced.md

File metadata and controls

112 lines (100 loc) · 5.34 KB

题目(高级篇)

Intro, 双指针

  1. https://leetcode.com/problems/minimum-size-subarray-sum/
  2. https://leetcode.com/problems/longest-substring-without-repeating-characters/
  3. https://leetcode.com/problems/minimum-window-substring/
  4. https://www.lintcode.com/problem/longest-substring-with-at-most-k-distinct-characters/
  5. https://leetcode.com/problems/remove-nth-node-from-end-of-list/
  6. https://leetcode.com/problems/middle-of-the-linked-list/
  7. https://leetcode.com/problems/linked-list-cycle/
  8. https://leetcode.com/problems/linked-list-cycle-ii/
  9. https://www.lintcode.com/problem/kth-smallest-numbers-in-unsorted-array/
  10. https://www.lintcode.com/problem/kth-largest-in-n-arrays/
  11. https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/
  12. https://www.lintcode.com/problem/kth-smallest-sum-in-two-sorted-arrays/
  13. https://leetcode.com/problems/kth-smallest-product-of-two-sorted-arrays/

并查集、字典树

  1. https://www.lintcode.com/problem/connecting-graph/
  2. https://www.lintcode.com/problem/connecting-graph-ii/
  3. https://www.lintcode.com/problem/connecting-graph-iii/
  4. https://leetcode.com/problems/number-of-islands/
  5. https://www.lintcode.com/problem/number-of-islands-ii/
  6. https://www.lintcode.com/problem/graph-valid-tree/
  7. https://leetcode.com/problems/accounts-merge/
  8. https://www.lintcode.com/problem/set-union/
  9. https://leetcode.com/problems/surrounded-regions/
  10. https://www.lintcode.com/problem/maximum-association-set/
  11. https://leetcode.com/problems/implement-trie-prefix-tree/
  12. https://leetcode.com/problems/design-add-and-search-words-data-structure/
  13. https://www.lintcode.com/problem/word-squares/
  14. https://leetcode.com/problems/word-search-ii/

堆栈

  1. https://leetcode.com/problems/trapping-rain-water/
  2. https://leetcode.com/problems/trapping-rain-water-ii/
  3. https://leetcode.com/problems/find-median-from-data-stream/
  4. https://leetcode.com/problems/sliding-window-median/
  5. https://leetcode.com/problems/min-stack/
  6. https://leetcode.com/problems/implement-queue-using-stacks/
  7. https://leetcode.com/problems/decode-string/
  8. https://leetcode.com/problems/largest-rectangle-in-histogram/
  9. https://leetcode.com/problems/maximal-rectangle/
  10. https://www.lintcode.com/problem/max-tree/

扫描线、双端队列、二分

  1. https://www.lintcode.com/problem/number-of-airplanes-in-the-sky/
  2. https://leetcode.com/problems/the-skyline-problem/
  3. https://www.lintcode.com/problem/meeting-rooms/
  4. https://www.lintcode.com/problem/meeting-rooms-ii/
  5. https://www.lintcode.com/problem/time-intersection/
  6. https://leetcode.com/problems/find-peak-element/
  7. https://leetcode.com/problems/find-a-peak-element-ii/
  8. https://leetcode.com/problems/first-bad-version/
  9. https://leetcode.com/problems/sqrtx/
  10. https://www.lintcode.com/problem/sqrtx-ii/
  11. https://www.lintcode.com/problem/wood-cut/
  12. https://www.lintcode.com/problem/copy-books/
  13. https://leetcode.com/problems/find-the-duplicate-number/
  14. https://leetcode.com/problems/maximum-average-subarray-i/
  15. https://www.lintcode.com/problem/maximum-average-subarray-ii/
  16. https://leetcode.com/problems/sliding-window-maximum/

动态规划

  1. https://leetcode.com/problems/house-robber/
  2. https://leetcode.com/problems/house-robber-ii/
  3. https://leetcode.com/problems/climbing-stairs/
  4. https://www.lintcode.com/problem/fibonacci/
  5. https://leetcode.com/problems/maximal-square/
  6. https://www.lintcode.com/problem/maximal-square-ii/
  7. https://leetcode.com/problems/unique-paths/
  8. https://leetcode.com/problems/minimum-path-sum/
  9. https://leetcode.com/problems/edit-distance/
  10. https://leetcode.com/problems/longest-continuous-increasing-subsequence/
  11. https://www.lintcode.com/problem/coins-in-a-line/
  12. https://www.lintcode.com/problem/coins-in-a-line-ii/
  13. https://www.lintcode.com/problem/coins-in-a-line-iii/
  14. https://leetcode.com/problems/stone-game/
  15. https://leetcode.com/problems/burst-balloons/
  16. https://leetcode.com/problems/scramble-string/
  17. https://leetcode.com/problems/longest-common-subsequence/
  18. https://www.lintcode.com/problem/longest-common-substring/
  19. https://leetcode.com/problems/distinct-subsequences/
  20. https://leetcode.com/problems/interleaving-string/
  21. https://www.lintcode.com/problem/k-edit-distance/
  22. https://www.lintcode.com/problem/backpack/
  23. https://www.lintcode.com/problem/backpack-ii/
  24. https://www.lintcode.com/problem/backpack-iv/
  25. https://www.lintcode.com/problem/k-sum/
  26. https://www.lintcode.com/problem/minimum-adjustment-cost/

Follow-UP

  1. https://www.lintcode.com/problem/subarray-sum/
  2. https://www.lintcode.com/problem/subarray-sum-ii/
  3. https://www.lintcode.com/problem/subarray-sum-closest/
  4. https://www.lintcode.com/problem/submatrix-sum/
  5. https://www.lintcode.com/problem/continuous-subarray-sum/
  6. https://leetcode.com/problems/maximum-subarray/
  7. https://www.lintcode.com/problem/continuous-subarray-sum-ii/
  8. https://leetcode.com/problems/kth-largest-element-in-an-array/
  9. https://www.lintcode.com/problem/wiggle-sort/
  10. https://leetcode.com/problems/wiggle-sort-ii/
  11. https://www.lintcode.com/problem/flatten-list/
  12. https://leetcode.com/problems/flatten-nested-list-iterator/
  13. https://www.lintcode.com/problem/flatten-2d-vector/
  14. https://leetcode.com/problems/binary-search-tree-iterator/