其他分享
首页 > 其他分享> > 【leetcode】高频题目整理_设计篇( High Frequency Problems, Design )

【leetcode】高频题目整理_设计篇( High Frequency Problems, Design )

作者:互联网

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

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

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

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


设计篇-33题(Design, 33 problems)

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

排序题号题目通过率难度
1#225Implement Stack using Queues0.643简单
2#146LRU Cache0.465中等
3#155Min Stack0.522简单
4#208Implement Trie (Prefix Tree)0.656中等
5#232Implement Queue using Stacks0.636简单
6#284Peeking Iterator0.722中等
7#432All O`one Data Structure0.346困难
8#173Binary Search Tree Iterator0.718中等
9#460LFU Cache0.344困难
10#297Serialize and Deserialize Binary Tree0.458困难
11#341Flatten Nested List Iterator0.626中等
12#295Find Median from Data Stream0.44困难
13#355Design Twitter0.367中等
14#211Add and Search Word - Data structure design0.434中等
15#381Insert Delete GetRandom O(1) - Duplicates allowed0.369困难
16#244Shortest Word Distance II0.494中等
17#380Insert Delete GetRandom O(1)0.478中等
18#631Design Excel Sum Formula0.253困难
19#642Design Search Autocomplete System0.426困难
20#588Design In-Memory File System0.362困难
21#379Design Phone Directory0.659中等
22#359Logger Rate Limiter0.691简单
23#346Moving Average from Data Stream0.688简单
24#353Design Snake Game0.391中等
25#348Design Tic-Tac-Toe0.574中等
26#288Unique Word Abbreviation0.314中等
27#635Design Log Storage System0.517中等
28#716Max Stack0.428简单
29#362Design Hit Counter0.666中等
30#170Two Sum III - Data structure design0.407简单
31#281Zigzag Iterator0.717中等
32#251Flatten 2D Vector0.519中等
33#604Design Compressed String Iterator0.359简单

相关/参考链接

leetcode-cn
leetcode

标签:困难,题目,Problems,中等,High,Frequency,简单,Data,LeetCode
来源: https://blog.51cto.com/u_11934066/2714616