LeetCode Top Interview Questions

https://leetcode.com/problemset/top-interview-questions/

# No. Title Acceptance Difficulty
1 1 Two Sum 38.80% Easy
2 2 Add Two Numbers 29.10% Medium
3 3 Longest Substring Without Repeating Characters 25.00% Medium
4 4 Median of Two Sorted Arrays 23.80% Hard
5 5 Longest Palindromic Substring 25.60% Medium
6 7 Reverse Integer 24.40% Easy
7 8 String to Integer (atoi) 14.10% Medium
8 10 Regular Expression Matching 24.40% Hard
9 11 Container With Most Water 38.50% Medium
10 13 Roman to Integer 49.40% Easy
11 14 Longest Common Prefix 31.90% Easy
12 15 3Sum 22.00% Medium
13 17 Letter Combinations of a Phone Number 38.00% Medium
14 19 Remove Nth Node From End of List 33.70% Medium
15 20 Valid Parentheses 34.60% Easy
16 21 Merge Two Sorted Lists 43.00% Easy
17 22 Generate Parentheses 50.00% Medium
18 23 Merge k Sorted Lists 30.00% Hard
19 26 Remove Duplicates from Sorted Array 37.70% Easy
20 28 Implement strStr() 29.90% Easy
21 29 Divide Two Integers 15.70% Medium
22 33 Search in Rotated Sorted Array 32.10% Medium
23 34 Find First and Last Position of Element in Sorted Array 32.00% Medium
24 36 Valid Sudoku 39.30% Medium
25 38 Count and Say 37.80% Easy
26 41 First Missing Positive 26.70% Hard
27 42 Trapping Rain Water 39.00% Hard
28 44 Wildcard Matching 21.50% Hard
29 46 Permutations 49.80% Medium
30 48 Rotate Image 43.90% Medium
31 49 Group Anagrams 41.10% Medium
32 50 Pow(x, n) 26.50% Medium
33 53 Maximum Subarray 41.20% Easy
34 54 Spiral Matrix 28.10% Medium
35 55 Jump Game 30.20% Medium
36 56 Merge Intervals 33.00% Medium
37 62 Unique Paths 44.30% Medium
38 66 Plus One 40.00% Easy
39 69 Sqrt(x) 29.50% Easy
40 70 Climbing Stairs 42.00% Easy
41 73 Set Matrix Zeroes 37.50% Medium
42 75 Sort Colors 39.90% Medium
43 76 Minimum Window Substring 28.00% Hard
44 78 Subsets 47.50% Medium
45 79 Word Search 28.90% Medium
46 84 Largest Rectangle in Histogram 28.60% Hard
47 88 Merge Sorted Array 33.20% Easy
48 91 Decode Ways 20.90% Medium
49 94 Binary Tree Inorder Traversal 52.00% Medium
50 98 Validate Binary Search Tree 24.40% Medium
51 101 Symmetric Tree 41.40% Easy
52 102 Binary Tree Level Order Traversal 44.50% Medium
53 103 Binary Tree Zigzag Level Order Traversal 38.30% Medium
54 104 Maximum Depth of Binary Tree 56.70% Easy
55 105 Construct Binary Tree from Preorder and Inorder Traversal 36.40% Medium
56 108 Convert Sorted Array to Binary Search Tree 46.40% Easy
57 116 Populating Next Right Pointers in Each Node 36.60% Medium
58 118 Pascal's Triangle 41.90% Easy
59 121 Best Time to Buy and Sell Stock 44.20% Easy
60 122 Best Time to Buy and Sell Stock II 49.00% Easy
61 124 Binary Tree Maximum Path Sum 27.90% Hard
62 125 Valid Palindrome 28.40% Easy
63 127 Word Ladder 21.00% Medium
64 128 Longest Consecutive Sequence 39.30% Hard
65 130 Surrounded Regions 20.70% Medium
66 131 Palindrome Partitioning 37.30% Medium
67 134 Gas Station 31.20% Medium
68 136 Single Number 56.90% Easy
69 138 Copy List with Random Pointer 25.70% Medium
70 139 Word Break 32.50% Medium
71 140 Word Break II 25.30% Hard
72 141 Linked List Cycle 34.70% Easy
73 146 LRU Cache 21.20% Hard
74 148 Sort List 31.60% Medium
75 149 Max Points on a Line 15.20% Hard
76 150 Evaluate Reverse Polish Notation 29.70% Medium
77 152 Maximum Product Subarray 27.40% Medium
78 155 Min Stack 33.00% Easy
79 160 Intersection of Two Linked Lists 30.80% Easy
80 162 Find Peak Element 39.70% Medium
81 163 Missing Ranges 22.90% Medium
82 166 Fraction to Recurring Decimal 18.50% Medium
83 169 Majority Element 49.40% Easy
84 171 Excel Sheet Column Number 49.70% Easy
85 172 Factorial Trailing Zeroes 37.00% Easy
86 179 Largest Number 24.20% Medium
87 189 Rotate Array 26.80% Easy
88 190 Reverse Bits 29.30% Easy
89 191 Number of 1 Bits 40.80% Easy
90 198 House Robber 40.40% Easy
91 200 Number of Islands 37.90% Medium
92 202 Happy Number 42.70% Easy
93 204 Count Primes 27.10% Easy
94 206 Reverse Linked List 49.20% Easy
95 207 Course Schedule 34.80% Medium
96 208 Implement Trie (Prefix Tree) 33.30% Medium
97 210 Course Schedule II 31.60% Medium
98 212 Word Search II 25.80% Hard
99 215 Kth Largest Element in an Array 42.60% Medium
100 217 Contains Duplicate 48.70% Easy
101 218 The Skyline Problem 29.80% Hard
102 227 Basic Calculator II 31.00% Medium
103 230 Kth Smallest Element in a BST 47.20% Medium
104 234 Palindrome Linked List 34.20% Easy
105 236 Lowest Common Ancestor of a Binary Tree 31.60% Medium
106 237 Delete Node in a Linked List 49.00% Easy
107 238 Product of Array Except Self 51.50% Medium
108 239 Sliding Window Maximum 35.20% Hard
109 240 Search a 2D Matrix II 39.40% Medium
110 242 Valid Anagram 48.80% Easy
111 251 Flatten 2D Vector 42.00% Medium
112 253 Meeting Rooms II 40.10% Medium
113 268 Missing Number 46.00% Easy
114 269 Alien Dictionary 27.50% Hard
115 277 Find the Celebrity 35.30% Medium
116 279 Perfect Squares 38.70% Medium
117 283 Move Zeroes 52.30% Easy
118 285 Inorder Successor in BST 34.10% Medium
119 287 Find the Duplicate Number 45.90% Medium
120 289 Game of Life 39.30% Medium
121 295 Find Median from Data Stream 31.40% Hard
122 297 Serialize and Deserialize Binary Tree 36.50% Hard
123 300 Longest Increasing Subsequence 39.20% Medium
124 308 Range Sum Query 2D - Mutable 27.90% Hard
125 315 Count of Smaller Numbers After Self 35.50% Hard
126 322 Coin Change 27.20% Medium
127 324 Wiggle Sort II 26.60% Medium
128 326 Power of Three 41.00% Easy
129 328 Odd Even Linked List 46.30% Medium
130 329 Longest Increasing Path in a Matrix 37.70% Hard
131 334 Increasing Triplet Subsequence 39.50% Medium
132 340 Longest Substring with At Most K Distinct Characters 38.50% Hard
133 341 Flatten Nested List Iterator 44.30% Medium
134 344 Reverse String 61.30% Easy
135 347 Top K Frequent Elements 50.80% Medium
136 348 Design Tic-Tac-Toe 46.80% Medium
137 350 Intersection of Two Arrays II 44.70% Easy
138 371 Sum of Two Integers 50.80% Easy
139 378 Kth Smallest Element in a Sorted Matrix 46.20% Medium
140 380 Insert Delete GetRandom O(1) 40.50% Medium
141 384 Shuffle an Array 47.90% Medium
142 387 First Unique Character in a String 47.60% Easy
143 395 Longest Substring with At Least K Repeating Characters 36.20% Medium
144 412 Fizz Buzz 58.10% Easy
145 454 4Sum II 48.20% Mediu

LeetCode Top Interview Questions的更多相关文章

  1. Top 25 Most Frequently Asked Interview Core Java Interview Questions And Answers

    We are sharing 25 java interview questions , these questions are frequently asked by the recruiters. ...

  2. [LeetCode] Top 100 Liked Questions

    [LeetCode] Top 100 Liked Questions # Title Acceptance Difficulty 1 Two Sum 38.80% Easy 2 Add Two Num ...

  3. [转]Design Pattern Interview Questions - Part 4

    Bridge Pattern, Composite Pattern, Decorator Pattern, Facade Pattern, COR Pattern, Proxy Pattern, te ...

  4. [转]Design Pattern Interview Questions - Part 3

    State, Stratergy, Visitor Adapter and fly weight design pattern from interview perspective. (I) Can ...

  5. [转]Design Pattern Interview Questions - Part 1

    Factory, Abstract factory, prototype pattern (B) What are design patterns? (A) Can you explain facto ...

  6. 69 Spring Interview Questions and Answers – The ULTIMATE List--reference

    This is a summary of some of the most important questions concerning the Spring Framework, that you ...

  7. JavaScript Interview Questions: Event Delegation and This

    David Posin helps you land that next programming position by understanding important JavaScript fund ...

  8. python interview questions

    referce:python interview questions top 50 refercence:python interview questions top 15 summary Q: wh ...

  9. Interview Questions All In One

    Interview Questions All In One web fullstack System Design Operating System Object-Oriented Design O ...

随机推荐

  1. C#锁对象代码

    private static readonly object SequenceLock = new object(); private static readonly object SequenceL ...

  2. 使用python的jira库操作jira的版本单和问题单链接

    操作JIRA的API来实现的. 但感觉比单纯操作API要简单一些. from jira import JIRA from django.conf import settings JIRA_URL = ...

  3. python测试开发django-rest-framework-65.序列化(ModelSerializer)

    前言 serializers.Serializer可以对modle模型中的字段序列化,并且必须写create和update两个方法.ModelSerializer可以看成是Serializer的一个升 ...

  4. 【http】Coolie 属性

    expires属性 指 定了coolie的生存期,默认情况下coolie是暂时存在的,他们存储的值只在浏览器会话期间存在,当用户推出浏览器后这些值也会丢失,如果想让 cookie存在一段时间,就要为e ...

  5. wordpress调用指定post type文章怎么操作

    我们有时会用wordpress创建好几种post type文章,比如默认的post文章和product文章,如果我们要在每个页面的底部调用post type类型为post最新文章要如何操作呢?那我们就 ...

  6. 当调用对象中不存的方法、属性时,__getattr__的应用场景

    一.Python中创建类和实例的调用顺序 new(cls) 创建对象前调用,如果类中没定义,会一直向父类找,直到object的 new 方法创建类.cls代表类本身 init(self) 创建类实例后 ...

  7. 《团队作业第三、第四周》五阿哥团队作业--Scrum 冲刺阶段--Day1--领航

    <团队作业第三.第四周>五阿哥团队作业--Scrum 冲刺阶段--Day1--领航 各个成员在 Alpha 阶段认领的任务 在团队合作时任务也会动态分配,最终以实际为主,上述具有参考价值. ...

  8. (转)接口测试工具Postman使用实践

    一.接口定义 软件不同部分之间的交互接口.通常就是所谓的API――应用程序编程接口,其表现的形式是源代码. —— [ 百度百科 ]我们常说的接口一般指两种:(1)API:应用程序编程接口.程序间的接口 ...

  9. PostgreSQL 一些比较好用的字符串函数

    最近刚接触到PostgreSQL数据库,发现很多功能比较强大的内置函数,特此记录下来.示例下次再补. 1.concat 字符串连接函数 2.concat_ws concat_ws函数连接可自定义分隔符 ...

  10. 白天不懂夜的黑追寻Android规范

    有趣有内涵的文章第一时间送达! 喝酒I创作I分享 关注我,每天都有优质技术文章推送,工作,学习累了的时候放松一下自己. 本篇文章同步微信公众号 欢迎大家关注我的微信公众号:「醉翁猫咪」 生活中总有些东 ...