2149 |
Rearrange Array Elements by Sign |
Solution |
|
Medium |
98 |
Validate Binary Search Tree |
Solution |
|
Medium |
1347 |
Minimum Number of Steps to Make Two Strings Anagram |
Solution |
|
Medium |
204 |
Count Primes |
Solution |
|
Medium |
19 |
Remove Nth Node From End of List |
Solution |
|
Medium |
2125 |
Number of Laser Beams in a Bank |
Solution |
|
Medium |
1630 |
Arithmetic Subarrays |
Solution |
|
Medium |
1109 |
Corporate Flight Bookings |
Solution |
|
Medium |
1769 |
Minimum Number of Operations to Move All Balls to Each Box |
Solution |
|
Medium |
34 |
Find First and Last Position of Element in Sorted Array |
Solution |
|
Medium |
187 |
Repeated DNA Sequences |
Solution |
|
Medium |
378 |
Kth Smallest Element in a Sorted Matrix |
Solution |
|
Medium |
560 |
Subarray Sum Equals K |
Solution |
|
Medium |
2120 |
Execution of All Suffix Instructions Staying in a Grid |
Solution |
|
Medium |
2043 |
Simple Bank System |
Solution |
|
Medium |
148 |
Sort List |
Solution |
|
Medium |
24 |
Swap Nodes in Pairs |
Solution |
|
Medium |
2221 |
Find Triangular Sum of an Array |
Solution |
|
Medium |
1529 |
Minimum Suffix Flips |
Solution |
|
Medium |
287 |
Find the Duplicate Number |
Solution |
|
Medium |
215 |
Kth Largest Element in an Array |
Solution |
|
Medium |
229 |
Majority Element II |
Solution |
|
Medium |
1508 |
Range Sum of Sorted Subarray Sums |
Solution |
|
Medium |
398 |
Random Pick Index |
Solution |
|
Medium |
1023 |
Camelcase Matching |
Solution |
|
Medium |
1828 |
Queries on Number of Points Inside a Circle |
Solution |
|
Medium |
1433 |
Check If a String Can Break Another String |
Solution |
|
Medium |
7 |
Reverse Integer |
Solution |
|
Medium |
1721 |
Swapping Nodes in a Linked List |
Solution |
|
Medium |
1282 |
Group the People Given the Group Size They Belong To |
Solution |
|
Medium |
1222 |
Queens That Can Attack the King |
Solution |
|
Medium |
1352 |
Product of the Last K Numbers |
Solution |
|
Medium |
763 |
Partition Labels |
Solution |
|
Medium |
1669 |
Merge In Between Linked Lists |
Solution |
|
Medium |
729 |
My Calendar I |
Solution |
|
Medium |
142 |
Linked List Cycle II |
Solution |
|
Medium |
1409 |
Queries on a Permutation With Key |
Solution |
|
Medium |
701 |
Insert into a Binary Search Tree |
Solution |
|
Medium |
380 |
Insert Delete GetRandom O(1) |
Solution |
|
Medium |
49 |
Group Anagrams |
Solution |
|
Medium |
477 |
Total Hamming Distance |
Solution |
|
Medium |
665 |
Non-decreasing Array |
Solution |
|
Medium |
1823 |
Find the Winner of the Circular Game |
Solution |
|
Medium |
2130 |
Maximum Twin Sum of a Linked List |
Solution |
|
Medium |
973 |
K Closest Points to Origin |
Solution |
|
Medium |
1860 |
Incremental Memory Leak |
Solution |
|
Medium |
442 |
Find All Duplicates in an Array |
Solution |
|
Medium |
676 |
Implement Magic Dictionary |
Solution |
|
Medium |
2095 |
Delete the Middle Node of a Linked List |
Solution |
|
Medium |
921 |
Minimum Add to Make Parentheses Valid |
Solution |
|
Medium |
384 |
Shuffle an Array |
Solution |
|
Medium |
535 |
Encode and Decode TinyURL |
Solution |
|
Medium |
1877 |
Minimize Maximum Pair Sum in Array |
Solution |
|
Medium |
1551 |
Minimum Operations to Make Array Equal |
Solution |
|
Medium |
985 |
Sum of Even Numbers After Queries |
Solution |
|
Medium |
901 |
Online Stock Span |
Solution |
|
Medium |
147 |
Insertion Sort List |
Solution |
|
Medium |
347 |
Top K Frequent Elements |
Solution |
|
Medium |
1381 |
Design a Stack With Increment Operation |
Solution |
|
Medium |
56 |
Merge Intervals |
Solution |
|
Medium |
1817 |
Finding the Users Active Minutes |
Solution |
|
Medium |
1561 |
Maximum Number of Coins You Can Get |
Solution |
|
Medium |
677 |
Map Sum Pairs |
Solution |
|
Medium |
1305 |
All Elements in Two Binary Search Trees |
Solution |
|
Medium |
207 |
Course Schedule |
Solution |
|
Medium |
230 |
Kth Smallest Element in a BST |
Solution |
|
Medium |
848 |
Shifting Letters |
Solution |
|
Medium |
2161 |
Partition Array According to Given Pivot |
Solution |
|
Medium |
1038 |
Binary Search Tree to Greater Sum Tree |
Solution |
|
Medium |
382 |
Linked List Random Node |
Solution |
|
Medium |
1315 |
Sum of Nodes with Even-Valued Grandparent |
Solution |
|
Medium |
1929 |
Concatenation of Array |
Solution |
|
Easy |
1920 |
Build Array from Permutation |
Solution |
|
Easy |
1108 |
Defanging an IP Address |
Solution |
|
Easy |
1512 |
Number of Good Pairs |
Solution |
|
Easy |
2011 |
Final Value of Variable After Performing Operations |
Solution |
|
Easy |
771 |
Jewels and Stones |
Solution |
|
Easy |
1470 |
Shuffle the Array |
Solution |
|
Easy |
1603 |
Design Parking System |
Solution |
|
Easy |
1637 |
Widest Vertical Area Between Two Points Containing No Points |
Solution |
|
Easy |
1672 |
Richest Customer Wealth |
Solution |
|
Easy |
1431 |
Kids With the Greatest Number of Candies |
Solution |
|
Easy |
1678 |
Goal Parser Interpretation |
Solution |
|
Easy |
938 |
Range Sum of BST |
Solution |
|
Easy |
1480 |
Running Sum of 1d Array |
Solution |
|
Easy |
1365 |
How Many Numbers Are Smaller Than the Current Number |
Solution |
|
Easy |
1281 |
Subtract the Product and Sum of Digits of an Integer |
Solution |
|
Easy |
2114 |
Maximum Number of Words Found in Sentences |
Solution |
|
Easy |
1221 |
Split a String in Balanced Strings |
Solution |
|
Easy |
1688 |
Count of Matches in Tournament |
Solution |
|
Easy |
1379 |
Find a Corresponding Node of a Binary Tree in a Clone of That Tree |
Solution |
|
Easy |
1313 |
Decompress Run-Length Encoded List |
Solution |
|
Easy |
1486 |
XOR Operation in an Array |
Solution |
|
Easy |
1662 |
Check If Two String Arrays are Equivalent |
Solution |
|
Easy |
1342 |
Number of Steps to Reduce a Number to Zero |
Solution |
|
Easy |
1773 |
Count Items Matching a Rule |
Solution |
|
Easy |
1528 |
Shuffle String |
Solution |
|
Easy |
1816 |
Truncate Sentence |
Solution |
|
Easy |
2236 |
Root Equals Sum of Children |
Solution |
|
Easy |
2194 |
Cells in a Range on an Excel Sheet |
Solution |
|
Easy |
2108 |
Find First Palindromic String in the Array |
Solution |
|
Easy |
2325 |
Decode the Message |
Solution |
|
Easy |
2006 |
Count Number of Pairs With Absolute Difference K |
Solution |
|
Easy |
709 |
To Lower Case |
Solution |
|
Easy |
1832 |
Check if the Sentence Is Pangram |
Solution |
|
Easy |
557 |
Reverse Words in a String III |
Solution |
|
Easy |
1859 |
Sorting the Sentence |
Solution |
|
Easy |
1684 |
Count the Number of Consistent Strings |
Solution |
|
Easy |
1732 |
Find the Highest Altitude |
Solution |
|
Easy |
1572 |
Matrix Diagonal Sum |
Solution |
|
Easy |
1913 |
Maximum Product Difference Between Two Pairs |
Solution |
|
Easy |
1464 |
Maximum Product of Two Elements in an Array |
Solution |
|
Easy |
1323 |
Maximum 69 Number |
Solution |
|
Easy |
2315 |
Count Asterisks |
Solution |
|
Easy |
2037 |
Minimum Number of Moves to Seat Everyone |
Solution |
|
Easy |
832 |
Flipping an Image |
Solution |
|
Easy |
1614 |
Maximum Nesting Depth of the Parentheses |
Solution |
|
Easy |
1290 |
Convert Binary Number in a Linked List to Integer |
Solution |
|
Easy |
1534 |
Count Good Triplets |
Solution |
|
Easy |
1844 |
Replace All Digits with Characters |
Solution |
|
Easy |
169 |
Majority Element |
Solution |
|
Easy |