截止至今LeetCode题目总量已经有1582题
,估计将来每年平均增长300题
左右,大部分人肯定是刷不完的
,所以得有选择地刷LeetCode。
一种公认的刷题策略是按类别刷题
,可是每个类别也有许多题,在有限的时间里到底该刷哪些题呢
?个人根据LeetCode官方
给出的每个题目的出现频率
,整理并收录了每个类别里高频出现
的题目,对于官方统计频率太低的题目,不予收录,最终得到了这个高频题目表格。
例如,对于下图中题号#275
与#270
的题目将被收录,并且#275
出现频率大于#270
;而对于题号#1011
与#1182
的题目,因为出现频率太低,将不被收录:
撸起键盘加油干!祝大家成功上岸!整理不易,点个赞吧!
二叉搜索树篇-48题(Binary Search Tree, 48 problems)
数据日期: 2020/03/26 (此时LeetCode题目数量:1582)
数据来源: LeetCode官方,将不同类别的题目按照官方给的出现频率(Frequency)降序排列,取有频率统计的题。
排序 | 题号 | 题目 | 通过率 | 难度 | 1#4Median of Two Sorted Arrays0.372困难2#349Intersection of Two Arrays0.685简单3#167Two Sum II - Input array is sorted0.531简单4#287Find the Duplicate Number0.635中等5#300Longest Increasing Subsequence0.44中等6#718Maximum Length of Repeated Subarray0.492中等7#33Search in Rotated Sorted Array0.365中等8#410Split Array Largest Sum0.414困难9#363Max Sum of Rectangle No Larger Than K0.348困难10#315Count of Smaller Numbers After Self0.372困难11#327Count of Range Sum0.329困难12#29Divide Two Integers0.194中等13#50Pow(x, n)0.342中等14#69Sqrt(x)0.376简单15#174Dungeon Game0.404困难16#475Heaters0.296简单17#35Search Insert Position0.453简单18#378Kth Smallest Element in a Sorted Matrix0.587中等19#222Count Complete Tree Nodes0.678中等20#209Minimum Size Subarray Sum0.418中等21#352Data Stream as Disjoint Intervals0.526困难22#668Kth Smallest Number in Multiplication Table0.462困难23#374Guess Number Higher or Lower0.433简单24#4544Sum II0.543中等25#34Find First and Last Position of Element in Sorted Array0.392中等26#354Russian Doll Envelopes0.346困难27#153Find Minimum in ��Ӫ,��ӪRotated Sorted Array0.502中等28#493Reverse Pairs0.235困难29#392Is Subsequence0.486简单30#436Find Right Interval0.446中等31#350Intersection of Two Arrays II0.474简单32#81Search in Rotated Sorted Array II0.352中等33#162Find Peak Element0.453中等34#230Kth Smallest Element in a BST0.694中等35#483Smallest Good Base0.37困难36#367Valid Perfect Square0.433简单37#441Arranging Coins0.404简单38#240Search a 2D Matrix II0.396中等39#719Find K-th Smallest Pair Distance0.316困难40#74Search a 2D Matrix0.376中等41#278First Bad Version0.376简单42#154Find Minimum in Rotated Sorted Array II0.478困难43#644Maximum Average Subarray II0.336困难44#658Find K Closest Elements0.431中等45#275H-Index II0.404中等46#270Closest Binary Search Tree Value0.506简单47#302Smallest Rectangle Enclosing Black Pixels0.694困难48#786K-th Smallest Prime Fraction0.372困难相关/参考链接
leetcode-cn
leetcode