Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 3.22 KB

README.md

File metadata and controls

43 lines (32 loc) · 3.22 KB

leetcode-chatgpt

LeetCode 心法口诀

这个项目是一个 LeetCode 解法的代码仓库,其中包含了作者用 chatGPT 实现的各种 LeetCode 问题的解法和思路。

它的优势在于,它是一个学习 LeetCode 的心法口诀的仓库。

它把题目的考察点和解法的思路都记录下来了,这样你就可以在学习 LeetCode 的时候,把这些心法口诀记住,然后在面试的时候,就可以用这些心法口诀来解决问题了。

他强由他强 清风拂山岗
他横任他横 明月照大江

复习指南

如果你有1天时间复习,建议你先复习以下这些题目:

  • 数组:1,11,26,27,35,53,66,88,121,189,283,414
  • 链表:2,21,23,24,61,83,141,206,876
  • 栈和队列:20,155,232,496,739
  • 树:94,98,100,101,102,104,144,145,226,297,404
  • 字符串:3,5,6,14,28,38,49,76,344,387
  • 排序和搜索:33,34,50,56,57,75,153,162,215,240,278,300,349,378,973
  • 动态规划:53,70,121,198,213,279,300,322,509,518,647,714

如果你有1周时间复习,建议你在上述题目的基础上,再复习以下这些题目:

  • 数组:15,16,42,48,54,59,73,189,238,283,289,442
  • 链表:19,25,61,82,92,138,142,160,203,234,328,876
  • 栈和队列:71,84,155,232,394,496,503,739,862
  • 树:105,108,110,111,112,129,230,236,404,450,543,572,617,814
  • 字符串:8,12,17,22,43,67,125,151,165,344,383,647
  • 排序和搜索:56,57,75,128,162,215,240,274,275,324,349,378,973
  • 动态规划:5,53,62,64,72,91,120,152,198,213,279,300,322,509,518,647,714

如果你有1个月时间复习,建议你在上述题目的基础上,再复习以下这些题目:

  • 数组:4,26,27,31,33,34,35,41,48,53,54,55,56,57,59,66,73,75,88,105,121,122,123,128,153,162,169,189,209,215,238,240,268,283,289,300,324,349,378,414,442,448,973
  • 链表:2,19,21,23,24,25,61,82,83,92,138,141,142,160,203,206,234,328,876
  • 栈和队列:20,71,84,94,155,232,394,496,503,739,862
  • 树:94,98,99,100,101,102,104,105,108,110,111,112,129,144,145,173,199,230,236,257,404,450,543,572,589,617,623,662,814
  • 字符串:3,5,6,8,10,12,13,14,17,22,28,30,32,38,43,44,49,58,67,76,125,151,165,186,187,242,344,383,387,415,647
  • 排序和搜索:23,33,34,35,50,56,57,59,62,75,128,130,136,139,153,162,169,215,240,253,274,275,279,287,300,315,324,349,354,378,394,414,435,436,438,448,451,456,480,493,494,540,658,973
  • 动态规划:5,10,44,53,62,64,70,72,91,96,97,120,121,123,132,139,152,174,188,198,213,221,264,265,279,300,322,338,343,368,413,416,446,474,486,494,509,518,523,546,552,583,600,629,647,664,714,740,746