其他分享
首页 > 其他分享> > 【leetcode】高频题目整理_双指针篇( High Frequency Problems, Two Pointers )

【leetcode】高频题目整理_双指针篇( High Frequency Problems, Two Pointers )

作者:互联网

截止至今LeetCode题目总量已经有1582题,估计将来每年平均增长300题左右,大部分人肯定是刷不完的,所以得有选择地刷LeetCode。

一种公认的刷题策略是按类别刷题,可是每个类别也有许多题,在有限的时间里到底该刷哪些题呢?个人根据LeetCode官方给出的每个题目的出现频率,整理并收录了每个类别里高频出现的题目,对于官方统计频率太低的题目,不予收录,最终得到了这个高频题目表格。

例如,对于下图中题号#275#270的题目将被收录,并且#275出现频率大于#270;而对于题号#1011#1182的题目,因为出现频率太低,将不被收录:在这里插入图片描述

撸起键盘加油干!祝大家成功上岸!整理不易,点个赞吧!


双指针篇-41题(Two Pointers, 41 problems)

数据日期: 2020/03/26 (此时LeetCode题目数量:1582)
数据来源: LeetCode官方,将不同类别的题目按照官方给的出现频率(Frequency)降序排列,取有频率统计的题。

排序题号题目通过率难度
1#3Longest Substring Without Repeating Characters0.335中等
2#153Sum0.262中等
3#42Trapping Rain Water0.495困难
4#11Container With Most Water0.622中等
5#163Sum Closest0.435中等
6#26Remove Duplicates from Sorted Array0.493简单
7#88Merge Sorted Array0.471简单
8#86Partition List0.566中等
9#184Sum0.374中等
10#19Remove Nth Node From End of List0.382中等
11#349Intersection of Two Arrays0.685简单
12#167Two Sum II - Input array is sorted0.531简单
13#287Find the Duplicate Number0.635中等
14#30Substring with Concatenation of All Words0.299困难
15#632Smallest Range Covering Elements from K Lists0.356困难
16#76Minimum Window Substring0.355困难
17#28Implement strStr()0.396简单
18#75Sort Colors0.547中等
19#344Reverse String0.696简单
20#234Palindrome Linked List0.411简单
21#27Remove Element0.578简单
22#283Move Zeroes0.601简单
23#141Linked List Cycle0.472简单
24#61Rotate List0.4中等
25#209Minimum Size Subarray Sum0.418中等
26#345Reverse Vowels of a String0.495简单
27#125Valid Palindrome0.43简单
28#142Linked List Cycle II0.494中等
29#350Intersection of Two Arrays II0.474简单
30#424Longest Repeating Character Replacement0.461中等
31#713Subarray Product Less Than K0.349中等
32#80Remove Duplicates from Sorted Array II0.547中等
33#360Sort Transformed Array0.603中等
34#524Longest Word in Dictionary through Deleting0.454中等
35#532K-diff Pairs in an Array0.34简单
36#457Circular Array Loop0.332中等
37#567Permutation in String0.346中等
38#159Longest Substring with At Most Two Distinct Characters0.51中等
39#2593Sum Smaller0.558中等
40#723Candy Crush0.677中等
41#487Max Consecutive Ones II0.549中等

相关/参考链接

leetcode-cn
leetcode

标签:题目,Problems,Pointers,中等,Two,频率,简单,LeetCode
来源: https://blog.51cto.com/u_11934066/2714624