截止至今LeetCode题目总量已经有1582题
,估计将来每年平均增长300题
左右,大部分人肯定是刷不完的
,所以得有选择地刷LeetCode。
一种公认的刷题策略是按类别刷题
,可是每个类别也有许多题,在有限的时间里到底该刷哪些题呢
?个人根据LeetCode官方
给出的每个题目的出现频率
,整理并收录了每个类别里高频出现
的题目,对于官方统计频率太低的题目,不予收录,最终得到了这个高频题目表格。
例如,对于下图中题号#275
与#270
的题目将被收录,并且#275
出现频率大于#270
;而对于题号#1011
与#1182
的题目,因为出现频率太低,将不被收录:
撸起键盘加油干!祝大家成功上岸!整理不易,点个赞吧!
哈希表篇-81题(Hash Table, 81 problems)
数据日期: 2020/03/26 (此时LeetCode题目数量:1582)
数据来源: LeetCode官方,将不同类别的题目按照官方给的出现频率(Frequency)降序排列,取有频率统计的题。
排序 | 题号 | 题目 | 通过率 | 难度 | 1#1Two Sum0.479简单2#535Encode and Decode TinyURL0.812中等3#3Longest Substring Without Repeating Characters0.335中等4#85Maximal Rectangle0.449困难5#37Sudoku Solver0.605困难6#94Binary Tree Inorder Traversal0.707中等7#739Daily Temperatures0.595中等8#184Sum0.374中等9#136Single Number0.66简单10#202Happy Number0.576简单11#349Intersection of Two Arrays0.685简单12#463Island Perimeter0.658简单13#30Substring with Concatenation of All Words0.299困难14#632Smallest Range Covering Elements from K Lists0.356困难15#718Maximum Length of Repeated Subarray0.492中等16#76Minimum Win���ְo��,������ֱdow Substring0.355困难17#500Keyboard Row0.685简单18#187Repeated DNA Sequences0.44中等19#560Subarray Sum Equals K0.443中等20#447Number of Boomerangs0.572简单21#49Group Anagrams0.612中等22#138Copy List with Random Pointer0.476中等23#409Longest Palindrome0.549简单24#690Employee Importance0.575简单25#204Count Primes0.329简单26#347Top K Frequent Elements0.607中等27#525Contiguous Array0.416中等28#726Number of Atoms0.437困难29#36Valid Sudoku0.588中等30#4544Sum II0.543中等31#1044Longest Duplicate Substring0.175困难32#781Rabbits in Forest0.543中等33#594Longest Harmonious Subsequence0.461简单34#389Find the Difference0.612简单35#336Palindrome Pairs0.331困难36#149Max Points on a Line0.213困难37#217Contains Duplicate0.518简单38#290Word Pattern0.423简单39#242Valid Anagram0.591简单40#219Contains Duplicate II0.379简单41#274H-Index0.379中等42#350Intersection of Two Arrays II0.474简单43#575Distribute Candies0.66简单44#205Isomorphic Strings0.473简单45#299Bulls and Cows0.472简单46#438Find All Anagrams in a String0.42中等47#645Set Mismatch0.415简单48#355Design Twitter0.367中等49#508Most Frequent Subtree Sum0.627中等50#720Longest Word in Dictionary0.461简单51#166Fraction to Recurring Decimal0.258中等52#648Replace Words0.536中等53#1001Grid Illumination0.271困难54#387First Unique Character in a String0.44简单55#451Sort Characters By Frequency0.63中等56#554Brick Wall0.358中等57#676Implement Magic Dictionary0.565中等58#692Top K Frequent Words0.497中等59#966Vowel Spellchecker0.383中等60#711Number of Distinct Islands II0.561困难61#381Insert Delete GetRandom O(1) - Duplicates allowed0.369困难62#599Minimum Index Sum of Two Lists0.502简单63#609Find Duplicate File in System0.521中等64#244Shortest Word Distance II0.494中等65#380Insert Delete GetRandom O(1)0.478中等66#311Sparse Matrix Multiplication0.728中等67#325Maximum Size Subarray Sum Equals k0.477中等68#159Longest Substring with At Most Two Distinct Characters0.51中等69#314Binary Tree Vertical Order Traversal0.539中等70#359Logger Rate Limiter0.691简单71#694Number of Distinct Islands0.457中等72#358Rearrange String k Distance Apart0.341困难73#249Group Shifted Strings0.604中等74#288Unique Word Abbreviation0.314中等75#734Sentence Similarity0.488简单76#340Longest Substring with At Most K Distinct Characters0.464困难77#266Palindrome Permutation0.631简单78#624Maximum Distance in Arrays0.406简单79#170Two Sum III - Data structure design0.407简单80#356Line Reflection0.285中等81#246Strobogrammatic Number0.464简单相关/参考链接
leetcode-cn
leetcode