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. NFS服务启动:rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)

    nfs重启时提示: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused) 解决办法: 1 #service rpc ...

  3. SQL进阶系列之6用关联子查询比较行与行

    写在前面 使用SQL对同一行数据进行列间的比较很简单,只需要在WHERE子句里写上比较条件就可以了,对于不同行数据进行列间比较需要使用自关联子查询. 增长.减少.维持现状 需要用到行间比较的经典场景是 ...

  4. 项目Alpha冲刺 7

    作业描述 课程: 软件工程1916|W(福州大学) 作业要求: 项目Alpha冲刺(团队) 团队名称: 火鸡堂 作业目标: 介绍第7天冲刺的项目进展.问题困难和心得体会 1.团队信息 队名:火鸡堂 队 ...

  5. insmod: ERROR: could not insert module dm-snapshot.ko: Unknown symbol in module

    下面方法成功的前提是你的mod和你的操作系统版本是匹配的,也就是说你的mod之前成功过.说个多余的提示,mod在/lib/modules目录里面 insmod: ERROR: could not in ...

  6. 使用Ajax实现三级联动

    首先准备数据库只有一张表 分析数据库根据 parentid来查 jsp代码 servlet代码 <%-- Created by IntelliJ IDEA. User: 60590 Date: ...

  7. vue的操作:使用手机访问电脑的页面做法如下:

    安装好node.js 和 npm 后,配置好路由,且可以在电脑中正常访问页面时, 只要修改我的项目:my-project 下面的config--->index.js--->里面的 host ...

  8. python 生成文件到- execl

    查了一些资料发现是英文版本的 很尴尬,经过看源码,和几个错误 ,现记录下来 一:下载包 pip install xlwt 二:定义样式 def set_style(name, height, bold ...

  9. chmod/chown/chgrp/chattr

    权限组合其实就是二进制的组合 注意,用户只能修改属于自己的文件 仅管理员可以修改文件的数组和属主 chmod 三种使用方法 文件的特殊权限 SUID SGID Sticky chowm 修改文件,目录 ...

  10. mysql round()函数以及convert()函数,保留n位小数

    mysql> ); +----------------+ | round() | +----------------+ | 2.23 | +----------------+ row in se ...