| 2 |
Add Two Numbers |
C++ |
16 ms |
| 4 |
Median of Two Sorted Arrays |
C++ |
32 ms |
| 8 |
String to Integer (atoi) |
C++ |
0 ms |
| 10 |
Regular Expression Matching |
C++ |
7 ms |
| 11 |
Container With Most Water |
C++ |
101 ms |
| 12 |
Integer to Roman |
C++ |
8 ms |
| 13 |
Roman to Integer |
C++ |
20 ms |
| 17 |
Letter Combinations of a Phone Number |
C++ |
0 ms |
| 19 |
Remove Nth Node From End of List |
C++ |
7 ms |
| 21 |
Merge Two Sorted Lists |
C++ |
11 ms |
| 25 |
Reverse Nodes in k-Group |
C++ |
4 ms |
| 28 |
Implement strStr() |
C++ |
1356 ms |
| 31 |
Next Permutation |
C++ |
0 ms |
| 32 |
Longest Valid Parentheses |
C++ |
6 ms |
| 33 |
Search in Rotated Sorted Array |
C++ |
4 ms |
| 34 |
Find First and Last Position of Element in Sorted Array |
C++ |
16 ms |
| 36 |
Valid Sudoku |
C++ |
36 ms |
| 37 |
Sudoku Solver |
C++ |
50 ms |
| 39 |
Combination Sum |
C++ |
7 ms |
| 43 |
Multiply Strings |
C++ |
4 ms |
| 51 |
N-Queens |
C++ |
25 ms |
| 54 |
Spiral Matrix |
C++ |
0 ms |
| 55 |
Jump Game |
C++ |
72 ms |
| 59 |
Spiral Matrix II |
C++ |
0 ms |
| 62 |
Unique Paths |
C++ |
0 ms |
| 66 |
Plus One |
C++ |
N/A |
| 67 |
Add Binary |
C++ |
4 ms |
| 69 |
Sqrt(x) |
C++ |
0 ms |
| 70 |
Climbing Stairs |
C++ |
0 ms |
| 72 |
Edit Distance |
C++ |
9 ms |
| 76 |
Minimum Window Substring |
C++ |
|
| 80 |
Remove Duplicates from Sorted Array II |
C++ |
8 ms |
| 81 |
Search in Rotated Sorted Array II |
C++ |
10 ms |
| 82 |
Remove Duplicates from Sorted List II |
C++ |
15 ms |
| 83 |
Remove Duplicates from Sorted List |
C++ |
8 ms |
| 84 |
Largest Rectangle in Histogram |
C++ |
244 ms |
| 86 |
Partition List |
C++ |
8 ms |
| 92 |
Reverse Linked List II |
C++ |
0 ms |
| 94 |
Binary Tree Inorder Traversal |
C++ |
4 ms |
| 96 |
Unique Binary Search Trees |
C++ |
|
| 97 |
Interleaving String |
C++ |
0 ms |
| 105 |
Construct Binary Tree from Preorder and Inorder Traversal |
C++ |
28 ms |
| 113 |
Path Sum II |
C++ |
12 ms |
| 114 |
Flatten Binary Tree to Linked List |
C++ |
20 ms |
| 118 |
Pascal's Triangle |
C++ |
0 ms |
| 120 |
Triangle |
C++ |
14 ms |
| 123 |
Best Time to Buy and Sell Stock III |
C++ |
220 ms |
| 124 |
Binary Tree Maximum Path Sum |
C++ |
39 ms |
| 127 |
Word Ladder |
C++ |
870 ms |
| 130 |
Surrounded Regions |
C++ |
12 ms |
| 131 |
Palindrome Partitioning |
C++ |
202 ms |
| 133 |
Clone Graph |
C++ |
8 ms |
| 134 |
Gas Station |
C++ |
4 ms |
| 137 |
Single Number II |
C++ |
14 ms |
| 140 |
Word Break II |
C++ |
0 ms |
| 143 |
Reorder List |
C++ |
32 ms |
| 144 |
Binary Tree Preorder Traversal |
C++ |
8 ms |
| 147 |
Insertion Sort List |
C++ |
44 ms |
| 151 |
Reverse Words in a String |
C++ |
4 ms |
| 152 |
Maximum Product Subarray |
C++ |
15 ms |
| 153 |
Find Minimum in Rotated Sorted Array |
C++ |
4 ms |
| 174 |
Dungeon Game |
C++ |
8 ms |
| 179 |
Largest Number |
C++ |
|
| 190 |
Reverse Bits |
C++ |
3 ms |
| 198 |
House Robber |
C++ |
0 ms |
| 207 |
Course Schedule |
C++ |
24 ms |
| 209 |
Minimum Size Subarray Sum |
C++ |
58 ms |
| 212 |
Word Search II |
C++ |
2330 ms |
| 214 |
Shortest Palindrome |
C++ |
4 ms |
| 235 |
Lowest Common Ancestor of a Binary Search Tree |
C++ |
47 ms |
| 273 |
Integer to English Words |
C++ |
0 ms |
| 279 |
Perfect Squares |
C++ |
107 ms |
| 290 |
Word Pattern |
C++ |
0 ms |
| 309 |
Best Time to Buy and Sell Stock with Cooldown |
C++ |
13 ms |
| 312 |
Burst Balloons |
C++ |
600 ms |
| 328 |
Odd Even Linked List |
C++ |
26 ms |
| 329 |
Longest Increasing Path in a Matrix |
C++ |
54 ms |
| 373 |
Find K Pairs with Smallest Sums |
C++ |
100 ms |
| 378 |
Kth Smallest Element in a Sorted Matrix |
C++ |
27 ms |
| 404 |
Sum of Left Leaves |
C++ |
4 ms |
| 410 |
Split Array Largest Sum |
C++ |
3 ms |
| 413 |
Arithmetic Slices |
C++ |
4 ms |
| 415 |
Add Strings |
C++ |
4 ms |
| 432 |
All O`one Data Structure |
C++ |
147 ms |
| 463 |
Island Perimeter |
C++ |
139 ms |
| 475 |
Heaters |
C++ |
|
| 486 |
Predict the Winner |
C++ |
118 ms |
| 496 |
Next Greater Element I |
C++ |
4 ms |
| 503 |
Next Greater Element II |
C++ |
32 ms |
| 552 |
Student Attendance Record II |
C++ |
360 ms |
| 572 |
Subtree of Another Tree |
C++ |
N/A |
| 581 |
Shortest Unsorted Continuous Subarray |
C++ |
32 ms |
| 605 |
Can Place Flowers |
C++ |
19 ms |
| 628 |
Maximum Product of Three Numbers |
C++ |
56 ms |
| 630 |
Course Schedule III |
C++ |
625 ms |
| 636 |
Exclusive Time of Functions |
C++ |
|
| 671 |
Second Minimum Node In a Binary Tree |
C++ |
0 ms |
| 678 |
Valid Parenthesis String |
C++ |
0 ms |
| 698 |
Partition to K Equal Sum Subsets |
C++ |
950 ms |
| 705 |
Design HashSet |
C++ |
270 ms |
| 706 |
Design HashMap |
C++ |
256 ms |
| 707 |
Design Linked List |
C++ |
46 ms |
| 740 |
Delete and Earn |
C++ |
11 ms |
| 741 |
Cherry Pickup |
C++ |
111 ms |
| 743 |
Network Delay Time |
C++ |
251 ms |
| 765 |
Couples Holding Hands |
C++ |
2 ms |
| 783 |
Minimum Distance Between BST Nodes |
C++ |
8 ms |
| 787 |
Cheapest Flights Within K Stops |
C++ |
473 ms |
| 799 |
Champagne Tower |
C++ |
4 ms |
| 817 |
Linked List Components |
C++ |
99 ms |
| 847 |
Shortest Path Visiting All Nodes |
C++ |
171 ms |
| 852 |
Peak Index in a Mountain Array |
C++ |
11 ms |
| 863 |
All Nodes Distance K in Binary Tree |
C++ |
12 ms |
| 872 |
Leaf-Similar Trees |
C++ |
11 ms |
| 875 |
Koko Eating Bananas |
C++ |
40 ms |
| 883 |
Projection Area of 3D Shapes |
C++ |
8 ms |
| 885 |
Spiral Matrix III |
C++ |
16 ms |
| 910 |
Smallest Range II |
C++ |
26 ms |
| 938 |
Range Sum of BST |
C++ |
334 ms |
| 941 |
Valid Mountain Array |
C++ |
28 ms |
| 968 |
Binary Tree Cameras |
C++ |
|
| 974 |
Subarray Sums Divisible by K |
C++ |
76 ms |
| 980 |
Unique Paths III |
C++ |
0 ms |
| 983 |
Minimum Cost For Tickets |
C++ |
4 ms |
| 984 |
String Without AAA or BBB |
C++ |
0 ms |
| 985 |
Sum of Even Numbers After Queries |
C++ |
234 ms |
| 989 |
Add to Array-Form of Integer |
C++ |
28 ms |
| 997 |
Find the Town Judge |
C++ |
448 ms |
| 1009 |
Complement of Base 10 Integer |
C++ |
0 ms |
| 1010 |
Pairs of Songs With Total Durations Divisible by 60 |
C++ |
30 ms |
| 1011 |
Capacity To Ship Packages Within D Days |
C++ |
101 ms |
| 1022 |
Sum of Root To Leaf Binary Numbers |
C++ |
0 ms |
| 1026 |
Maximum Difference Between Node and Ancestor |
C++ |
7 ms |
| 1038 |
Binary Search Tree to Greater Sum Tree |
C++ |
3 ms |
| 1041 |
Robot Bounded In Circle |
C++ |
0 ms |
| 1089 |
Duplicate Zeros |
C++ |
8 ms |
| 1092 |
Shortest Common Supersequence |
C++ |
592 ms |
| 1094 |
Car Pooling |
C++ |
12 ms |
| 1201 |
Ugly Number III |
C++ |
0 ms |
| 1219 |
Path with Maximum Gold |
C++ |
383 ms |
| 1235 |
Maximum Profit in Job Scheduling |
C++ |
144 ms |
| 1249 |
Minimum Remove to Make Valid Parentheses |
C++ |
27 ms |
| 1254 |
Number of Closed Islands |
C++ |
18 ms |
| 1289 |
Minimum Falling Path Sum II |
C++ |
992 ms |
| 1326 |
Minimum Number of Taps to Open to Water a Garden |
C++ |
12 ms |
| 1334 |
Find the City With the Smallest Number of Neighbors at a Threshold Distance |
C++ |
91 ms |
| 1359 |
Count All Valid Pickup and Delivery Options |
C++ |
2 ms |
| 1376 |
Time Needed to Inform All Employees |
C++ |
N/A |
| 1405 |
Longest Happy String |
C++ |
0 ms |
| 1424 |
Diagonal Traverse II |
C++ |
340 ms |
| 1463 |
Cherry Pickup II |
C++ |
191 ms |
| 1497 |
Check If Array Pairs Are Divisible by k |
C++ |
175 ms |
| 1499 |
Max Value of Equation |
C++ |
450 ms |
| 1510 |
Stone Game IV |
C++ |
53 ms |
| 1514 |
Path with Maximum Probability |
C++ |
217 ms |
| 1524 |
Number of Sub-arrays With Odd Sum |
C++ |
218 ms |
| 1541 |
Minimum Insertions to Balance a Parentheses String |
C++ |
38 ms |
| 1575 |
Count All Possible Routes |
C++ |
248 ms |
| 1593 |
Split a String Into the Max Number of Unique Substrings |
C++ |
|
| 1639 |
Number of Ways to Form a Target String Given a Dictionary |
C++ |
240 ms |
| 1657 |
Determine if Two Strings Are Close |
C++ |
74 ms |
| 1691 |
Maximum Height by Stacking Cuboids |
C++ |
|
| 1721 |
Swapping Nodes in a Linked List |
C++ |
668 ms |
| 1722 |
Minimize Hamming Distance After Swap Operations |
C++ |
942 ms |
| 1723 |
Find Minimum Time to Finish All Jobs |
C++ |
8 ms |
| 1882 |
Process Tasks Using Servers |
C++ |
404 ms |
| 1888 |
Minimum Number of Flips to Make the Binary String Alternating |
C++ |
692 ms |
| 1895 |
Largest Magic Square |
C++ |
168 ms |
| 1901 |
Find a Peak Element II |
C++ |
194 ms |
| 1926 |
Nearest Exit from Entrance in Maze |
C++ |
152 ms |
| 1927 |
Sum Game |
C++ |
16 ms |
| 1928 |
Minimum Cost to Reach Destination in Time |
C++ |
|
| 1931 |
Painting a Grid With Three Different Colors |
C++ |
100 ms |
| 1932 |
Merge BSTs to Create Single BST |
C++ |
788 ms |
| 1936 |
Add Minimum Number of Rungs |
C++ |
92 ms |
| 1937 |
Maximum Number of Points with Cost |
C++ |
308 ms |
| 1938 |
Maximum Genetic Difference Query |
C++ |
804 ms |
| 1963 |
Minimum Number of Swaps to Make the String Balanced |
C++ |
132 ms |
| 1970 |
Last Day Where You Can Still Cross |
C++ |
727 ms |
| 1976 |
Number of Ways to Arrive at Destination |
C++ |
95 ms |
| 1981 |
Minimize the Difference Between Target and Chosen Elements |
C++ |
|
| 1994 |
The Number of Good Subsets |
C++ |
288 ms |
| 2025 |
Maximum Number of Ways to Partition an Array |
C++ |
1000 ms |
| 2045 |
Second Minimum Time to Reach Destination |
C++ |
862 ms |
| 2063 |
Vowels of All Substrings |
C++ |
39 ms |
| 2064 |
Minimized Maximum of Products Distributed to Any Store |
C++ |
405 ms |
| 2074 |
Reverse Nodes in Even Length Groups |
C++ |
1092 ms |
| 2088 |
Count Fertile Pyramids in a Land |
C++ |
155 ms |
| 2089 |
Find Target Indices After Sorting Array |
C++ |
7 ms |
| 2095 |
Delete the Middle Node of a Linked List |
C++ |
1661 ms |
| 2096 |
Step-By-Step Directions From a Binary Tree Node to Another |
C++ |
425 ms |
| 2207 |
Maximize Number of Subsequences in a String |
C++ |
264 ms |
| 2208 |
Minimum Operations to Halve Array Sum |
C++ |
228 ms |
| 2209 |
Minimum White Tiles After Covering With Carpets |
C++ |
1779 ms |
| 2226 |
Maximum Candies Allocated to K Children |
C++ |
541 ms |
| 2271 |
Maximum White Tiles Covered by a Carpet |
C++ |
376 ms |
| 2272 |
Substring With Largest Variance |
C++ |
156 ms |
| 2279 |
Maximum Bags With Full Capacity of Rocks |
C++ |
187 ms |
| 2305 |
Fair Distribution of Cookies |
C++ |
2773 ms |
| 2328 |
Number of Increasing Paths in a Grid |
C++ |
511 ms |
| 2368 |
Reachable Nodes With Restrictions |
C++ |
1608 ms |