0001 |
Two Sum |
Java |
45.55% |
Easy |
|
0002 |
Add Two Numbers |
Java |
33.63% |
Medium |
|
0003 |
Longest Substring Without Repeating Characters |
Java |
28.92% |
Medium |
|
0004 |
Median of Two Sorted Arrays |
|
34.35% |
Hard |
|
0005 |
Longest Palindromic Substring |
Java |
24.82% |
Medium |
|
0006 |
ZigZag Conversion |
Java |
41.57% |
Medium |
|
0007 |
Reverse Integer |
Java |
32.21% |
Easy |
|
0008 |
String to Integer (atoi) |
Java |
16.75% |
Medium |
|
0009 |
Palindrome Number |
Java |
56.04% |
Easy |
|
0010 |
Regular Expression Matching |
Java |
22.01% |
Hard |
|
0011 |
Container With Most Water |
Java |
54.66% |
Medium |
|
0012 |
Integer to Roman |
Java |
58.37% |
Medium |
|
0013 |
Roman to Integer |
Java |
57.34% |
Easy |
|
0014 |
Longest Common Prefix |
Java |
32.57% |
Easy |
|
0015 |
3Sum |
Java |
21.63% |
Medium |
|
0016 |
3Sum Closest |
Java |
39.62% |
Medium |
|
0017 |
Letter Combinations of a Phone Number |
Java |
48.30% |
Medium |
|
0018 |
4Sum |
Java |
34.69% |
Medium |
|
0019 |
Remove Nth Node From End of List |
Java |
32.93% |
Medium |
|
0020 |
Valid Parentheses |
Java |
37.17% |
Easy |
|
0021 |
Merge Two Sorted Lists |
Java |
53.61% |
Easy |
|
0022 |
Generate Parentheses |
Java |
69.10% |
Medium |
|
0023 |
Merge k Sorted Lists |
Java |
44.34% |
Hard |
|
0024 |
Swap Nodes in Pairs |
Java |
58.58% |
Medium |
|
0025 |
Reverse Nodes in k-Group |
Java |
50.04% |
Hard |
|
0026 |
Remove Duplicates from Sorted Array |
Java |
43.46% |
Easy |
|
0027 |
Remove Element |
Java |
54.02% |
Easy |
|
0028 |
Implement strStr() |
Java |
37.99% |
Easy |
|
0029 |
Divide Two Integers |
Java |
17.86% |
Medium |
|
0030 |
Substring with Concatenation of All Words |
Java |
25.28% |
Hard |
|
0031 |
Next Permutation |
Java |
30.52% |
Medium |
|
0032 |
Longest Valid Parentheses |
Java |
26.24% |
Hard |
|
0033 |
Search in Rotated Sorted Array |
Java |
36.18% |
Medium |
|
0035 |
Search Insert Position |
Java |
43.09% |
Easy |
|
0036 |
Valid Sudoku |
|
51.96% |
Medium |
|
0037 |
Sudoku Solver |
Java |
50.94% |
Hard |
|
0038 |
Count and Say |
Java |
48.79% |
Easy |
|
0041 |
First Missing Positive |
Java |
35.38% |
Hard |
|
0042 |
Trapping Rain Water |
|
42.88% |
Hard |
|
0044 |
Wildcard Matching |
Java |
21.22% |
Hard |
|
0045 |
Jump Game II |
Java |
29.58% |
Hard |
|
0046 |
Permutations |
Java |
67.49% |
Medium |
|
0047 |
Permutations II |
Java |
51.24% |
Medium |
|
0048 |
Rotate Image |
|
60.66% |
Medium |
|
0049 |
Group Anagrams |
Java |
54.84% |
Medium |
|
0051 |
N-Queens |
Java |
60.30% |
Hard |
|
0052 |
N-Queens II |
Java |
71.44% |
Hard |
|
0053 |
Maximum Subarray |
Java |
43.79% |
Easy |
|
0054 |
Spiral Matrix |
|
34.53% |
Medium |
|
0057 |
Insert Interval |
Java |
33.88% |
Hard |
|
0061 |
Rotate List |
Java |
37.71% |
Medium |
|
0062 |
Unique Paths |
Java |
53.10% |
Medium |
|
0063 |
Unique Paths II |
Java |
30.83% |
Medium |
|
0064 |
Minimum Path Sum |
Java |
59.29% |
Medium |
|
0065 |
Valid Number |
Java |
14.09% |
Hard |
|
0066 |
Plus One |
Java |
38.06% |
Easy |
|
0067 |
Add Binary |
Java |
47.28% |
Easy |
|
0068 |
Text Justification |
Java |
36.42% |
Hard |
|
0069 |
Sqrt(x) |
Java |
35.20% |
Easy |
|
0070 |
Climbing Stairs |
Java |
44.89% |
Easy |
|
0071 |
Simplify Path |
Java |
34.44% |
Medium |
|
0072 |
Edit Distance |
Java |
48.65% |
Hard |
|
0073 |
Set Matrix Zeroes |
|
52.15% |
Medium |
|
0076 |
Minimum Window Substring |
Java |
33.76% |
Hard |
|
0077 |
Combinations |
Java |
66.29% |
Medium |
|
0078 |
Subsets |
Java |
72.35% |
Medium |
|
0080 |
Remove Duplicates from Sorted Array II |
|
48.48% |
Medium |
|
0081 |
Search in Rotated Sorted Array II |
|
32.75% |
Medium |
|
0082 |
Remove Duplicates from Sorted List II |
Java |
39.55% |
Medium |
|
0083 |
Remove Duplicates from Sorted List |
Java |
44.73% |
Easy |
|
0084 |
Largest Rectangle in Histogram |
Java |
37.32% |
Hard |
|
0085 |
Maximal Rectangle |
Java |
41.68% |
Hard |
|
0086 |
Partition List |
Java |
46.56% |
Medium |
|
0087 |
Scramble String |
Java |
40.27% |
Hard |
|
0088 |
Merge Sorted Array |
Java |
43.43% |
Easy |
|
0089 |
Gray Code |
|
63.44% |
Medium |
|
0091 |
Decode Ways |
Java |
20.01% |
Medium |
|
0092 |
Reverse Linked List II |
Java |
42.51% |
Medium |
|
0094 |
Binary Tree Inorder Traversal |
Java |
64.71% |
Medium |
|
0095 |
Unique Binary Search Trees II |
Java |
52.08% |
Medium |
|
0096 |
Unique Binary Search Trees |
Java |
58.57% |
Medium |
|
0097 |
Interleaving String |
Java |
36.05% |
Hard |
|
0098 |
Validate Binary Search Tree |
Java |
24.99% |
Medium |
|
0099 |
Recover Binary Search Tree |
Java |
51.56% |
Hard |
|
0100 |
Same Tree |
Java |
52.02% |
Easy |
|
0101 |
Symmetric Tree |
Java |
45.69% |
Easy |
|
0102 |
Binary Tree Level Order Traversal |
Java |
54.66% |
Medium |
|
0103 |
Binary Tree Zigzag Level Order Traversal |
Java |
47.85% |
Medium |
|
0104 |
Maximum Depth of Binary Tree |
Java |
67.99% |
Easy |
|
0105 |
Construct Binary Tree from Preorder and Inorder Traversal |
Java |
56.77% |
Medium |
|
0106 |
Construct Binary Tree from Inorder and Postorder Traversal |
Java |
59.25% |
Medium |
|
0107 |
Binary Tree Level Order Traversal II |
Java |
59.51% |
Easy |
|
0108 |
Convert Sorted Array to Binary Search Tree |
Java |
61.93% |
Easy |
|
0109 |
Convert Sorted List to Binary Search Tree |
Java |
63.84% |
Medium |
|
0110 |
Balanced Binary Tree |
Java |
46.91% |
Easy |
|
0111 |
Minimum Depth of Binary Tree |
Java |
37.80% |
Easy |
|
0112 |
Path Sum |
Java |
45.52% |
Easy |
|
0113 |
Path Sum II |
Java |
53.38% |
Medium |
|
0114 |
Flatten Binary Tree to Linked List |
Java |
58.74% |
Medium |
|
0115 |
Distinct Subsequences |
Java |
42.73% |
Hard |
|
0116 |
Populating Next Right Pointers in Each Node |
Java |
37.23% |
Medium |
|
0117 |
Populating Next Right Pointers in Each Node II |
Java |
33.64% |
Medium |
|
0118 |
Pascal's Triangle |
Java |
60.86% |
Easy |
|
0119 |
Pascal's Triangle II |
Java |
54.31% |
Easy |
|
0121 |
Best Time to Buy and Sell Stock |
Java |
48.87% |
Easy |
|
0122 |
Best Time to Buy and Sell Stock II |
Java |
52.21% |
Easy |
|
0123 |
Best Time to Buy and Sell Stock III |
Java |
35.53% |
Hard |
|
0124 |
Binary Tree Maximum Path Sum |
Java |
34.20% |
Hard |
|
0125 |
Valid Palindrome |
Java |
38.69% |
Easy |
|
0126 |
Word Ladder II |
Java |
22.72% |
Hard |
|
0128 |
Longest Consecutive Sequence |
|
42.34% |
Hard |
|
0129 |
Sum Root to Leaf Numbers |
Java |
56.47% |
Medium |
|
0132 |
Palindrome Partitioning II |
Java |
36.40% |
Hard |
|
0134 |
Gas Station |
|
45.59% |
Medium |
|
0135 |
Candy |
|
38.12% |
Hard |
|
0136 |
Single Number |
Java |
60.06% |
Easy |
|
0137 |
Single Number II |
|
62.75% |
Medium |
|
0138 |
Copy List with Random Pointer |
Java |
27.25% |
Medium |
|
0140 |
Word Break II |
Java |
35.42% |
Hard |
|
0141 |
Linked List Cycle |
Java |
36.95% |
Easy |
|
0142 |
Linked List Cycle II |
Java |
36.61% |
Medium |
|
0144 |
Binary Tree Preorder Traversal |
Java |
58.56% |
Medium |
|
0145 |
Binary Tree Postorder Traversal |
Java |
64.43% |
Hard |
|
0146 |
LRU Cache |
Java |
39.59% |
Hard |
|
0147 |
Insertion Sort List |
Java |
56.08% |
Medium |
|
0148 |
Sort List |
Java |
59.02% |
Medium |
|
0150 |
Evaluate Reverse Polish Notation |
Java |
43.11% |
Medium |
|
0155 |
Min Stack |
Java |
48.19% |
Easy |
|
0160 |
Intersection of Two Linked Lists |
Java |
39.46% |
Easy |
|
0167 |
Two Sum II - Input array is sorted |
Java |
48.00% |
Easy |
|
0168 |
Excel Sheet Column Title |
Java |
30.94% |
Easy |
|
0169 |
Majority Element |
Java |
58.43% |
Easy |
|
0171 |
Excel Sheet Column Number |
Java |
63.28% |
Easy |
|
0172 |
Factorial Trailing Zeroes |
Java |
37.64% |
Easy |
|
0189 |
Rotate Array |
Java |
36.89% |
Easy |
|
0190 |
Reverse Bits |
Java |
37.67% |
Easy |
|
0198 |
House Robber |
Java |
39.57% |
Easy |
|
0202 |
Happy Number |
Java |
52.51% |
Easy |
|
0203 |
Remove Linked List Elements |
Java |
39.87% |
Easy |
|
0204 |
Count Primes |
Java |
26.96% |
Easy |
|
0205 |
Isomorphic Strings |
Java |
43.27% |
Easy |
|
0206 |
Reverse Linked List |
Java |
59.52% |
Easy |
|
0209 |
Minimum Size Subarray Sum |
|
37.38% |
Medium |
|
0217 |
Contains Duplicate |
Java |
47.55% |
Easy |
|
0219 |
Contains Duplicate II |
Java |
33.87% |
Easy |
|
0225 |
Implement Stack using Queues |
Java |
57.07% |
Easy |
|
0226 |
Invert Binary Tree |
Java |
67.76% |
Easy |
|
0229 |
Majority Element II |
Java |
39.23% |
Medium |
|
0231 |
Power of Two |
Java |
44.61% |
Easy |
|
0232 |
Implement Queue using Stacks |
Java |
58.64% |
Easy |
|
0234 |
Palindrome Linked List |
Java |
35.75% |
Easy |
|
0235 |
Lowest Common Ancestor of a Binary Search Tree |
Java |
57.91% |
Easy |
|
0237 |
Delete Node in a Linked List |
Java |
71.16% |
Easy |
|
0242 |
Valid Anagram |
Java |
51.32% |
Easy |
|
0257 |
Binary Tree Paths |
Java |
57.44% |
Easy |
|
0258 |
Add Digits |
Java |
62.74% |
Easy |
|
0263 |
Ugly Number |
Java |
45.29% |
Easy |
|
0268 |
Missing Number |
Java |
49.09% |
Easy |
|
0278 |
First Bad Version |
Java |
29.79% |
Easy |
|
0283 |
Move Zeroes |
Java |
53.20% |
Easy |
|
0290 |
Word Pattern |
Java |
37.97% |
Easy |
|
0292 |
Nim Game |
Java |
66.95% |
Easy |
|
0303 |
Range Sum Query - Immutable |
Java |
52.28% |
Easy |
|
0326 |
Power of Three |
Java |
43.11% |
Easy |
|
0342 |
Power of Four |
Java |
44.83% |
Easy |
|
0344 |
Reverse String |
Java |
65.45% |
Easy |
|
0345 |
Reverse Vowels of a String |
Java |
46.16% |
Easy |
|
0349 |
Intersection of Two Arrays |
Java |
61.16% |
Easy |
|
0350 |
Intersection of Two Arrays II |
Java |
40.08% |
Easy |
|
0367 |
Valid Perfect Square |
Java |
40.11% |
Easy |
|
0371 |
Sum of Two Integers |
Java |
53.88% |
Easy |
|
0374 |
Guess Number Higher or Lower |
Java |
36.59% |
Easy |
|
0383 |
Ransom Note |
Java |
46.28% |
Easy |
|
0386 |
Lexicographical Numbers |
Java |
53.43% |
Medium |
|
0387 |
First Unique Character in a String |
Java |
37.04% |
Easy |
|
0389 |
Find the Difference |
Java |
54.96% |
Easy |
|
0390 |
Elimination Game |
Java |
36.48% |
Medium |
|
0396 |
Rotate Function |
Java |
35.48% |
Medium |
|
0400 |
Nth Digit |
Java |
30.86% |
Easy |
|
0401 |
Binary Watch |
Java |
45.50% |
Easy |
|
0404 |
Sum of Left Leaves |
Java |
49.23% |
Easy |
|
0405 |
Convert a Number to Hexadecimal |
Java |
44.46% |
Easy |
|
0409 |
Longest Palindrome |
Java |
46.80% |
Easy |
|
0412 |
Fizz Buzz |
Java |
58.52% |
Easy |
|
0414 |
Third Maximum Number |
Java |
31.06% |
Easy |
|
0478 |
Generate Random Point in a Circle |
Java |
30.95% |
Medium |
|
0500 |
Keyboard Row |
Java |
65.26% |
Easy |
|
0547 |
Friend Circles |
Java |
49.31% |
Medium |
|
0561 |
Array Partition I |
Java |
64.27% |
Easy |
|
0567 |
Permutation in String |
Java |
32.64% |
Medium |
|
0649 |
Dota2 Senate |
Java |
34.75% |
Medium |
|
0704 |
Binary Search |
Java |
47.65% |
Easy |
|
0753 |
Cracking the Safe |
Java |
49.83% |
Hard |
|
0769 |
Max Chunks To Make Sorted |
Java |
44.02% |
Medium |
|
0843 |
Guess the Word |
Java |
24.79% |
Hard |
|
0846 |
Hand of Straights |
|
40.67% |
Medium |
|
0914 |
X of a Kind in a Deck of Cards |
Java |
30.04% |
Easy |
|
0917 |
Reverse Only Letters |
Java |
45.74% |
Easy |
|
0918 |
Maximum Sum Circular Subarray |
Java |
23.66% |
Medium |
|
0919 |
Complete Binary Tree Inserter |
Java |
41.10% |
Medium |
|
0925 |
Long Pressed Name |
Java |
40.38% |
Easy |
|
0926 |
Flip String to Monotone Increasing |
Java |
37.51% |
Medium |
|
0929 |
Unique Email Addresses |
Java |
69.92% |
Easy |
|
0930 |
Binary Subarrays With Sum |
Java |
28.89% |
Medium |
|
0931 |
Minimum Falling Path Sum |
Java |
51.54% |
Medium |
|
0932 |
Beautiful Array |
Java |
49.58% |
Medium |
|