| 1 |
Two Sum |
C++ |
|
| 2 |
Add Two Numbers |
C++ |
36 ms |
| 3 |
Longest Substring Without Repeating Characters |
C++ |
8 ms |
| 5 |
Longest Palindromic Substring |
C++ |
148 ms |
| 11 |
Container With Most Water |
C++ |
80 ms |
| 18 |
4Sum |
C++ |
64 ms |
| 19 |
Remove Nth Node From End of List |
C++ |
0 ms |
| 21 |
Merge Two Sorted Lists |
C++ |
8 ms |
| 23 |
Merge k Sorted Lists |
C++ |
32 ms |
| 24 |
Swap Nodes in Pairs |
C++ |
0 ms |
| 25 |
Reverse Nodes in k-Group |
C++ |
16 ms |
| 31 |
Next Permutation |
C++ |
4 ms |
| 38 |
Count and Say |
C++ |
|
| 61 |
Rotate List |
C++ |
8 ms |
| 71 |
Simplify Path |
C++ |
0 ms |
| 73 |
Set Matrix Zeroes |
C++ |
48 ms |
| 75 |
Sort Colors |
C++ |
4 ms |
| 82 |
Remove Duplicates from Sorted List II |
C++ |
12 ms |
| 83 |
Remove Duplicates from Sorted List |
C++ |
|
| 86 |
Partition List |
C++ |
8 ms |
| 88 |
Merge Sorted Array |
C++ |
4 ms |
| 92 |
Reverse Linked List II |
C++ |
8 ms |
| 94 |
Binary Tree Inorder Traversal |
C++ |
0 ms |
| 101 |
Symmetric Tree |
C++ |
8 ms |
| 102 |
Binary Tree Level Order Traversal |
C++ |
16 ms |
| 103 |
Binary Tree Zigzag Level Order Traversal |
C++ |
0 ms |
| 104 |
Maximum Depth of Binary Tree |
C++ |
12 ms |
| 118 |
Pascal's Triangle |
C++ |
0 ms |
| 121 |
Best Time to Buy and Sell Stock |
C++ |
112 ms |
| 124 |
Binary Tree Maximum Path Sum |
C++ |
40 ms |
| 127 |
Word Ladder |
C++ |
416 ms |
| 128 |
Longest Consecutive Sequence |
C++ |
|
| 129 |
Sum Root to Leaf Numbers |
C++ |
0 ms |
| 133 |
Clone Graph |
C++ |
4 ms |
| 136 |
Single Number |
C++ |
28 ms |
| 138 |
Copy List with Random Pointer |
C++ |
0 ms |
| 141 |
Linked List Cycle |
C++ |
|
| 142 |
Linked List Cycle II |
C++ |
12 ms |
| 144 |
Binary Tree Preorder Traversal |
C++ |
4 ms |
| 145 |
Binary Tree Postorder Traversal |
C++ |
0 ms |
| 151 |
Reverse Words in a String |
C++ |
4 ms |
| 160 |
Intersection of Two Linked Lists |
C++ |
40 ms |
| 191 |
Number of 1 Bits |
C++ |
0 ms |
| 202 |
Happy Number |
C++ |
0 ms |
| 203 |
Remove Linked List Elements |
C++ |
36 ms |
| 206 |
Reverse Linked List |
C++ |
8 ms |
| 217 |
Contains Duplicate |
C++ |
48 ms |
| 219 |
Contains Duplicate II |
C++ |
36 ms |
| 222 |
Count Complete Tree Nodes |
C++ |
40 ms |
| 225 |
Implement Stack using Queues |
C++ |
0 ms |
| 230 |
Kth Smallest Element in a BST |
C++ |
20 ms |
| 232 |
Implement Queue using Stacks |
C++ |
|
| 234 |
Palindrome Linked List |
C++ |
|
| 236 |
Lowest Common Ancestor of a Binary Tree |
C++ |
20 ms |
| 237 |
Delete Node in a Linked List |
C++ |
16 ms |
| 240 |
Search a 2D Matrix II |
C++ |
108 ms |
| 284 |
Peeking Iterator |
C++ |
0 ms |
| 287 |
Find the Duplicate Number |
C++ |
12 ms |
| 328 |
Odd Even Linked List |
C++ |
8 ms |
| 344 |
Reverse String |
C++ |
28 ms |
| 430 |
Flatten a Multilevel Doubly Linked List |
C++ |
4 ms |
| 461 |
Hamming Distance |
C++ |
0 ms |
| 494 |
Target Sum |
C++ |
8 ms |
| 496 |
Next Greater Element I |
C++ |
12 ms |
| 501 |
Find Mode in Binary Search Tree |
C++ |
28 ms |
| 524 |
Longest Word in Dictionary through Deleting |
C++ |
52 ms |
| 526 |
Beautiful Arrangement |
C++ |
4 ms |
| 538 |
Convert BST to Greater Tree |
C++ |
32 ms |
| 543 |
Diameter of Binary Tree |
C++ |
56 ms |
| 559 |
Maximum Depth of N-ary Tree |
C++ |
20 ms |
| 581 |
Shortest Unsorted Continuous Subarray |
C++ |
28 ms |
| 594 |
Longest Harmonious Subsequence |
C++ |
76 ms |
| 599 |
Minimum Index Sum of Two Lists |
C++ |
|
| 623 |
Add One Row to Tree |
C++ |
24 ms |
| 637 |
Average of Levels in Binary Tree |
C++ |
20 ms |
| 669 |
Trim a Binary Search Tree |
C++ |
16 ms |
| 695 |
Max Area of Island |
C++ |
32 ms |
| 697 |
Degree of an Array |
C++ |
124 ms |
| 714 |
Best Time to Buy and Sell Stock with Transaction Fee |
C++ |
84 ms |
| 728 |
Self Dividing Numbers |
C++ |
0 ms |
| 821 |
Shortest Distance to a Character |
C++ |
0 ms |
| 863 |
All Nodes Distance K in Binary Tree |
C++ |
12 ms |
| 865 |
Smallest Subtree with all the Deepest Nodes |
C++ |
0 ms |
| 876 |
Middle of the Linked List |
C++ |
0 ms |
| 881 |
Boats to Save People |
C++ |
72 ms |
| 896 |
Monotonic Array |
C++ |
128 ms |
| 897 |
Increasing Order Search Tree |
C++ |
4 ms |
| 930 |
Binary Subarrays With Sum |
C++ |
116 ms |
| 938 |
Range Sum of BST |
C++ |
112 ms |
| 946 |
Validate Stack Sequences |
C++ |
8 ms |
| 965 |
Univalued Binary Tree |
C++ |
0 ms |
| 987 |
Vertical Order Traversal of a Binary Tree |
C++ |
4 ms |
| 993 |
Cousins in Binary Tree |
C++ |
4 ms |
| 1022 |
Sum of Root To Leaf Binary Numbers |
C++ |
8 ms |
| 1071 |
Greatest Common Divisor of Strings |
C++ |
4 ms |
| 1137 |
N-th Tribonacci Number |
C++ |
0 ms |
| 1189 |
Maximum Number of Balloons |
C++ |
4 ms |
| 1207 |
Unique Number of Occurrences |
C++ |
0 ms |
| 1261 |
Find Elements in a Contaminated Binary Tree |
C++ |
60 ms |
| 1290 |
Convert Binary Number in a Linked List to Integer |
C++ |
0 ms |
| 1329 |
Sort the Matrix Diagonally |
C++ |
8 ms |
| 1342 |
Number of Steps to Reduce a Number to Zero |
C++ |
0 ms |
| 1351 |
Count Negative Numbers in a Sorted Matrix |
C++ |
16 ms |
| 1356 |
Sort Integers by The Number of 1 Bits |
C++ |
4 ms |
| 1379 |
Find a Corresponding Node of a Binary Tree in a Clone of That Tree |
C++ |
740 ms |
| 1437 |
Check If All 1's Are at Least Length K Places Away |
C++ |
56 ms |
| 1448 |
Count Good Nodes in Binary Tree |
C++ |
172 ms |
| 1486 |
XOR Operation in an Array |
C++ |
0 ms |
| 1512 |
Number of Good Pairs |
C++ |
0 ms |
| 1539 |
Kth Missing Positive Number |
C++ |
8 ms |
| 1609 |
Even Odd Tree |
C++ |
348 ms |
| 1631 |
Path With Minimum Effort |
C++ |
236 ms |
| 1640 |
Check Array Formation Through Concatenation |
C++ |
8 ms |
| 1641 |
Count Sorted Vowel Strings |
C++ |
4 ms |
| 1649 |
Create Sorted Array through Instructions |
C++ |
568 ms |
| 1657 |
Determine if Two Strings Are Close |
C++ |
72 ms |
| 1662 |
Check If Two String Arrays are Equivalent |
C++ |
4 ms |
| 1663 |
Smallest String With A Given Numeric Value |
C++ |
36 ms |
| 1679 |
Max Number of K-Sum Pairs |
C++ |
364 ms |
| 1680 |
Concatenation of Consecutive Binary Numbers |
C++ |
88 ms |
| 1688 |
Count of Matches in Tournament |
C++ |
0 ms |
| 1689 |
Partitioning Into Minimum Number Of Deci-Binary Numbers |
C++ |
44 ms |
| 1720 |
Decode XORed Array |
C++ |
28 ms |
| 1721 |
Swapping Nodes in a Linked List |
C++ |
576 ms |