截止至今LeetCode题目总量已经有1582题,估计将来每年平均增长300题左右,大部分人肯定是刷不完的,所以得有选择地刷LeetCode。
一种公认的刷题策略是按类别刷题,可是每个类别也有许多题,在有限的时间里到底该刷哪些题呢?个人根据LeetCode官方给出的每个题目的出现频率,整理并收录了每个类别里高频出现的题目,对于官方统计频率太低的题目,不予收录,最终得到了这个高频题目表格。
例如,对于下图中题号#275与#270的题目将被收录,并且#275出现频率大于#270;而对于题号#1011与#1182的题目,因为出现频率太低,将不被收录:
撸起键盘加油干!祝大家成功上岸!整理不易,点个赞吧!
2020/03/29更新: 之前有些题目的跳转链接不对,现在已经改过来了 数据日期: 2020/03/26 (此时LeetCode题目数量:1582) 数据来源: LeetCode官方,将不同类别的题目按照官方给的出现频率(Frequency)降序排列,取有频率统计的题。
排序题号题目通过率难度1#67924 Game0.424困难2#104Maximum Depth of Binary Tree0.726简单3#108Convert Sorted Array to Binary Search Tree0.699简单4#546Remove Boxes0.496困难5#394Decode String0.493中等6#114Flatten Binary Tree to Linked List0.681中等7#105Construct Binary Tree from Preorder and Inorder Traversal0.646中等8#488Zuma Game0.406困难9#101Symmetric Tree0.506简单10#109Convert Sorted List to Binary Search Tree0.711中等11#54201 Matrix0.381中等12#199Binary Tree Right Side View0.639中等13#491Increasing Subsequences0.463中等14#200Number of Islands0.478中等15#257Binary Tree Paths0.63简单16#301Remove Invalid Parentheses0.452困难17#124Binary Tree Maximum Path Sum0.397困难18#695Max Area of Island0.632中等19#112Path Sum0.493简单20#638Shopping Offers0.571中等21#664Strange Printer0.43困难22#690Employee Importance0.575简单23#207Course Schedule0.496中等24#100Same Tree0.569简单25#133Clone Graph0.525中等26#111Minimum Depth of Binary Tree0.418简单27#329Longest Increasing Path in a Matrix0.401困难28#130Surrounded Regions0.398中等29#337House Robber III0.564中等30#110Balanced Binary Tree0.509简单31#99Recover Binary Search Tree0.559困难32#863All Nodes Distance K in Binary Tree0.477中等33#332Reconstruct Itinerary0.363中等34#515Find Largest Value in Each Tree Row0.585中等35#547Friend Circles0.557中等36#733Flood Fill0.53简单37#513Find Bottom Left Tree Value0.688中等38#721Accounts Merge0.323中等39#113Path Sum II0.589中等40#106Construct Binary Tree from Inorder and Postorder Traversal0.675中等41#514Freedom Trail0.38困难42#529Minesweeper0.594中等43#473Matchsticks to Square0.371中等44#417Pacific Atlantic Water Flow0.408中等45#494Target Sum0.441中等46#129Sum Root to Leaf Numbers0.624中等47#98Validate Binary Search Tree0.295中等48#971Flip Binary Tree To Match Preorder Traversal0.43中等49#210Course Schedule II0.465中等50#576Out of Boundary Paths0.36中等51#711Number of Distinct Islands II0.561困难52#685Redundant Connection II0.335困难53#472Concatenated Words0.438困难54#1254Number of Closed Islands0.589中等55#339Nested List Weight Sum0.777简单56#116Populating Next Right Pointers in Each Node0.564中等57#439Ternary Expression Parser0.548中等58#505The Maze II0.439中等59#490The Maze0.442中等60#117Populating Next Right Pointers in Each Node II0.464中等61#694Number of Distinct Islands0.457中等62#323Number of Connected Components in an Undirected Graph0.553中等63#499The Maze III0.303困难64#261Graph Valid Tree0.449中等65#737Sentence Similarity II0.41中等66#533Lonely Pixel II0.454中等67#366Find Leaves of Binary Tree0.73中等68#364Nested List Weight Sum II0.687中等69#531Lonely Pixel I0.651中等leetcode-cn leetcode