Skip to content

xingdl2007/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Complete List:

# Title Difficulty
1 Two Sum Easy
2 Add Two Numbers Medium
3 Longest Substring Without Repeating Characters Medium
4 Median of Two Sorted Arrays Hard
5 Longest Palindromic Substring Medium
6 ZigZag Conversion Medium
7 Reverse Integer Easy
8 String to Integer (atoi) Medium
10 Regular Expression Matching Hard
11 Container With Most Water Medium
13 Roman to Integer Easy
14 Longest Common Prefix Easy
15 3Sum Medium
16 3Sum Closest Medium
17 Letter Combinations of a Phone Number Medium
18 4Sum Medium
19 Remove Nth Node From End of List Medium
20 Valid Parentheses Easy
21 Merge Two Sorted Lists Easy
22 Generate Parentheses Medium
23 Merge k Sorted Lists Hard
26 Remove Duplicates from Sorted Array Easy
27 Remove Element Easy
28 Implement strStr() Easy
31 Next Permutation Medium
32 Longest Valid Parentheses Hard
33 Search in Rotated Sorted Array Medium
34 Search for a Range Medium
36 Valid Sudoku Medium
39 Combination Sum Medium
41 First Missing Positive Hard
42 Trapping Rain Water Hard
46 Permutations Medium
47 Permutations II Medium
48 Rotate Image Medium
49 Group Anagrams Medium
50 Pow(x, n) Medium
51 N-Queens Hard
52 N-Queens II Hard
53 Maximum Subarray Easy
54 Spiral Matrix Medium
55 Jump Game Medium
56 Merge Intervals Medium
59 Spiral Matrix II Medium
60 Permutation Sequence Medium
62 Unique Paths Medium
63 Unique Paths II Medium
64 Minimum Path Sum Medium
66 Plus One Easy
69 Sqrt(x) Easy
70 Climbing Stairs Easy
72 Edit Distance Hard
73 Set Matrix Zeroes Medium
75 Sort Colors Medium
78 Subsets Medium
79 Word Search Medium
89 Gray Code Medium
90 Subsets II Medium
94 Binary Tree Inorder Traversal Medium
96 Unique Binary Search Trees Medium
98 Validate Binary Search Tree Medium
99 Recover Binary Search Tree Hard
100 Same Tree Easy
101 Symmetric Tree Easy
102 Binary Tree Level Order Traversal Medium
104 Maximum Depth of Binary Tree Easy
105 Construct Binary Tree from Preorder and Inorder Traversal Medium
106 Construct Binary Tree from Inorder and Postorder Traversal Medium
107 Binary Tree Level Order Traversal II Easy
108 Convert Sorted Array to Binary Search Tree Easy
109 Convert Sorted List to Binary Search Tree Medium
110 Balanced Binary Tree Easy
111 Minimum Depth of Binary Tree Easy
112 Path Sum Easy
114 Flatten Binary Tree to Linked List Medium
120 Triangle Medium
121 Best Time to Buy and Sell Stock Easy
128 Longest Consecutive Sequence Hard
130 Surrounded Regions Medium
136 Single Number Easy
137 Single Number II Medium
139 Word Break Medium
141 Linked List Cycle Easy
142 Linked List Cycle II Medium
146 LRU Cache Hard
148 Sort List Medium
153 Find Minimum in Rotated Sorted Array Medium
154 Find Minimum in Rotated Sorted Array II Medium
155 Min Stack Easy
152 Maximum Product Subarray Medium
160 Intersection of Two Linked Lists Easy
168 Excel Sheet Column Title Easy
169 Majority Element Easy
171 Excel Sheet Column Number Easy
191 Number of 1 Bits Easy
198 House Robber Easy
200 Number of Islands Medium
202 Happy Number Easy
203 Remove Linked List Elements Easy
206 Reverse Linked List Easy
207 Course Schedule Medium
208 Implement Trie (Prefix Tree) Medium
210 Course Schedule II Medium
212 Word Search II Hard
215 Kth Largest Element in an Array Medium
217 Contains Duplicate Easy
221 Maximal Square Medium
226 Invert Binary Tree Easy
234 Palindrome Linked List Easy
236 Lowest Common Ancestor of a Binary Tree Medium
238 Product of Array Except Self Medium
240 Search a 2D Matrix II Medium
260 Single Number III Medium
268 Missing Number Easy
279 Perfect Squares Medium
283 Move Zeroes Easy
287 Find the Duplicate Number Medium
292 Nim Game Easy
300 Longest Increasing Subsequence Medium
303 Range Sum Query - Immutable Easy
309 Best Time to Buy and Sell Stock with Cooldown Medium
310 Minimum Height Trees Medium
312 Burst Balloons Hard
315 Count of Smaller Numbers After Self Hard
322 Coin Change Medium
329 Longest Increasing Path in a Matrix Medium
337 House Robber III Medium
338 Counting Bits Medium
344 Reverse String Easy
347 Top K Frequent Elements Medium
371 Sum of Two Integers Easy
384 Shuffle an Array Medium
389 Find the Difference Easy
394 Decode String Medium
406 Queue Reconstruction by Height Medium
412 Fizz Buzz Easy
414 Third Maximum Number Easy
416 Partition Equal Subset Sum Medium
437 Path Sum III Easy
438 Find All Anagrams in a String Easy
448 Find All Numbers Disappeared in an Array Easy
450 Delete Node in a BST Medium
461 Hamming Distance Easy
494 Target Sum Medium
523 Continuous Subarray Sum Medium
538 Convert BST to Greater Tree Easy
543 Diameter of Binary Tree Easy
547 Friend Circles Medium
560 Subarray Sum Equals K Medium
561 Array Partition I Easy
567 Permutation in String Medium
572 Subtree of Another Tree Easy
581 Shortest Unsorted Continuous Subarray Easy
599 Minimum Index Sum of Two Lists Easy
617 Merge Two Binary Trees Easy
621 Task Scheduler Medium
633 Sum of Square Numbers Easy
637 Average of Levels in Binary Tree Easy
645 Set Mismatch Easy
647 Palindromic Substrings Medium
684 Redundant Connection Medium
685 Redundant Connection II Hard
690 Employee Importance Easy
695 Max Area of Island Easy
713 Subarray Product Less Than K Medium
721 Accounts Merge Medium
724 Find Pivot Index Easy

Releases

No releases published

Packages

No packages published