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. 第五次作业——Alpha项目测试

    第五次作业——Alpha项目测试 格式描述: 这个作业属于哪个课程 2019秋软工17级系统分析与设计 这个作业要求在哪里 作业要求 团队名称 杨荣模杰和他的佶祥虎 这个作业的目标 测试其他组项目并写 ...

  2. 对象输入输出流ObjectInputStream、ObjectOutputStream(对象的序列化与反序列化)

    如题 所有关联的类需要继承Serializable 接口 文件为空,直接反序列化为发生错误; 毕竟对象为null , 序列化到文件里不是空空的! 以下笔记的原文连接: https://www.cnbl ...

  3. HttpClient代码设置代理

    由于对接faceBook接口,本地测试时候要设置代理才能调试. (http和https通用) public SSLContext createIgnoreVerifySSL() throws NoSu ...

  4. js function 参数

    JS 中 函数的调用非常完美, 例如 var myFun=function( num1,num2){ return num1+num2;} 调用喊出 1) myFun(1,1) 2) myFun(); ...

  5. js元素remove

    Element.prototype.remove = function() {        this.parentElement.removeChild(this);    };

  6. 6、Python基础语法

    一.Python输出 print是python输出的关键字,默认是输出内容后换行. 如果不想换行,需要在变量末尾加上 end="" . a = 'hello' b = 'world ...

  7. BZOJ 5287: [Hnoi2018]毒瘤 动态dp(LCT+矩阵乘法)

    自己 yy 了一个动态 dp 做法,应该是全网唯一用 LCT 写的. code: #include <bits/stdc++.h> #define ll long long #define ...

  8. Redis存储Sortedset

    与set相比Sortedset多了一个数字与set中的各个元素相关联. 存储结构: 1.添加元素: 添加元素的时候元素一定不能相同,如果已存在该元素,表示插入失败返回0,成功返回1,但是不同元素的数字 ...

  9. 解决Ubuntu系统下 mysql 远程连接失败的问题 ERROR 2003 (HY000): Can't connect to MySQL server on 'xxx.xxx.xx.xx' (110)

    如果远程连不上mysql.cnf 里面也修改了:bind注销掉了127.0.0.1 等所有的 但是telnet xxx.xxx.xx.xx 3306 端口 不通:那么 就是防火墙的问题了 1.修改Ub ...

  10. 洛谷 P4316绿豆蛙的归宿

    题目描述 记f[i]表示经过i号点的概率. 那么点v从点u到达的概率=经过点u的概率/点u的出度.由于v可以由多个点走到,所以f[v]+=f[u]/out[u]. 计算f的过程可以在拓扑中完成,同时可 ...