|
33 | 33 | * [Stack](#stack-已全部做完)
|
34 | 34 | * [Tree](#tree)
|
35 | 35 | * [Dynamic programming](#dynamic-programming)
|
| 36 | +* [Backtracking](#backtracking-已全部做完) |
36 | 37 | * [Depth-first search](#depth-first-search)
|
37 | 38 | * [Breadth-first Search](#breadth-first-search)
|
38 | 39 | * [Binary Search](#binary-search)
|
|
1286 | 1287 |
|
1287 | 1288 | ## Two Pointers (已全部做完)
|
1288 | 1289 |
|
| 1290 | + |
| 1291 | + |
1289 | 1292 | | Title | Solution | Difficulty | Time | Space |收藏|
|
1290 | 1293 | | ----- | :--------: | :----------: | :----: | :-----: | :-----: |
|
1291 | 1294 | |[3. Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters)| [Go](https://github.com/halfrost/LeetCode-Go/tree/master/Algorithms/0003.%20Longest%20Substring%20Without%20Repeating%20Characters)| Medium | O(n)| O(1)||
|
|
1336 | 1339 | |[986. Interval List Intersections](https://leetcode.com/problems/interval-list-intersections)| [Go](https://github.com/halfrost/LeetCode-Go/tree/master/Algorithms/0986.%20Interval%20List%20Intersections)| Medium | O(n)| O(1)||
|
1337 | 1340 | |[992. Subarrays with K Different Integers](https://leetcode.com/problems/subarrays-with-k-different-integers)| [Go](https://github.com/halfrost/LeetCode-Go/tree/master/Algorithms/0992.%20Subarrays%20with%20K%20Different%20Integers)| Hard | O(n)| O(n)
|
1338 | 1341 | |[1004. Max Consecutive Ones III](https://leetcode.com/problems/max-consecutive-ones-iii)| [Go](https://github.com/halfrost/LeetCode-Go/tree/master/Algorithms/1004.%20Max%20Consecutive%20Ones%20III)| Medium | O(n)| O(1)
|
1339 |
| - |
1340 |
| - |
1341 |
| - |
1342 |
| - |
| 1342 | +|[1093. Statistics from a Large Sample](https://leetcode.com/problems/statistics-from-a-large-sample)| [Go](https://github.com/halfrost/LeetCode-Go/tree/master/Algorithms/1093.%20Statistics%20from%20a%20Large%20Sample)| Medium | O(n)| O(1) |
1343 | 1343 | |-----------------------------------------------------------------|-------------|-------------| --------------------------| --------------------------|-------------|
|
1344 | 1344 |
|
1345 | 1345 |
|
1346 | 1346 | ## Linked List (已全部做完)
|
1347 | 1347 |
|
| 1348 | + |
| 1349 | + |
| 1350 | + |
1348 | 1351 | - 巧妙的构造虚拟头结点。可以使遍历处理逻辑更加统一。
|
1349 | 1352 | - 灵活使用递归。构造递归条件,使用递归可以巧妙的解题。不过需要注意有些题目不能使用递归,因为递归深度太深会导致超时和栈溢出。
|
1350 | 1353 | - 链表区间逆序。第 92 题。
|
|
1393 | 1396 |
|
1394 | 1397 | ## Stack (已全部做完)
|
1395 | 1398 |
|
| 1399 | + |
| 1400 | + |
| 1401 | + |
1396 | 1402 | | Title | Solution | Difficulty | Time | Space |收藏|
|
1397 | 1403 | | ----- | :--------: | :----------: | :----: | :-----: | :-----: |
|
1398 | 1404 | |[20. Valid Parentheses](https://leetcode.com/problems/valid-parentheses)| [Go](https://github.com/halfrost/LeetCode-Go/tree/master/Algorithms/0020.%20Valid-Parentheses)| Easy | O(log n)| O(1)||
|
|
1513 | 1519 | |-----------------------------------------------------------------|-------------|-------------| --------------------------| --------------------------|-------------|
|
1514 | 1520 |
|
1515 | 1521 |
|
| 1522 | +## Backtracking (已全部做完) |
1516 | 1523 |
|
| 1524 | + |
| 1525 | + |
| 1526 | + |
| 1527 | +| Title | Solution | Difficulty | Time | Space |收藏| |
| 1528 | +| ----- | :--------: | :----------: | :----: | :-----: | :-----: | |
| 1529 | + |
| 1530 | + |
| 1531 | + |
| 1532 | +|-----------------------------------------------------------------|-------------|-------------| --------------------------| --------------------------|-------------| |
1517 | 1533 |
|
1518 | 1534 |
|
1519 | 1535 | ## Depth-first Search
|
|
1679 | 1695 |
|
1680 | 1696 | ## Sort (已全部做完)
|
1681 | 1697 |
|
| 1698 | + |
| 1699 | + |
1682 | 1700 | - 深刻的理解多路快排。第 75 题。
|
1683 | 1701 | - 链表的排序,插入排序(第 147 题)和归并排序(第 148 题)
|
1684 | 1702 | - 桶排序和基数排序。第 164 题。
|
|
0 commit comments