Skip to content

Latest commit

 

History

History
179 lines (156 loc) · 8.56 KB

File metadata and controls

179 lines (156 loc) · 8.56 KB

题目(基础篇)

二分法

  1. https://www.lintcode.com/problem/classical-binary-search/
  2. https://www.lintcode.com/problem/first-position-of-target/
  3. https://www.lintcode.com/problem/last-position-of-target/
  4. https://leetcode.com/problems/first-bad-version/
  5. https://www.lintcode.com/problem/search-in-a-big-sorted-array/
  6. https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
  7. https://leetcode.com/problems/search-a-2d-matrix/
  8. https://leetcode.com/problems/search-a-2d-matrix-ii/
  9. https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/
  10. https://www.lintcode.com/problem/total-occurrence-of-target/
  11. https://www.lintcode.com/problem/smallest-rectangle-enclosing-black-pixels/
  12. https://www.lintcode.com/problem/maximum-number-in-mountain-sequence/
  13. https://leetcode.com/problems/find-peak-element/
  14. https://leetcode.com/problems/search-in-rotated-sorted-array/
  15. https://www.lintcode.com/problem/recover-rotated-sorted-array/
  16. https://leetcode.com/problems/rotate-string/
  17. https://www.lintcode.com/problem/copy-books/
  18. https://leetcode.com/problems/find-k-closest-elements/

Rectangle Enclosing Black Pixels

二叉树、分治

Binary Tree Maximum Path Sum II Binary Tree Maximum Path Sum

宽度优先搜索

Word Ladder II

深度优先搜索

https://leetcode.com/problems/letter-tile-possibilities/submissions/1545815287/?envType=daily-question&envId=2025-02-17

Subsets II Word Break II

数组、连表

双指针

  1. https://leetcode.com/problems/valid-palindrome/
  1. https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/

哈希、堆

动态规划

字符串