1957 |
Delete Characters to Make Fancy String |
Easy |
|
solution |
py |
Nov 04, 2024 |
796 |
Rotate String |
Easy |
|
solution |
py |
Nov 04, 2024 |
2955 |
Number of Same-End Substrings |
Medium |
Weekly Premium |
solution |
py |
Nov 04, 2024 |
443 |
String Compression |
Medium |
|
solution |
py |
Nov 04, 2024 |
3163 |
String Compression III |
Medium |
Daily |
solution |
py |
Nov 04, 2024 |
2684 |
Maximum Number of Moves in a Grid |
Medium |
Daily |
solution |
py |
Oct 29, 2024 |
2349 |
Design a Number Container System |
Medium |
|
solution |
py |
Oct 28, 2024 |
662 |
Maximum Width of Binary Tree |
Medium |
|
solution |
py |
Oct 28, 2024 |
2501 |
Longest Square Streak in an Array |
Medium |
Daily |
solution |
py |
Oct 28, 2024 |
1429 |
First Unique Number |
Medium |
|
solution |
py |
Oct 26, 2024 |
2664 |
The Knight’s Tour |
Medium |
Weekly Premium |
solution |
py |
Oct 26, 2024 |
1376 |
Time Needed to Inform All Employees |
Medium |
|
solution |
py |
Oct 26, 2024 |
2458 |
Height of Binary Tree After Subtree Removal Queries |
Hard |
Daily |
solution |
py |
Oct 26, 2024 |
981 |
Time Based Key-Value Store |
Medium |
N150 |
solution |
py |
Oct 24, 2024 |
213 |
House Robber II |
Medium |
B75, N150 |
solution |
py |
Oct 24, 2024 |
54 |
Spiral Matrix |
Medium |
B75, N150 |
solution |
py |
Oct 24, 2024 |
362 |
Design Hit Counter |
Medium |
|
solution |
py |
Oct 24, 2024 |
951 |
Flip Equivalent Binary Trees |
Medium |
Daily |
solution |
py |
Oct 24, 2024 |
2583 |
Kth Largest Sum in a Binary Tree |
Medium |
Daily |
solution |
py |
Oct 22, 2024 |
1133 |
Largest Unique Number |
Easy |
Weekly Premium |
solution |
py |
Oct 01, 2024 |
1497 |
Check If Array Pairs Are Divisible by k |
Medium |
Daily |
solution |
py |
Oct 01, 2024 |
641 |
Design Circular Deque |
Medium |
|
solution |
py |
Sep 30, 2024 |
729 |
My Calendar I |
Medium |
Daily |
solution |
py |
Sep 26, 2024 |
2416 |
Sum of Prefix Scores of Strings |
Hard |
Daily |
solution |
py |
Sep 25, 2024 |
480 |
Sliding Window Median |
Hard |
|
solution |
py |
Sep 25, 2024 |
2451 |
Odd String Difference |
Easy |
|
solution |
py |
Sep 25, 2024 |
1452 |
People Whose List of Favorite Companies Is Not a Subset of Another List |
Medium |
|
solution |
py |
Sep 25, 2024 |
1232 |
Check If It Is a Straight Line |
Easy |
|
solution |
py |
Sep 25, 2024 |
1207 |
Unique Number of Occurrences |
Easy |
|
solution |
py |
Sep 25, 2024 |
1071 |
Greatest Common Divisor of Strings |
Easy |
|
solution |
py |
Sep 25, 2024 |
1160 |
Find Words That Can Be Formed by Characters |
Easy |
|
solution |
py |
Sep 24, 2024 |
819 |
Most Common Word |
Easy |
|
solution |
py |
Sep 24, 2024 |
559 |
Maximum Depth of N-ary Tree |
Easy |
|
solution |
py |
Sep 24, 2024 |
322 |
Coin Change |
Medium |
B75, N150 |
solution |
py |
Sep 24, 2024 |
1229 |
Meeting Scheduler |
Medium |
Weekly Premium |
solution |
py |
Sep 10, 2024 |
1367 |
Linked List in Binary Tree |
Medium |
Daily |
solution |
py |
Sep 07, 2024 |
1634 |
Add Two Polynomials Represented as Linked Lists |
Medium |
Weekly Premium |
solution |
py |
Sep 06, 2024 |
3217 |
Delete Nodes From Linked List Present in Array |
Medium |
Daily |
solution |
py |
Sep 06, 2024 |
1945 |
Sum of Digits of String After Convert |
Easy |
Daily |
solution |
py |
Sep 03, 2024 |
83 |
Remove Duplicates from Sorted List |
Easy |
|
solution |
py |
Aug 30, 2024 |
636 |
Exclusive Time of Functions |
Medium |
|
solution |
py |
Aug 28, 2024 |
590 |
N-ary Tree Postorder Traversal |
Easy |
Daily |
solution |
py |
Aug 26, 2024 |
145 |
Binary Tree Postorder Traversal |
Easy |
Daily |
solution |
py |
Aug 25, 2024 |
1325 |
Delete Leaves With a Given Value |
Medium |
|
solution |
py |
Aug 22, 2024 |
320 |
Generalized Abbreviation |
Medium |
Weekly Premium |
solution |
py |
Aug 22, 2024 |
476 |
Number Complement |
Easy |
Daily |
solution |
py |
Aug 22, 2024 |
664 |
Strange Printer |
Hard |
Daily |
solution |
py |
Aug 21, 2024 |
1140 |
Stone Game II |
Medium |
Daily |
solution |
py |
Aug 20, 2024 |
3189 |
Minimum Moves to Get a Peaceful Board |
Medium |
Weekly Premium |
solution |
py |
Aug 20, 2024 |
650 |
2 Keys Keyboard |
Medium |
Daily |
solution |
py |
Aug 19, 2024 |
624 |
Maximum Distance in Arrays |
Medium |
Daily |
solution |
py |
Aug 16, 2024 |
860 |
Lemonade Change |
Easy |
Daily |
solution |
py |
Aug 15, 2024 |
719 |
Find K-th Smallest Pair Distance |
Hard |
Daily |
solution |
py |
Aug 14, 2024 |
40 |
Combination Sum II |
Medium |
Daily, N150 |
solution |
py |
Aug 13, 2024 |
351 |
Android Unlock Patterns |
Medium |
Weekly Premium |
solution |
py |
Aug 13, 2024 |
3249 |
Count the Number of Good Nodes |
Medium |
|
solution |
py |
Aug 12, 2024 |
3248 |
Snake in Matrix |
Easy |
|
solution |
py |
Aug 12, 2024 |
1568 |
Minimum Number of Days to Disconnect Island |
Hard |
Daily |
solution |
py |
Aug 11, 2024 |
959 |
Regions Cut By Slashes |
Medium |
Daily |
solution |
py |
Aug 10, 2024 |
840 |
Magic Squares In Grid |
Medium |
Daily |
solution |
py |
Aug 09, 2024 |
885 |
Spiral Matrix III |
Medium |
Daily |
solution |
py |
Aug 08, 2024 |
3016 |
Minimum Number of Pushes to Type Word II |
Medium |
Daily |
solution |
py |
Aug 06, 2024 |
2053 |
Kth Distinct String in an Array |
Easy |
Daily |
solution |
py |
Aug 05, 2024 |
606 |
Construct String from Binary Tree |
Medium |
|
solution |
java, py |
Aug 04, 2024 |
1508 |
Range Sum of Sorted Subarray Sums |
Medium |
Daily |
solution |
py |
Aug 04, 2024 |
3242 |
Design Neighbor Sum Service |
Easy |
|
solution |
py |
Aug 04, 2024 |
3240 |
Biweekly Contest 136 - q3 - Minimum Number of Flips to Make Binary Grid Palindromic II |
Medium |
Contest |
solution |
py |
Aug 03, 2024 |
3239 |
Biweekly Contest 136 - q2 - Minimum Number of Flips to Make Binary Grid Palindromic I |
Medium |
Contest |
solution |
py |
Aug 03, 2024 |
3238 |
Biweekly Contest 136 - q1 - Find the Number of Winning Players |
Easy |
Contest |
solution |
py |
Aug 03, 2024 |
2134 |
Minimum Swaps to Group All 1's Together II |
Medium |
Daily |
solution |
py |
Aug 02, 2024 |
1062 |
Longest Repeating Substring |
Medium |
Weekly Premium |
solution |
py |
Aug 01, 2024 |
653 |
Two Sum IV - Input is a BST |
Easy |
|
solution |
py |
Jul 31, 2024 |
170 |
Two Sum III - Data structure design |
Easy |
|
solution |
py |
Jul 31, 2024 |
13 |
Roman to Integer |
Easy |
|
solution |
py |
Jul 31, 2024 |
1105 |
Filling Bookcase Shelves |
Medium |
Daily |
solution |
py |
Jul 31, 2024 |
1653 |
Minimum Deletions to Make String Balanced |
Medium |
Daily |
solution |
py |
Jul 30, 2024 |
131 |
Palindrome Partitioning |
Medium |
N150 |
solution |
py |
Jul 30, 2024 |
2304 |
Minimum Path Cost in a Grid |
Medium |
|
solution |
py |
Jul 29, 2024 |
2393 |
Count Strictly Increasing Subarrays |
Medium |
|
solution |
py |
Jul 29, 2024 |
1800 |
Maximum Ascending Subarray Sum |
Easy |
|
solution |
py |
Jul 29, 2024 |
894 |
All Possible Full Binary Trees |
Medium |
|
solution |
py |
Jul 29, 2024 |
2979 |
Most Expensive Item That Can Not Be Bought |
Medium |
|
solution |
c, cpp, go, java, js, kt, py, rs, swift, ts |
Jul 29, 2024 |
1230 |
Toss Strange Coins |
Medium |
Weekly Premium |
solution |
c, java, py |
Jul 29, 2024 |
1395 |
Count Number of Teams |
Medium |
Daily |
solution |
py |
Jul 29, 2024 |
743 |
Network Delay Time |
Medium |
N150 |
solution |
java, py |
Jul 28, 2024 |
2045 |
Second Minimum Time to Reach Destination |
Hard |
Daily |
solution |
py |
Jul 28, 2024 |
3233 |
Weekly Contest 408 - q2 - Find the Count of Numbers Which Are Not Special |
Medium |
Contest |
solution |
java, py |
Jul 28, 2024 |
3232 |
Weekly Contest 408 - q1 - Find if Digit Game Can Be Won |
Easy |
Contest |
solution |
py |
Jul 28, 2024 |
2976 |
Minimum Cost to Convert String I |
Medium |
Daily |
solution |
py |
Jul 27, 2024 |
979 |
Distribute Coins in Binary Tree |
Medium |
|
solution |
py |
Jul 26, 2024 |
938 |
Range Sum of BST |
Easy |
|
solution |
js, py |
Jul 26, 2024 |
1334 |
Find the City With the Smallest Number of Neighbors at a Threshold Distance |
Medium |
Daily |
solution |
py |
Jul 26, 2024 |
912 |
Sort an Array |
Medium |
Daily |
solution |
java, py |
Jul 25, 2024 |
2191 |
Sort the Jumbled Numbers |
Medium |
Daily |
solution |
py |
Jul 24, 2024 |
605 |
Can Place Flowers |
Easy |
|
solution |
c, cpp, java, js, py, rs, ts |
Jul 23, 2024 |
2093 |
Minimum Cost to Reach City With Discounts |
Medium |
Weekly Premium |
solution |
py |
Jul 23, 2024 |
1636 |
Sort Array by Increasing Frequency |
Easy |
Daily |
solution |
py |
Jul 23, 2024 |
2418 |
Sort the People |
Easy |
Daily |
solution |
py |
Jul 22, 2024 |
2392 |
Build a Matrix With Conditions |
Hard |
Daily |
solution |
py |
Jul 21, 2024 |
3111 |
Minimum Rectangles to Cover Points |
Medium |
|
solution |
java, py |
Jul 21, 2024 |
3228 |
Weekly Contest 407 - q3 - Maximum Number of Operations to Move Ones to the End |
Medium |
Contest |
solution |
py |
Jul 21, 2024 |
3227 |
Weekly Contest 407 - q2 - Vowels Game in a String |
Medium |
Contest |
solution |
py |
Jul 21, 2024 |
3229 |
Weekly Contest 407 - q4 - Minimum Operations to Make Array Equal to Target |
Hard |
Contest |
solution |
py |
Jul 21, 2024 |
3226 |
Weekly Contest 407 - q1 - Number of Bit Changes to Make Two Integers Equal |
Easy |
Contest |
solution |
py |
Jul 21, 2024 |
1605 |
Find Valid Matrix Given Row and Column Sums |
Medium |
Daily |
solution |
py |
Jul 20, 2024 |
1380 |
Lucky Numbers in a Matrix |
Easy |
Daily |
solution |
js, py |
Jul 19, 2024 |
1530 |
Number of Good Leaf Nodes Pairs |
Medium |
Daily |
solution |
py |
Jul 18, 2024 |
1161 |
Maximum Level Sum of a Binary Tree |
Medium |
|
solution |
py |
Jul 17, 2024 |
700 |
Search in a Binary Search Tree |
Easy |
|
solution |
c, java, py |
Jul 17, 2024 |
198 |
House Robber |
Medium |
B75, N150 |
solution |
py |
Jul 17, 2024 |
1110 |
Delete Nodes And Return Forest |
Medium |
Daily |
solution |
py |
Jul 17, 2024 |
39 |
Combination Sum |
Medium |
B75, N150 |
solution |
py |
Jul 16, 2024 |
2096 |
Step-By-Step Directions From a Binary Tree Node to Another |
Medium |
Daily |
solution |
py |
Jul 16, 2024 |
236 |
Lowest Common Ancestor of a Binary Tree |
Medium |
B75 |
solution |
py |
Jul 15, 2024 |
1740 |
Find Distance in a Binary Tree |
Medium |
Weekly Premium |
solution |
py |
Jul 15, 2024 |
2196 |
Create Binary Tree From Descriptions |
Medium |
Daily |
solution |
py |
Jul 15, 2024 |
735 |
Asteroid Collision |
Medium |
|
solution |
py |
Jul 14, 2024 |
2211 |
Count Collisions on a Road |
Medium |
|
solution |
py |
Jul 14, 2024 |
17 |
Letter Combinations of a Phone Number |
Medium |
N150 |
solution |
java |
Jul 14, 2024 |
726 |
Number of Atoms |
Hard |
Daily |
solution |
py |
Jul 14, 2024 |
1657 |
Determine if Two Strings Are Close |
Medium |
|
solution |
py |
Jul 13, 2024 |
2751 |
Robot Collisions |
Hard |
Daily |
solution |
py |
Jul 13, 2024 |
1461 |
Check If a String Contains All Binary Codes of Size K |
Medium |
|
solution |
py |
Jul 12, 2024 |
1717 |
Maximum Score From Removing Substrings |
Medium |
Daily |
solution |
py |
Jul 12, 2024 |
877 |
Stone Game |
Medium |
|
solution |
c, cpp, go, java, js, py |
Jul 11, 2024 |
1884 |
Egg Drop With 2 Eggs and N Floors |
Medium |
|
solution |
c, java, js |
Jul 11, 2024 |
895 |
Maximum Frequency Stack |
Hard |
|
solution |
java, py |
Jul 11, 2024 |
1190 |
Reverse Substrings Between Each Pair of Parentheses |
Medium |
Daily |
solution |
py |
Jul 11, 2024 |
2619 |
Array Prototype Last |
Easy |
|
solution |
js |
Jul 10, 2024 |
1598 |
Crawler Log Folder |
Easy |
Daily |
solution |
c, js |
Jul 10, 2024 |
2796 |
Repeat String |
Easy |
|
solution |
js |
Jul 09, 2024 |
2624 |
Snail Traversal |
Medium |
|
solution |
js |
Jul 09, 2024 |
2723 |
Add Two Promises |
Easy |
|
solution |
js |
Jul 09, 2024 |
2626 |
Array Reduce Transformation |
Easy |
|
solution |
js |
Jul 09, 2024 |
2623 |
Memoize |
Medium |
|
solution |
js |
Jul 09, 2024 |
2703 |
Return Length of Arguments Passed |
Easy |
|
solution |
js, ts |
Jul 09, 2024 |
2666 |
Allow One Function Call |
Easy |
|
solution |
js |
Jul 09, 2024 |
2629 |
Function Composition |
Easy |
|
solution |
js |
Jul 09, 2024 |
2621 |
Sleep |
Easy |
|
solution |
js |
Jul 09, 2024 |
1701 |
Average Waiting Time |
Medium |
Daily |
solution |
js, py |
Jul 09, 2024 |
2704 |
To Be Or Not To Be |
Easy |
|
solution |
js |
Jul 09, 2024 |
2667 |
Create Hello World Function |
Easy |
|
solution |
js |
Jul 09, 2024 |
2665 |
Counter II |
Easy |
|
solution |
js |
Jul 09, 2024 |
2635 |
Apply Transform Over Each Element in Array |
Easy |
|
solution |
js |
Jul 09, 2024 |
2634 |
Filter Elements from Array |
Easy |
|
solution |
js |
Jul 09, 2024 |
2620 |
Counter |
Easy |
|
solution |
js |
Jul 09, 2024 |
1836 |
Remove Duplicates From an Unsorted Linked List |
Medium |
Weekly Premium |
solution |
java, py |
Jul 08, 2024 |
1823 |
Find the Winner of the Circular Game |
Medium |
Daily |
solution |
c, cpp, java, js, py |
Jul 08, 2024 |
3210 |
Weekly Contest 405 - q1 - Find the Encrypted String |
Easy |
Contest |
solution |
py |
Jul 07, 2024 |
3212 |
Weekly Contest 405 - q3 - Count Submatrices With Equal Frequency of X and Y |
Medium |
Contest |
solution |
py |
Jul 07, 2024 |
3213 |
Weekly Contest 405 - q4 - Construct String with Minimum Cost |
Hard |
Contest |
solution |
py |
Jul 07, 2024 |
3196 |
Weekly Contest 403 - q3 - Maximize Total Cost of Alternating Subarrays |
Medium |
Contest |
solution |
py |
Jul 07, 2024 |
3195 |
Weekly Contest 403 - q2 - Find the Minimum Area to Cover All Ones I |
Medium |
Contest |
solution |
py |
Jul 07, 2024 |
3194 |
Weekly Contest 403 - q1 - Minimum Average of Smallest and Largest Elements |
Easy |
Contest |
solution |
py |
Jul 07, 2024 |
3186 |
Weekly Contest 402 - q3 - Maximum Total Damage With Spell Casting |
Medium |
Contest |
solution |
py |
Jul 07, 2024 |
3185 |
Weekly Contest 402 - q2 - Count Pairs That Form a Complete Day II |
Medium |
Contest |
solution |
py |
Jul 07, 2024 |
3184 |
Weekly Contest 402 - q1 - Count Pairs That Form a Complete Day I |
Easy |
Contest |
solution |
py |
Jul 07, 2024 |
3180 |
Weekly Contest 401 - q3 - Maximum Total Reward Using Operations I |
Medium |
Contest |
solution |
c, py |
Jul 07, 2024 |
3179 |
Weekly Contest 401 - q2 - Find the N-th Value After K Seconds |
Medium |
Contest |
solution |
py |
Jul 07, 2024 |
3178 |
Weekly Contest 401 - q1 - Find the Child Who Has the Ball After K Seconds |
Easy |
Contest |
solution |
py |
Jul 07, 2024 |
3169 |
Weekly Contest 400 - q2 - Count Days Without Meetings |
Medium |
Contest |
solution |
py |
Jul 07, 2024 |
3168 |
Weekly Contest 400 - q1 - Minimum Number of Chairs in a Waiting Room |
Easy |
Contest |
solution |
py |
Jul 07, 2024 |
3175 |
Biweekly Contest 132 - q2 - Find The First Player to win K Games in a Row |
Medium |
Contest |
solution |
py |
Jul 07, 2024 |
3174 |
Biweekly Contest 132 - q1 - Clear Digits |
Easy |
Contest |
solution |
py |
Jul 07, 2024 |
3211 |
Weekly Contest 405 - q2 - Generate Binary Strings Without Adjacent Zeros |
Medium |
Contest |
solution |
js, py |
Jul 07, 2024 |
1518 |
Water Bottles |
Easy |
Daily |
solution |
c, cpp, cs, java, js, py, ts |
Jul 07, 2024 |
622 |
Design Circular Queue |
Medium |
|
solution |
py |
Jul 06, 2024 |
567 |
Permutation in String |
Medium |
Daily, N150 |
solution |
py |
Jul 06, 2024 |
1472 |
Design Browser History |
Medium |
|
solution |
py |
Jul 06, 2024 |
1381 |
Design a Stack With Increment Operation |
Medium |
Daily |
solution |
py |
Jul 06, 2024 |
380 |
Insert Delete GetRandom O(1) |
Medium |
|
solution |
java |
Jul 06, 2024 |
381 |
Insert Delete GetRandom O(1) - Duplicates allowed |
Hard |
|
solution |
java |
Jul 06, 2024 |
424 |
Longest Repeating Character Replacement |
Medium |
B75, N150 |
solution |
py |
Jul 06, 2024 |
2582 |
Pass the Pillow |
Easy |
Daily |
solution |
c, cpp, cs, java, js, py |
Jul 06, 2024 |
540 |
Single Element in a Sorted Array |
Medium |
|
solution |
py |
Jul 05, 2024 |
503 |
Next Greater Element II |
Medium |
|
solution |
py |
Jul 05, 2024 |
2268 |
Minimum Number of Keypresses |
Medium |
|
solution |
py |
Jul 05, 2024 |
1457 |
Pseudo-Palindromic Paths in a Binary Tree |
Medium |
|
solution |
py |
Jul 05, 2024 |
919 |
Complete Binary Tree Inserter |
Medium |
|
solution |
py |
Jul 05, 2024 |
794 |
Valid Tic-Tac-Toe State |
Medium |
|
solution |
py |
Jul 05, 2024 |
348 |
Design Tic-Tac-Toe |
Medium |
|
solution |
py |
Jul 05, 2024 |
3157 |
Find the Level of Tree with Minimum Sum |
Medium |
|
solution |
py |
Jul 05, 2024 |
1609 |
Even Odd Tree |
Medium |
|
solution |
py |
Jul 05, 2024 |
1372 |
Longest ZigZag Path in a Binary Tree |
Medium |
|
solution |
py |
Jul 05, 2024 |
2058 |
Find the Minimum and Maximum Number of Nodes Between Critical Points |
Medium |
Daily |
solution |
cpp, java, py |
Jul 05, 2024 |
703 |
Kth Largest Element in a Stream |
Easy |
Daily, N150 |
solution |
py |
Jul 05, 2024 |
647 |
Palindromic Substrings |
Medium |
B75, N150 |
solution |
py |
Jul 05, 2024 |
5 |
Longest Palindromic Substring |
Medium |
B75, N150 |
solution |
py |
Jul 05, 2024 |
746 |
Min Cost Climbing Stairs |
Easy |
N150 |
solution |
py |
Jul 05, 2024 |
235 |
Lowest Common Ancestor of a Binary Search Tree |
Medium |
B75, N150 |
solution |
py |
Jul 04, 2024 |
199 |
Binary Tree Right Side View |
Medium |
N150 |
solution |
cpp, java |
Jul 04, 2024 |
1448 |
Count Good Nodes in Binary Tree |
Medium |
N150 |
solution |
java |
Jul 04, 2024 |
124 |
Binary Tree Maximum Path Sum |
Hard |
B75, N150 |
solution |
py |
Jul 04, 2024 |
110 |
Balanced Binary Tree |
Easy |
N150 |
solution |
py |
Jul 04, 2024 |
104 |
Maximum Depth of Binary Tree |
Easy |
B75, N150 |
solution |
py |
Jul 04, 2024 |
82 |
Remove Duplicates from Sorted List II |
Medium |
|
solution |
py |
Jul 04, 2024 |
817 |
Linked List Components |
Medium |
|
solution |
java |
Jul 04, 2024 |
369 |
Plus One Linked List |
Medium |
|
solution |
c |
Jul 04, 2024 |
2816 |
Double a Number Represented as a Linked List |
Medium |
|
solution |
c |
Jul 04, 2024 |
2046 |
Sort Linked List Already Sorted Using Absolute Values |
Medium |
|
solution |
py |
Jul 04, 2024 |
2455 |
Average Value of Even Numbers That Are Divisible by Three |
Easy |
|
solution |
java |
Jul 04, 2024 |
1018 |
Binary Prefix Divisible By 5 |
Easy |
|
solution |
py |
Jul 04, 2024 |
1101 |
The Earliest Moment When Everyone Become Friends |
Medium |
Weekly Premium |
solution |
py |
Jul 04, 2024 |
429 |
N-ary Tree Level Order Traversal |
Medium |
|
solution |
py |
Jul 04, 2024 |
107 |
Binary Tree Level Order Traversal II |
Medium |
|
solution |
java |
Jul 04, 2024 |
102 |
Binary Tree Level Order Traversal |
Medium |
B75, N150 |
solution |
java |
Jul 04, 2024 |
993 |
Cousins in Binary Tree |
Easy |
|
solution |
py |
Jul 04, 2024 |
637 |
Average of Levels in Binary Tree |
Easy |
|
solution |
py |
Jul 04, 2024 |
2181 |
Merge Nodes in Between Zeros |
Medium |
Daily |
solution |
c, cpp, java, py |
Jul 04, 2024 |
687 |
Longest Univalue Path |
Medium |
|
solution |
py |
Jul 03, 2024 |
666 |
Path Sum IV |
Medium |
Weekly Premium |
solution |
py |
Jul 03, 2024 |
513 |
Find Bottom Left Tree Value |
Medium |
|
solution |
java |
Jul 03, 2024 |
437 |
Path Sum III |
Medium |
|
solution |
py |
Jul 03, 2024 |
113 |
Path Sum II |
Medium |
|
solution |
py |
Jul 03, 2024 |
3136 |
Valid Word |
Easy |
|
solution |
c, py |
Jul 03, 2024 |
112 |
Path Sum |
Easy |
|
solution |
py |
Jul 03, 2024 |
226 |
Invert Binary Tree |
Easy |
B75, N150 |
solution |
py |
Jul 03, 2024 |
191 |
Number of 1 Bits |
Easy |
B75, N150 |
solution |
py |
Jul 03, 2024 |
136 |
Single Number |
Easy |
N150 |
solution |
py |
Jul 03, 2024 |
121 |
Best Time to Buy and Sell Stock |
Easy |
B75, N150 |
solution |
py |
Jul 03, 2024 |
890 |
Find and Replace Pattern |
Medium |
|
solution |
py |
Jul 03, 2024 |
1696 |
Jump Game VI |
Medium |
|
solution |
java, py |
Jul 03, 2024 |
90 |
Subsets II |
Medium |
N150 |
solution |
py |
Jul 03, 2024 |
103 |
Binary Tree Zigzag Level Order Traversal |
Medium |
|
solution |
py |
Jul 03, 2024 |
100 |
Same Tree |
Easy |
B75, N150 |
solution |
py |
Jul 03, 2024 |
1602 |
Find Nearest Right Node in Binary Tree |
Medium |
|
solution |
java, py |
Jul 03, 2024 |
1522 |
Diameter of N-Ary Tree |
Medium |
|
solution |
py |
Jul 03, 2024 |
1509 |
Minimum Difference Between Largest and Smallest Value in Three Moves |
Medium |
Daily |
solution |
c, cpp, java, py |
Jul 03, 2024 |
690 |
Employee Importance |
Medium |
|
solution |
java |
Jul 02, 2024 |
565 |
Array Nesting |
Medium |
|
solution |
py |
Jul 02, 2024 |
364 |
Nested List Weight Sum II |
Medium |
|
solution |
java, py |
Jul 02, 2024 |
341 |
Flatten Nested List Iterator |
Medium |
|
solution |
java |
Jul 02, 2024 |
339 |
Nested List Weight Sum |
Medium |
|
solution |
c, py |
Jul 02, 2024 |
165 |
Compare Version Numbers |
Medium |
|
solution |
c, py |
Jul 02, 2024 |
350 |
Intersection of Two Arrays II |
Easy |
Daily |
solution |
java, py |
Jul 02, 2024 |
713 |
Subarray Product Less Than K |
Medium |
|
solution |
py |
Jul 01, 2024 |
1768 |
Merge Strings Alternately |
Easy |
|
solution |
java |
Jul 01, 2024 |
2086 |
Minimum Number of Food Buckets to Feed the Hamsters |
Medium |
|
solution |
java |
Jul 01, 2024 |
2165 |
Smallest Value of the Rearranged Number |
Medium |
|
solution |
py |
Jul 01, 2024 |
272 |
Closest Binary Search Tree Value II |
Hard |
|
solution |
py |
Jul 01, 2024 |
1028 |
Recover a Tree From Preorder Traversal |
Hard |
|
solution |
py |
Jul 01, 2024 |
1550 |
Three Consecutive Odds |
Easy |
Daily |
solution |
c, py |
Jul 01, 2024 |
1579 |
Remove Max Number of Edges to Keep Graph Fully Traversable |
Hard |
Daily |
solution |
py |
Jun 30, 2024 |
848 |
Shifting Letters |
Medium |
|
solution |
py |
Jun 29, 2024 |
3106 |
Lexicographically Smallest String After Operations With Constraint |
Medium |
|
solution |
py |
Jun 29, 2024 |
2734 |
Lexicographically Smallest String After Substring Operation |
Medium |
|
solution |
py |
Jun 29, 2024 |
1844 |
Replace All Digits with Characters |
Easy |
|
solution |
py |
Jun 29, 2024 |
1858 |
Longest Word With All Prefixes |
Medium |
Weekly Premium |
solution |
py |
Jun 29, 2024 |
973 |
K Closest Points to Origin |
Medium |
N150 |
solution |
py |
Jun 29, 2024 |
849 |
Maximize Distance to Closest Person |
Medium |
|
solution |
py |
Jun 29, 2024 |
2365 |
Task Scheduler II |
Medium |
|
solution |
py |
Jun 29, 2024 |
1676 |
Lowest Common Ancestor of a Binary Tree IV |
Medium |
|
solution |
py |
Jun 29, 2024 |
1239 |
Maximum Length of a Concatenated String with Unique Characters |
Medium |
|
solution |
py |
Jun 29, 2024 |
384 |
Shuffle an Array |
Medium |
|
solution |
py |
Jun 29, 2024 |
2473 |
Minimum Cost to Buy Apples |
Medium |
|
solution |
py |
Jun 29, 2024 |
230 |
Kth Smallest Element in a BST |
Medium |
B75, N150 |
solution |
py |
Jun 29, 2024 |
1268 |
Search Suggestions System |
Medium |
|
solution |
py |
Jun 29, 2024 |
3045 |
Count Prefix and Suffix Pairs II |
Hard |
|
solution |
py |
Jun 29, 2024 |
94 |
Binary Tree Inorder Traversal |
Easy |
|
solution |
java, py |
Jun 29, 2024 |
776 |
Split BST |
Medium |
Weekly Premium |
solution |
py |
Jun 29, 2024 |
450 |
Delete Node in a BST |
Medium |
|
solution |
py |
Jun 29, 2024 |
2192 |
All Ancestors of a Node in a Directed Acyclic Graph |
Medium |
Daily |
solution |
java, py |
Jun 29, 2024 |
1382 |
Balance a Binary Search Tree |
Medium |
|
solution |
py |
Jun 29, 2024 |
353 |
Design Snake Game |
Medium |
|
solution |
py |
Jun 28, 2024 |
2671 |
Frequency Tracker |
Medium |
|
solution |
py |
Jun 28, 2024 |
2013 |
Detect Squares |
Medium |
N150 |
solution |
py |
Jun 28, 2024 |
431 |
Encode N-ary Tree to Binary Tree |
Hard |
|
solution |
java, py |
Jun 28, 2024 |
758 |
Bold Words in String |
Medium |
|
solution |
py |
Jun 28, 2024 |
616 |
Add Bold Tag in String |
Medium |
|
solution |
py |
Jun 28, 2024 |
3043 |
Find the Length of the Longest Common Prefix |
Medium |
Daily |
solution |
py |
Jun 28, 2024 |
2285 |
Maximum Total Importance of Roads |
Medium |
Daily |
solution |
c, cpp, java, py |
Jun 28, 2024 |
1282 |
Group the People Given the Group Size They Belong To |
Medium |
|
solution |
py |
Jun 28, 2024 |
1233 |
Remove Sub-Folders from the Filesystem |
Medium |
Daily |
solution |
py |
Jun 28, 2024 |
1166 |
Design File System |
Medium |
|
solution |
py |
Jun 28, 2024 |
79 |
Word Search |
Medium |
B75, N150 |
solution |
py |
Jun 27, 2024 |
720 |
Longest Word in Dictionary |
Medium |
|
solution |
py |
Jun 27, 2024 |
676 |
Implement Magic Dictionary |
Medium |
|
solution |
py |
Jun 27, 2024 |
211 |
Design Add and Search Words Data Structure |
Medium |
B75, N150 |
solution |
py |
Jun 27, 2024 |
208 |
Implement Trie (Prefix Tree) |
Medium |
B75, N150 |
solution |
py |
Jun 27, 2024 |
1804 |
Implement Trie II (Prefix Tree) |
Medium |
Weekly Premium |
solution |
py |
Jun 27, 2024 |
138 |
Copy List with Random Pointer |
Medium |
N150 |
solution |
py |
Jun 27, 2024 |
212 |
Word Search II |
Hard |
B75, N150 |
solution |
py |
Jun 27, 2024 |
206 |
Reverse Linked List |
Easy |
B75, N150 |
solution |
java |
Jun 27, 2024 |
2221 |
Find Triangular Sum of an Array |
Medium |
|
solution |
c, java |
Jun 27, 2024 |
1852 |
Distinct Numbers in Each Subarray |
Medium |
|
solution |
java |
Jun 27, 2024 |
1008 |
Construct Binary Search Tree from Preorder Traversal |
Medium |
|
solution |
c, cpp, java |
Jun 27, 2024 |
430 |
Flatten a Multilevel Doubly Linked List |
Medium |
|
solution |
cpp, java |
Jun 27, 2024 |
2352 |
Equal Row and Column Pairs |
Medium |
|
solution |
py |
Jun 27, 2024 |
1980 |
Find Unique Binary String |
Medium |
|
solution |
c, py |
Jun 27, 2024 |
1743 |
Restore the Array From Adjacent Pairs |
Medium |
|
solution |
py |
Jun 27, 2024 |
1660 |
Correct a Binary Tree |
Medium |
|
solution |
py |
Jun 27, 2024 |
1791 |
Find Center of Star Graph |
Easy |
Daily |
solution |
c, cpp, java, py |
Jun 27, 2024 |
863 |
All Nodes Distance K in Binary Tree |
Medium |
|
solution |
py |
Jun 26, 2024 |
542 |
01 Matrix |
Medium |
|
solution |
py |
Jun 26, 2024 |
287 |
Find the Duplicate Number |
Medium |
N150 |
solution |
c |
Jun 26, 2024 |
2385 |
Amount of Time for Binary Tree to Be Infected |
Medium |
|
solution |
py |
Jun 26, 2024 |
1730 |
Shortest Path to Get Food |
Medium |
|
solution |
py |
Jun 26, 2024 |
173 |
Binary Search Tree Iterator |
Medium |
|
solution |
py |
Jun 26, 2024 |
142 |
Linked List Cycle II |
Medium |
|
solution |
py |
Jun 26, 2024 |
1254 |
Number of Closed Islands |
Medium |
|
solution |
py |
Jun 26, 2024 |
1038 |
Binary Search Tree to Greater Sum Tree |
Medium |
Daily |
solution |
c |
Jun 26, 2024 |
1020 |
Number of Enclaves |
Medium |
|
solution |
py |
Jun 26, 2024 |
2954 |
Count the Number of Infection Sequences |
Hard |
|
solution |
py |
Jun 26, 2024 |
2317 |
Maximum XOR After Operations |
Medium |
|
solution |
c, cpp, java, py |
Jun 24, 2024 |
1669 |
Merge In Between Linked Lists |
Medium |
|
solution |
c |
Jun 24, 2024 |
1641 |
Count Sorted Vowel Strings |
Medium |
|
solution |
c, cpp, java |
Jun 24, 2024 |
1305 |
All Elements in Two Binary Search Trees |
Medium |
|
solution |
java |
Jun 24, 2024 |
791 |
Custom Sort String |
Medium |
|
solution |
java |
Jun 24, 2024 |
2545 |
Sort the Students by Their Kth Score |
Medium |
|
solution |
java, py |
Jun 24, 2024 |
2225 |
Find Players With Zero or One Losses |
Medium |
|
solution |
java |
Jun 24, 2024 |
695 |
Max Area of Island |
Medium |
N150 |
solution |
c |
Jun 24, 2024 |
419 |
Battleships in a Board |
Medium |
|
solution |
c, py |
Jun 24, 2024 |
1992 |
Find All Groups of Farmland |
Medium |
|
solution |
java, py |
Jun 24, 2024 |
1905 |
Count Sub Islands |
Medium |
Daily |
solution |
py |
Jun 24, 2024 |
1438 |
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit |
Medium |
Daily |
solution |
java |
Jun 24, 2024 |
1052 |
Grumpy Bookstore Owner |
Medium |
|
solution |
py |
Jun 24, 2024 |
995 |
Minimum Number of K Consecutive Bit Flips |
Hard |
Daily |
solution |
c, py |
Jun 24, 2024 |
2415 |
Reverse Odd Levels of Binary Tree |
Medium |
|
solution |
py |
Jun 23, 2024 |
1973 |
Count Nodes Equal to Sum of Descendants |
Medium |
|
solution |
c |
Jun 23, 2024 |
1026 |
Maximum Difference Between Node and Ancestor |
Medium |
|
solution |
py |
Jun 23, 2024 |
98 |
Validate Binary Search Tree |
Medium |
B75, N150 |
solution |
c |
Jun 23, 2024 |
50 |
Pow(x, n) |
Medium |
N150 |
solution |
c, java, py |
Jun 23, 2024 |
2405 |
Optimal Partition of String |
Medium |
|
solution |
py |
Jun 23, 2024 |
1877 |
Minimize Maximum Pair Sum in Array |
Medium |
|
solution |
py |
Jun 23, 2024 |
1833 |
Maximum Ice Cream Bars |
Medium |
|
solution |
c, java, py |
Jun 23, 2024 |
1561 |
Maximum Number of Coins You Can Get |
Medium |
|
solution |
py |
Jun 23, 2024 |
3192 |
Minimum Operations to Make Binary Array Elements Equal to One II |
Medium |
|
solution |
java |
Jun 22, 2024 |
3191 |
Minimum Operations to Make Binary Array Elements Equal to One I |
Medium |
|
solution |
java |
Jun 22, 2024 |
3190 |
Find Minimum Operations to Make All Elements Divisible by Three |
Easy |
|
solution |
java |
Jun 22, 2024 |
807 |
Max Increase to Keep City Skyline |
Medium |
|
solution |
java |
Jun 22, 2024 |
1874 |
Minimize Product Sum of Two Arrays |
Medium |
|
solution |
c, java |
Jun 22, 2024 |
1689 |
Partitioning Into Minimum Number Of Deci-Binary Numbers |
Medium |
|
solution |
c, java |
Jun 22, 2024 |
382 |
Linked List Random Node |
Medium |
|
solution |
c, java, py |
Jun 22, 2024 |
2743 |
Count Substrings Without Repeating Character |
Medium |
Weekly Premium |
solution |
java, py |
Jun 22, 2024 |
1019 |
Next Greater Node In Linked List |
Medium |
|
solution |
py |
Jun 22, 2024 |
930 |
Binary Subarrays With Sum |
Medium |
|
solution |
py |
Jun 22, 2024 |
725 |
Split Linked List in Parts |
Medium |
Daily |
solution |
py |
Jun 22, 2024 |
708 |
Insert into a Sorted Circular Linked List |
Medium |
|
solution |
py |
Jun 22, 2024 |
707 |
Design Linked List |
Medium |
|
solution |
java |
Jun 22, 2024 |
61 |
Rotate List |
Medium |
|
solution |
py |
Jun 22, 2024 |
328 |
Odd Even Linked List |
Medium |
|
solution |
py |
Jun 22, 2024 |
1248 |
Count Number of Nice Subarrays |
Medium |
Daily |
solution |
py |
Jun 22, 2024 |
392 |
Is Subsequence |
Easy |
|
solution |
java |
Jun 22, 2024 |
2130 |
Maximum Twin Sum of a Linked List |
Medium |
|
solution |
py |
Jun 21, 2024 |
977 |
Squares of a Sorted Array |
Easy |
|
solution |
py |
Jun 21, 2024 |
1552 |
Magnetic Force Between Two Balls |
Medium |
Daily |
solution |
py |
Jun 20, 2024 |
856 |
Score of Parentheses |
Medium |
|
solution |
py |
Jun 19, 2024 |
57 |
Insert Interval |
Medium |
B75, N150 |
solution |
py |
Jun 19, 2024 |
56 |
Merge Intervals |
Medium |
B75, N150 |
solution |
py |
Jun 19, 2024 |
1482 |
Minimum Number of Days to Make m Bouquets |
Medium |
Daily |
solution |
py |
Jun 19, 2024 |
1209 |
Remove All Adjacent Duplicates in String II |
Medium |
|
solution |
py |
Jun 19, 2024 |
826 |
Most Profit Assigning Work |
Medium |
Daily |
solution |
py |
Jun 18, 2024 |
451 |
Sort Characters By Frequency |
Medium |
|
solution |
py |
Jun 18, 2024 |
2374 |
Node With Highest Edge Score |
Medium |
|
solution |
py |
Jun 18, 2024 |
23 |
Merge k Sorted Lists |
Hard |
B75, N150 |
solution |
py |
Jun 17, 2024 |
663 |
Equal Tree Partition |
Medium |
|
solution |
py |
Jun 17, 2024 |
509 |
Fibonacci Number |
Easy |
|
solution |
c |
Jun 17, 2024 |
2423 |
Remove Letter To Equalize Frequency |
Easy |
|
solution |
py |
Jun 17, 2024 |
1909 |
Remove One Element to Make the Array Strictly Increasing |
Easy |
|
solution |
c |
Jun 17, 2024 |
200 |
Number of Islands |
Medium |
B75, N150 |
solution |
py |
Jun 17, 2024 |
155 |
Min Stack |
Medium |
N150 |
solution |
py |
Jun 16, 2024 |
330 |
Patching Array |
Hard |
Daily |
solution |
py |
Jun 16, 2024 |
1481 |
Least Number of Unique Integers after K Removals |
Medium |
|
solution |
py |
Jun 15, 2024 |
1171 |
Remove Zero Sum Consecutive Nodes from Linked List |
Medium |
|
solution |
py |
Jun 15, 2024 |
1255 |
Maximum Score Words Formed by Letters |
Hard |
|
solution |
py |
Jun 15, 2024 |
994 |
Rotting Oranges |
Medium |
N150 |
solution |
py |
Jun 15, 2024 |
784 |
Letter Case Permutation |
Medium |
|
solution |
py |
Jun 15, 2024 |
394 |
Decode String |
Medium |
|
solution |
py |
Jun 15, 2024 |
286 |
Walls and Gates |
Medium |
N150 |
solution |
py |
Jun 15, 2024 |
1087 |
Brace Expansion |
Medium |
|
solution |
py |
Jun 15, 2024 |
2258 |
Escape the Spreading Fire |
Hard |
|
solution |
py |
Jun 15, 2024 |
74 |
Search a 2D Matrix |
Medium |
N150 |
solution |
py |
Jun 15, 2024 |
48 |
Rotate Image |
Medium |
B75, N150 |
solution |
c, py |
Jun 15, 2024 |
1580 |
Put Boxes Into the Warehouse II |
Medium |
Weekly Premium |
solution |
py |
Jun 15, 2024 |
1564 |
Put Boxes Into the Warehouse I |
Medium |
|
solution |
py |
Jun 15, 2024 |
502 |
IPO |
Hard |
Daily |
solution |
py |
Jun 15, 2024 |
867 |
Transpose Matrix |
Easy |
|
solution |
py |
Jun 15, 2024 |
945 |
Minimum Increment to Make Array Unique |
Medium |
Daily |
solution |
py |
Jun 14, 2024 |
853 |
Car Fleet |
Medium |
N150 |
solution |
py |
Jun 14, 2024 |
167 |
Two Sum II - Input Array Is Sorted |
Medium |
N150 |
solution |
py |
Jun 14, 2024 |
665 |
Non-decreasing Array |
Medium |
|
solution |
java, py |
Jun 14, 2024 |
739 |
Daily Temperatures |
Medium |
N150 |
solution |
c, java, py |
Jun 13, 2024 |
36 |
Valid Sudoku |
Medium |
N150 |
solution |
py |
Jun 13, 2024 |
22 |
Generate Parentheses |
Medium |
N150 |
solution |
py |
Jun 13, 2024 |
128 |
Longest Consecutive Sequence |
Medium |
B75, N150 |
solution |
java, py |
Jun 13, 2024 |
49 |
Group Anagrams |
Medium |
B75, N150 |
solution |
py |
Jun 13, 2024 |
347 |
Top K Frequent Elements |
Medium |
B75, N150 |
solution |
py |
Jun 13, 2024 |
2807 |
Insert Greatest Common Divisors in Linked List |
Medium |
Daily |
solution |
py |
Jun 13, 2024 |
271 |
Encode and Decode Strings |
Medium |
B75, N150 |
solution |
py |
Jun 13, 2024 |
238 |
Product of Array Except Self |
Medium |
B75, N150 |
solution |
py |
Jun 13, 2024 |
1551 |
Minimum Operations to Make Array Equal |
Medium |
|
solution |
c, java, js, kt, py, rb, rs |
Jun 13, 2024 |
242 |
Valid Anagram |
Easy |
B75, N150 |
solution |
c, py |
Jun 13, 2024 |
654 |
Maximum Binary Tree |
Medium |
|
solution |
py |
Jun 12, 2024 |
426 |
Convert Binary Search Tree to Sorted Doubly Linked List |
Medium |
|
solution |
py |
Jun 12, 2024 |
366 |
Find Leaves of Binary Tree |
Medium |
|
solution |
py |
Jun 12, 2024 |
2997 |
Minimum Number of Operations to Make Array XOR Equal to K |
Medium |
|
solution |
java, py |
Jun 12, 2024 |
1315 |
Sum of Nodes with Even-Valued Grandparent |
Medium |
|
solution |
py |
Jun 12, 2024 |
217 |
Contains Duplicate |
Easy |
B75, N150 |
solution |
py |
Jun 12, 2024 |
75 |
Sort Colors |
Medium |
Daily |
solution |
c, py |
Jun 12, 2024 |
987 |
Vertical Order Traversal of a Binary Tree |
Hard |
|
solution |
py |
Jun 12, 2024 |
950 |
Reveal Cards In Increasing Order |
Medium |
|
solution |
py |
Jun 12, 2024 |
946 |
Validate Stack Sequences |
Medium |
|
solution |
c, py |
Jun 12, 2024 |
921 |
Minimum Add to Make Parentheses Valid |
Medium |
Daily |
solution |
java, py |
Jun 12, 2024 |
909 |
Snakes and Ladders |
Medium |
|
solution |
py |
Jun 12, 2024 |
314 |
Binary Tree Vertical Order Traversal |
Medium |
|
solution |
py |
Jun 12, 2024 |
2487 |
Remove Nodes From Linked List |
Medium |
|
solution |
py |
Jun 12, 2024 |
1006 |
Clumsy Factorial |
Medium |
|
solution |
c, py |
Jun 12, 2024 |
71 |
Simplify Path |
Medium |
|
solution |
py |
Jun 11, 2024 |
150 |
Evaluate Reverse Polish Notation |
Medium |
N150 |
solution |
py |
Jun 11, 2024 |
143 |
Reorder List |
Medium |
B75, N150 |
solution |
java, py |
Jun 11, 2024 |
114 |
Flatten Binary Tree to Linked List |
Medium |
|
solution |
c, py |
Jun 11, 2024 |
84 |
Largest Rectangle in Histogram |
Hard |
N150 |
solution |
py |
Jun 11, 2024 |
273 |
Integer to English Words |
Hard |
Daily |
solution |
py |
Jun 11, 2024 |
1122 |
Relative Sort Array |
Easy |
Daily |
solution |
java, py |
Jun 11, 2024 |
8 |
String to Integer (atoi) |
Medium |
|
solution |
py |
Jun 10, 2024 |
2083 |
Substrings That Begin and End With the Same Letter |
Medium |
Weekly Premium |
solution |
c, py |
Jun 10, 2024 |
1759 |
Count Number of Homogenous Substrings |
Medium |
|
solution |
c, java |
Jun 10, 2024 |
2570 |
Merge Two 2D Arrays by Summing Values |
Easy |
|
solution |
c |
Jun 10, 2024 |
227 |
Basic Calculator II |
Medium |
|
solution |
py |
Jun 10, 2024 |
1762 |
Buildings With an Ocean View |
Medium |
|
solution |
py |
Jun 10, 2024 |
1650 |
Lowest Common Ancestor of a Binary Tree III |
Medium |
|
solution |
py |
Jun 10, 2024 |
1249 |
Minimum Remove to Make Valid Parentheses |
Medium |
|
solution |
py |
Jun 10, 2024 |
224 |
Basic Calculator |
Hard |
|
solution |
py |
Jun 10, 2024 |
861 |
Score After Flipping Matrix |
Medium |
|
solution |
c, py |
Jun 10, 2024 |
2149 |
Rearrange Array Elements by Sign |
Medium |
|
solution |
c, py |
Jun 10, 2024 |
1051 |
Height Checker |
Easy |
Daily |
solution |
c, py |
Jun 10, 2024 |
2396 |
Strictly Palindromic Number |
Medium |
|
solution |
c, cpp, java, js, kt, py, rb, rs |
Jun 09, 2024 |
974 |
Subarray Sums Divisible by K |
Medium |
Daily |
solution |
java, py |
Jun 09, 2024 |
692 |
Top K Frequent Words |
Medium |
|
solution |
py |
Jun 09, 2024 |
1284 |
Minimum Number of Flips to Convert Binary Matrix to Zero Matrix |
Hard |
|
solution |
py |
Jun 09, 2024 |
2206 |
Divide Array Into Equal Pairs |
Easy |
|
solution |
c, py |
Jun 08, 2024 |
523 |
Continuous Subarray Sum |
Medium |
Daily |
solution |
py |
Jun 08, 2024 |
260 |
Single Number III |
Medium |
|
solution |
py |
Jun 08, 2024 |
1885 |
Count Pairs in Two Arrays |
Medium |
|
solution |
py |
Jun 08, 2024 |
1442 |
Count Triplets That Can Form Two Arrays of Equal XOR |
Medium |
|
solution |
py |
Jun 08, 2024 |
1404 |
Number of Steps to Reduce a Number in Binary Representation to One |
Medium |
|
solution |
py |
Jun 08, 2024 |
1002 |
Find Common Characters |
Easy |
|
solution |
py |
Jun 08, 2024 |
1535 |
Find the Winner of an Array Game |
Medium |
|
solution |
py |
Jun 08, 2024 |
77 |
Combinations |
Medium |
|
solution |
py |
Jun 07, 2024 |
475 |
Heaters |
Medium |
|
solution |
py |
Jun 07, 2024 |
46 |
Permutations |
Medium |
N150 |
solution |
py |
Jun 07, 2024 |
184 |
Department Highest Salary |
Medium |
|
solution |
sql |
Jun 07, 2024 |
1783 |
Grand Slam Titles |
Medium |
|
solution |
sql |
Jun 07, 2024 |
129 |
Sum Root to Leaf Numbers |
Medium |
|
solution |
py |
Jun 07, 2024 |
69 |
Sqrt(x) |
Easy |
|
solution |
py |
Jun 07, 2024 |
196 |
Delete Duplicate Emails |
Easy |
|
solution |
py, sql |
Jun 07, 2024 |
125 |
Valid Palindrome |
Easy |
B75, N150 |
solution |
c, py |
Jun 07, 2024 |
111 |
Minimum Depth of Binary Tree |
Easy |
|
solution |
c, java |
Jun 07, 2024 |
535 |
Encode and Decode TinyURL |
Medium |
|
solution |
py |
Jun 07, 2024 |
2610 |
Convert an Array Into a 2D Array With Conditions |
Medium |
|
solution |
py |
Jun 07, 2024 |
2482 |
Difference Between Ones and Zeros in Row and Column |
Medium |
|
solution |
py |
Jun 07, 2024 |
2265 |
Count Nodes Equal to Average of Subtree |
Medium |
|
solution |
js, py |
Jun 07, 2024 |
1302 |
Deepest Leaves Sum |
Medium |
|
solution |
c, js, py |
Jun 07, 2024 |
24 |
Swap Nodes in Pairs |
Medium |
|
solution |
c |
Jun 07, 2024 |
2095 |
Delete the Middle Node of a Linked List |
Medium |
|
solution |
c, java |
Jun 07, 2024 |
19 |
Remove Nth Node From End of List |
Medium |
B75, N150 |
solution |
c, java, py |
Jun 07, 2024 |
1721 |
Swapping Nodes in a Linked List |
Medium |
|
solution |
c |
Jun 07, 2024 |
25 |
Reverse Nodes in k-Group |
Hard |
N150 |
solution |
c |
Jun 07, 2024 |
1474 |
Delete N Nodes After M Nodes of a Linked List |
Easy |
|
solution |
c, java |
Jun 07, 2024 |
648 |
Replace Words |
Medium |
Daily |
solution |
java, py |
Jun 07, 2024 |
3064 |
Guess the Number Using Bitwise Questions I |
Medium |
|
solution |
c, py |
Jun 06, 2024 |
1570 |
Dot Product of Two Sparse Vectors |
Medium |
|
solution |
c, java, py |
Jun 06, 2024 |
1265 |
Print Immutable Linked List in Reverse |
Medium |
|
solution |
c, py |
Jun 06, 2024 |
1822 |
Sign of the Product of an Array |
Easy |
|
solution |
c |
Jun 06, 2024 |
1748 |
Sum of Unique Elements |
Easy |
|
solution |
c |
Jun 06, 2024 |
1684 |
Count the Number of Consistent Strings |
Easy |
Daily |
solution |
c, py |
Jun 06, 2024 |
846 |
Hand of Straights |
Medium |
Daily, N150 |
solution |
py |
Jun 06, 2024 |
2942 |
Find Words Containing Character |
Easy |
|
solution |
c |
Jun 06, 2024 |
1502 |
Can Make Arithmetic Progression From Sequence |
Easy |
|
solution |
c, py |
Jun 04, 2024 |
1460 |
Make Two Arrays Equal by Reversing Subarrays |
Easy |
Daily |
solution |
c, py |
Jun 04, 2024 |
1426 |
Counting Elements |
Easy |
|
solution |
c |
Jun 04, 2024 |
1317 |
Convert Integer to the Sum of Two No-Zero Integers |
Easy |
|
solution |
c |
Jun 04, 2024 |
1252 |
Cells with Odd Values in a Matrix |
Easy |
|
solution |
c |
Jun 04, 2024 |
409 |
Longest Palindrome |
Easy |
Daily |
solution |
c, py |
Jun 04, 2024 |
141 |
Linked List Cycle |
Easy |
B75, N150 |
solution |
c, py |
Jun 04, 2024 |
1046 |
Last Stone Weight |
Easy |
N150 |
solution |
py |
Jun 04, 2024 |
1030 |
Matrix Cells in Distance Order |
Easy |
|
solution |
py |
Jun 04, 2024 |
239 |
Sliding Window Maximum |
Hard |
N150 |
solution |
py |
Jun 04, 2024 |
66 |
Plus One |
Easy |
N150 |
solution |
c |
Jun 03, 2024 |
572 |
Subtree of Another Tree |
Easy |
B75, N150 |
solution |
py |
Jun 03, 2024 |
543 |
Diameter of Binary Tree |
Easy |
N150 |
solution |
c, java, py |
Jun 03, 2024 |
2037 |
Minimum Number of Moves to Seat Everyone |
Easy |
Daily |
solution |
c, py |
Jun 03, 2024 |
1736 |
Latest Time by Replacing Hidden Digits |
Easy |
|
solution |
c |
Jun 03, 2024 |
2011 |
Final Value of Variable After Performing Operations |
Easy |
|
solution |
c |
Jun 03, 2024 |
1929 |
Concatenation of Array |
Easy |
|
solution |
c, java, py |
Jun 03, 2024 |
1470 |
Shuffle the Array |
Easy |
|
solution |
c |
Jun 03, 2024 |
2486 |
Append Characters to String to Make Subsequence |
Medium |
Daily |
solution |
c, java, py |
Jun 03, 2024 |
374 |
Guess Number Higher or Lower |
Easy |
|
solution |
java, py |
Jun 02, 2024 |
771 |
Jewels and Stones |
Easy |
|
solution |
java, py |
Jun 02, 2024 |
78 |
Subsets |
Medium |
N150 |
solution |
py |
Jun 02, 2024 |
189 |
Rotate Array |
Medium |
|
solution |
py |
Jun 02, 2024 |
412 |
Fizz Buzz |
Easy |
|
solution |
java, py |
Jun 02, 2024 |
408 |
Valid Word Abbreviation |
Easy |
|
solution |
py |
Jun 02, 2024 |
1698 |
Number of Distinct Substrings in a String |
Medium |
|
solution |
java, py |
Jun 02, 2024 |
27 |
Remove Element |
Easy |
|
solution |
java, py |
Jun 02, 2024 |
1700 |
Number of Students Unable to Eat Lunch |
Easy |
|
solution |
py |
Jun 02, 2024 |
2390 |
Removing Stars From a String |
Medium |
|
solution |
java, py |
Jun 02, 2024 |
1490 |
Clone N-ary Tree |
Medium |
|
solution |
java, py |
Jun 02, 2024 |
344 |
Reverse String |
Easy |
Daily |
solution |
java, py |
Jun 02, 2024 |
1525 |
Number of Good Ways to Split a String |
Medium |
|
solution |
py |
Jun 01, 2024 |
645 |
Set Mismatch |
Easy |
|
solution |
java, py |
Jun 01, 2024 |
1455 |
Check If a Word Occurs As a Prefix of Any Word in a Sentence |
Easy |
|
solution |
py |
Jun 01, 2024 |
1436 |
Destination City |
Easy |
|
solution |
java |
Jun 01, 2024 |
1351 |
Count Negative Numbers in a Sorted Matrix |
Easy |
|
solution |
java, py |
Jun 01, 2024 |
744 |
Find Smallest Letter Greater Than Target |
Easy |
|
solution |
java, py |
Jun 01, 2024 |
1940 |
Longest Common Subsequence Between Sorted Arrays |
Medium |
Weekly Premium |
solution |
java, py |
Jun 01, 2024 |
3110 |
Score of a String |
Easy |
Daily |
solution |
java, py |
Jun 01, 2024 |
2389 |
Longest Subsequence With Limited Sum |
Easy |
|
solution |
py |
Jun 01, 2024 |
166 |
Fraction to Recurring Decimal |
Medium |
|
solution |
py |
May 31, 2024 |
1218 |
Longest Arithmetic Subsequence of Given Difference |
Medium |
|
solution |
py |
May 31, 2024 |
1184 |
Distance Between Bus Stops |
Easy |
|
solution |
py |
May 31, 2024 |
2433 |
Find The Original Array of Prefix Xor |
Medium |
|
solution |
py |
May 31, 2024 |
2395 |
Find Subarrays With Equal Sum |
Easy |
|
solution |
py |
May 31, 2024 |
2248 |
Intersection of Multiple Arrays |
Easy |
|
solution |
py |
May 31, 2024 |
2886 |
Change Data Type |
Easy |
|
solution |
py |
May 30, 2024 |
7 |
Reverse Integer |
Medium |
N150 |
solution |
py |
May 29, 2024 |
651 |
4 Keys Keyboard |
Medium |
|
solution |
py |
May 29, 2024 |
414 |
Third Maximum Number |
Easy |
|
solution |
py |
May 23, 2024 |
345 |
Reverse Vowels of a String |
Easy |
|
solution |
py |
May 23, 2024 |
3074 |
Apple Redistribution into Boxes |
Easy |
|
solution |
py |
May 23, 2024 |
292 |
Nim Game |
Easy |
|
solution |
py |
May 23, 2024 |
3 |
Longest Substring Without Repeating Characters |
Medium |
B75, N150 |
solution |
java |
May 22, 2024 |
2679 |
Sum in a Matrix |
Medium |
|
solution |
java |
May 22, 2024 |
2 |
Add Two Numbers |
Medium |
N150 |
solution |
java |
May 22, 2024 |
176 |
Second Highest Salary |
Medium |
|
solution |
sql |
May 22, 2024 |
577 |
Employee Bonus |
Easy |
|
solution |
sql |
May 22, 2024 |
2678 |
Number of Senior Citizens |
Easy |
Daily |
solution |
c, java, py |
May 22, 2024 |
26 |
Remove Duplicates from Sorted Array |
Easy |
|
solution |
java |
May 22, 2024 |
21 |
Merge Two Sorted Lists |
Easy |
B75, N150 |
solution |
java |
May 22, 2024 |
20 |
Valid Parentheses |
Easy |
B75, N150 |
solution |
java |
May 22, 2024 |
175 |
Combine Two Tables |
Easy |
|
solution |
py, sql |
May 22, 2024 |
1 |
Two Sum |
Easy |
B75, N150 |
solution |
java, py |
May 22, 2024 |
611 |
Valid Triangle Number |
Medium |
|
solution |
py |
May 22, 2024 |
251 |
Flatten 2D Vector |
Medium |
|
solution |
py |
May 22, 2024 |
177 |
Nth Highest Salary |
Medium |
|
solution |
sql |
May 22, 2024 |
9 |
Palindrome Number |
Easy |
|
solution |
java |
May 22, 2024 |
70 |
Climbing Stairs |
Easy |
B75, N150 |
solution |
py |
May 22, 2024 |
619 |
Biggest Single Number |
Easy |
|
solution |
sql |
May 22, 2024 |
607 |
Sales Person |
Easy |
|
solution |
sql |
May 22, 2024 |
596 |
Classes More Than 5 Students |
Easy |
|
solution |
sql |
May 22, 2024 |
595 |
Big Countries |
Easy |
|
solution |
sql |
May 22, 2024 |
586 |
Customer Placing the Largest Number of Orders |
Easy |
|
solution |
sql |
May 22, 2024 |
584 |
Find Customer Referee |
Easy |
|
solution |
sql |
May 22, 2024 |
2894 |
Divisible and Non-divisible Sums Difference |
Easy |
|
solution |
py |
May 22, 2024 |
28 |
Find the Index of the First Occurrence in a String |
Easy |
|
solution |
py |
May 22, 2024 |
197 |
Rising Temperature |
Easy |
|
solution |
sql |
May 22, 2024 |
183 |
Customers Who Never Order |
Easy |
|
solution |
sql |
May 22, 2024 |
182 |
Duplicate Emails |
Easy |
|
solution |
sql |
May 22, 2024 |
181 |
Employees Earning More Than Their Managers |
Easy |
|
solution |
sql |
May 22, 2024 |
14 |
Longest Common Prefix |
Easy |
|
solution |
java |
May 22, 2024 |
118 |
Pascal's Triangle |
Easy |
|
solution |
py |
May 22, 2024 |
1068 |
Product Sales Analysis I |
Easy |
|
solution |
sql |
May 22, 2024 |