8288分类目录 8288分类目录 8288分类目录
  当前位置:海洋目录网 » 站长资讯 » 站长资讯 » 文章详细 订阅RssFeed

【leetcode】高频题目整理_数组篇( High Frequency Problems, Array )

来源:本站原创 浏览:121次 时间:2021-12-05

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

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

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

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


数组篇-132题(Array, 132 problems)

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

排序题号题目通过率难度1#1Two Sum0.479简单2#4Median of Two Sorted Arrays0.372困难3#153Sum0.262中等4#53Maximum Subarray0.499简单5#42Trapping Rain Water0.495困难6#11Container With Most Water0.622中等7#85Maximal Rectangle0.449困难8#163Sum Closes��¤����,̰�IJ���t0.435中等9#31Next Permutation0.33中等10#26Remove Duplicates from Sorted Array0.493简单11#7171-bit and 2-bit Characters0.471简单12#59Spiral Matrix II0.769中等13#78Subsets0.769中等14#39Combination Sum0.686中等15#121Best Time to Buy and Sell Stock0.538简单16#45Jump Game II0.335困难17#88Merge Sorted Array0.471简单18#184Sum0.374中等19#64Minimum Path Sum0.651中等20#56Merge Intervals0.407中等21#118Pascal’s Triangle0.66简单22#561Array Partition I0.7简单23#167Two Sum II - Input array is sorted0.531简单24#128Longest Consecutive Sequence0.483困难25#120Triangle0.641中等26#169Majority Element0.628简单27#48Rotate Image0.674中等28#442Find All Duplicates in an Array0.644中等29#289Game of Life0.696中等30#105Construct Binary Tree from Preorder and Inorder Traversal0.646中等31#238Product of Array Except Self0.671中等32#41First Missing Positive0.378困难33#287Find the Duplicate Number0.635中等34#621Task Scheduler0.481中等35#718Maximum Length of Repeated Subarray0.492中等36#54Spiral Matrix0.392中等37#941Valid Mountain Array0.351简单38#747Largest Number At Least Twice of Others0.39简单39#122Best Time to Buy and Sell Stock II0.584简单40#560Subarray Sum Equals K0.443中等41#448Find All Numbers Disappeared in an Array0.572简单42#75Sort Colors0.547中等43#628Maximum Product of Three Numbers0.494简单44#66Plus One0.436简单45#33Search in Rotated Sorted Array0.365中等46#55Jump Game0.385中等47#27Remove Element0.578简单48#283Move Zeroes0.601简单49#62Unique Paths0.596中等50#216Combination Sum III0.705中等51#79Word Search0.41中等52#689Maximum Sum of 3 Non-Overlapping Subarrays0.445困难53#695Max Area of Island0.632中等54#697Degree of an Array0.521简单55#268Missing Number0.548简单56#152Maximum Product Subarray0.377中等57#35Search Insert Position0.453简单58#229Majority Element II0.428中等59#123Best Time to Buy and Sell Stock III0.422困难60#119Pascal’s Triangle II0.605简单61#90Subsets II0.595中等62#84Largest Rectangle in Histogram0.392困难63#189Rotate Array0.409简单64#209Minimum Size Subarray Sum0.418中等65#57Insert Interval0.371困难66#1217Play with Chips0.678简单67#665Non-decreasing Array0.221简单68#34Find First and Last Position of Element in Sorted Array0.392中等69#661Image Smoother0.529简单70#153Find Minimum in Rotated Sorted Array0.502中等71#217Contains Duplicate0.518简单72#667Beautiful Arrangement II0.592中等73#73Set Matrix Zeroes0.552中等74#219Contains Duplicate II0.379简单75#40Combination Sum II0.609中等76#714Best Time to Buy and Sell Stock with Transaction Fee0.635中等77#81Search in Rotated Sorted Array II0.352中等78#581Shortest Unsorted Continuous Subarray0.343简单79#495Teemo Attacking0.531中等80#162Find Peak Element0.453中等81#905Sort Array By Parity0.684简单82#611Valid Triangle Number0.483中等83#106Construct Binary Tree from Inorder and Postorder Traversal0.675中等84#1013Partition Array Into Three Parts With Equal Sum0.408简单85#63Unique Paths II0.326中等86#565Array Nesting0.567中等87#414Third Maximum Number0.347简单88#228Summary Ranges0.517中等89#485Max Consecutive Ones0.561简单90#566Reshape the Matrix0.643简单91#670Maximum Swap0.4中等92#870Advantage Shuffle0.37中等93#713Subarray Product Less Than K0.349中等94#643Maximum Average Subarray I0.381简单95#80Remove Duplicates from Sorted Array II0.547中等96#280Wiggle Sort0.684中等97#605Can Place Flowers0.315简单98#719Find K-th Smallest Pair Distance0.316困难99#950Reveal Cards In Increasing Order0.755中等100#74Search a 2D Matrix0.376中等101#126Word Ladder II0.318困难102#154Find Minimum in Rotated Sorted Array II0.478困难103#1329Sort the Matrix Diagonally0.752中等104#729My Calendar I0.461中等105#644Maximum Average Subarray II0.336困难106#674Longest Continuous Increasing Subsequence0.444简单107#548Split Array with Equal Sum0.341中等108#381Insert Delete GetRandom O(1) - Duplicates allowed0.369困难109#532K-diff Pairs in an Array0.34简单110#457Circular Array Loop0.332中等111#962Maximum Width Ramp0.368中等112#1031Maximum Sum of Two Non-Overlapping Subarrays0.508中等113#245Shortest Word Distance III0.623中等114#724Find Pivot Index0.366简单115#1002Find Common Characters0.667简单116#380Insert Delete GetRandom O(1)0.478中等117#954Array of Doubled Pairs0.274中等118#1386Cinema Seat Allocation0.239中等119#163Missing Ranges0.248中等120#370Range Addition0.651中等121#243Shortest Word Distance0.64简单122#277Find the Celebrity0.565中等123#2593Sum Smaller0.557中等124#1074Number of Submatrices That Sum to Target0.435困难125#562Longest Line of Consecutive One in Matrix0.394中等126#533Lonely Pixel II0.454中等127#978Longest Turbulent Subarray0.392中等128#1287Element Appearing More Than 25% In Sorted Array0.607简单129#723Candy Crush0.676中等130#624Maximum Distance in Arrays0.406简单131#531Lonely Pixel I0.651中等132#1232Check If It Is a Straight Line0.508简单相关/参考链接

leetcode-cn
leetcode

  推荐站点

  • At-lib分类目录At-lib分类目录

    At-lib网站分类目录汇集全国所有高质量网站,是中国权威的中文网站分类目录,给站长提供免费网址目录提交收录和推荐最新最全的优秀网站大全是名站导航之家

    www.at-lib.cn
  • 中国链接目录中国链接目录

    中国链接目录简称链接目录,是收录优秀网站和淘宝网店的网站分类目录,为您提供优质的网址导航服务,也是网店进行收录推广,站长免费推广网站、加快百度收录、增加友情链接和网站外链的平台。

    www.cnlink.org
  • 35目录网35目录网

    35目录免费收录各类优秀网站,全力打造互动式网站目录,提供网站分类目录检索,关键字搜索功能。欢迎您向35目录推荐、提交优秀网站。

    www.35mulu.com
  • 就要爱网站目录就要爱网站目录

    就要爱网站目录,按主题和类别列出网站。所有提交的网站都经过人工审查,确保质量和无垃圾邮件的结果。

    www.912219.com
  • 伍佰目录伍佰目录

    伍佰网站目录免费收录各类优秀网站,全力打造互动式网站目录,提供网站分类目录检索,关键字搜索功能。欢迎您向伍佰目录推荐、提交优秀网站。

    www.wbwb.net