D1
Arrays
271 stations Β· 111hTraversal, in-place tricks, Kadane, and the patterns every other topic builds on. 271 interview problems explained by codestorywithMIK (111h of video), grouped into 9 patterns such as Prefix Sum, Kadane, Two Pointers.
Start this line β- Prefix Sum36
- Kadane2
- Two Pointers24
- Sliding Window (variable)12
- Hashing48
- Matrix74
- Intervals7
- Sorting & Counting65
- Simulation & Implementation79
Prefix Sum
0 of 36 passed- Find Pivot IndexLC 724 Β· 15:06EasyGoogle Β· Amazon Β· +13 more companiesLeetCode β (opens in a new tab)
- Continuous Subarray SumLC 523 Β· 21:41MediumGoogle Β· Amazon Β· +8 more companiesLeetCode β (opens in a new tab)
- Longest Subsequence With Limited Sum : Explanation β Live Codingπ©π»βπ»π§π»βπ»π€―π±LC 2389 Β· 33:11EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Subarray Sums Divisible by KLC 974 Β· 35:53MediumGoogle Β· Amazon Β· +8 more companiesLeetCode β (opens in a new tab)
- Minimum Penalty for a ShopLC 2483 Β· 55:28MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Minimum Amount of Time to Collect GarbageLC 2391 Β· 19:59MediumGoogle Β· MicrosoftLeetCode β (opens in a new tab)
- Sum of Absolute Differences in a Sorted ArrayLC 1685 Β· 31:12MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Number of Submatrices That Sum to TargetLC 1074 Β· 56:53MediumGoogle Β· Amazon Β· +41 more companiesLeetCode β (opens in a new tab)
- Product of Array Except SelfLC 238 Β· 33:50MediumGoogle Β· Amazon Β· +33 more companiesLeetCode β (opens in a new tab)
- Contiguous ArrayLC 525 Β· 21:19MediumGoogle Β· Amazon Β· +12 more companiesLeetCode β (opens in a new tab)
- Count Number of Nice SubarraysLC 1248 Β· 32:49MediumGoogle Β· Amazon Β· +6 more companiesLeetCode β (opens in a new tab)
- Minimum Number of K Consecutive Bit FlipsLC 995 Β· 1:03:24HardGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Find the Student that Will Replace the ChalkLC 1894 Β· 19:14MediumGoogleLeetCode β (opens in a new tab)
- My Calendar IILC 731 Β· 32:41MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Make Sum Divisible by PLC 1590 Β· 27:26MediumGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Special Array IILC 3152 Β· 1:07:18MediumAmazon Β· Microsoft Β· +2 more companiesLeetCode β (opens in a new tab)
- Count Vowel Strings in RangesLC 2559 Β· 15:57MediumGoogle Β· Amazon Β· +7 more companiesLeetCode β (opens in a new tab)
- Number of Ways to Split ArrayLC 2270 Β· 12:50MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Find the Prefix Common Array of Two ArraysLC 2657 Β· 39:12MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Product of the Last K NumbersLC 1352 Β· 28:12MediumGoogle Β· Amazon Β· +8 more companiesLeetCode β (opens in a new tab)
- Number of Sub-arrays With Odd SumLC 1524 Β· 31:46MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Count of Interesting SubarraysLC 2845 Β· 38:30MediumGoogle Β· Meta Β· +2 more companiesLeetCode β (opens in a new tab)
- Range Product Queries of PowersLC 2438 Β· 19:17MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Find the Minimum Amount of Time to Brew PotionsLC 3494 Β· 46:41MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Adjacent Increasing Subarrays Detection IILC 3350 Β· 15:51MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Largest Magic SquareLC 1895 Β· 48:37MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Maximum Side Length of a Square with Sum Less than or Equal to ThresholdLC 1292 Β· 1:01:20MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Count Submatrices with Top-Left Element and Sum Less Than kLC 3070 Β· 27:26MediumAmazon Β· MicrosoftLeetCode β (opens in a new tab)
- Sum of DistancesLC 2615 Β· 32:20MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Count Subarrays With Majority Element I and IILC 3737 Β· 1:00:05MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Concatenate Non-Zero Digits and Multiply by Sum IILC 3756 Β· 50:34MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Make Array Elements Equal to ZeroLC 3354 Β· 30:16EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Count Partitions with Even Sum DifferenceLC 3432 Β· 19:55EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- XOR After Range Multiplication Queries ILC 3653 Β· 8:27MediumAmazon Β· InfosysLeetCode β (opens in a new tab)
Kadane
0 of 2 passed- Maximum Absolute Sum of Any SubarrayLC 1749 Β· 30:50MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Maximum Subarray Sum With Length Divisible by KLC 3381 Β· 31:35MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
Two Pointers
0 of 24 passed- Two Sum II - Input Array Is Sorted : Explanation β Live Coding π§π»βπ» (In Hinglish)LC 167 Β· 10:13MediumGoogle Β· Amazon Β· +13 more companiesLeetCode β (opens in a new tab)
- Trapping Rain WaterLC 42 Β· 20:00HardGoogle Β· Amazon Β· +70 more companiesLeetCode β (opens in a new tab)
- Next PermutationLC 31 Β· 25:45MediumGoogle Β· Amazon Β· +29 more companiesLeetCode β (opens in a new tab)
- Container With Most WaterLC 11 Β· 18:38MediumGoogle Β· Amazon Β· +52 more companiesLeetCode β (opens in a new tab)
- Find the Duplicate NumberLC 287 Β· 26:47MediumGoogle Β· Amazon Β· +20 more companiesLeetCode β (opens in a new tab)
- Rearrange Array Elements by SignLC 2149 Β· 17:51MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Divide Players Into Teams of Equal SkillLC 2491 Β· 26:49MediumAmazon Β· Microsoft Β· +3 more companiesLeetCode β (opens in a new tab)
- Rotating the BoxLC 1861 Β· 34:16MediumGoogle Β· Amazon Β· +7 more companiesLeetCode β (opens in a new tab)
- Partition Array According to Given PivotLC 2161 Β· 29:52MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Valid Triangle NumberLC 611 Β· 29:32MediumGoogle Β· Amazon Β· +6 more companiesLeetCode β (opens in a new tab)
- Number of Smooth Descent Periods of a StockLC 2110 Β· 10:21MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Earliest Finish Time for Land and Water Rides I and IILC 3633 Β· 33:28EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Assign CookiesLC 455 Β· 14:49EasyGoogle Β· Amazon Β· +7 more companiesLeetCode β (opens in a new tab)
- Squares of a Sorted ArrayLC 977 Β· 6:25EasyGoogle Β· Amazon Β· +15 more companiesLeetCode β (opens in a new tab)
- Minimum Common ValueLC 2540 Β· 11:28EasyGoogle Β· Microsoft Β· +1 more companiesLeetCode β (opens in a new tab)
- Intersection of Two ArraysLC 349 Β· 21:08EasyGoogle Β· Amazon Β· +12 more companiesLeetCode β (opens in a new tab)
- Largest Positive Integer That Exists With Its NegativeLC 2441 Β· 28:05EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Intersection of Two Arrays IILC 350 Β· 14:10EasyGoogle Β· Amazon Β· +7 more companiesLeetCode β (opens in a new tab)
- Check If N and Its Double ExistLC 1346 Β· 14:57EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Apply Operations to an ArrayLC 2460 Β· 18:50EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Find All K-Distant Indices in an ArrayLC 2200 Β· 20:44EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
Sliding Window (variable)
0 of 12 passed- Contains Duplicate II -(Airbnb, Palantir Technologies): Explanation β Live Coding π§π»βπ»LC 219 Β· 11:10EasyGoogle Β· Amazon Β· +12 more companiesLeetCode β (opens in a new tab)
- K Radius Subarray AveragesLC 2090 Β· 24:45MediumGoogle Β· Meta Β· +2 more companiesLeetCode β (opens in a new tab)
- Minimum Number of Operations to Make Array ContinuousLC 2009 Β· 35:18HardGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Count Number of Nice SubarraysLC 1248 Β· 32:49MediumGoogle Β· Amazon Β· +6 more companiesLeetCode β (opens in a new tab)
- Minimum Number of K Consecutive Bit FlipsLC 995 Β· 1:03:24HardGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Longest Subarray With Maximum Bitwise ANDLC 2419 Β· 14:31MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Shortest Subarray to be Removed to Make Array SortedLC 1574 Β· 34:17MediumGoogle Β· Amazon Β· +7 more companiesLeetCode β (opens in a new tab)
- Maximum Beauty of an Array After Applying OperationLC 2779 Β· 58:36MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Number of Smooth Descent Periods of a StockLC 2110 Β· 10:21MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Longest Harmonious SubsequenceLC 594 Β· 22:35EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Minimum Difference Between Highest and Lowest of K ScoresLC 1984 Β· 11:37EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Minimum Absolute DifferenceLC 1200 Β· 8:49EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
Hashing
0 of 48 passed- Find Original Array From Doubled ArrayLC 2007 Β· 14:55MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Contains Duplicate II -(Airbnb, Palantir Technologies): Explanation β Live Coding π§π»βπ»LC 219 Β· 11:10EasyGoogle Β· Amazon Β· +12 more companiesLeetCode β (opens in a new tab)
- Set MismatchLC 645 Β· 19:16EasyGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Continuous Subarray SumLC 523 Β· 21:41MediumGoogle Β· Amazon Β· +8 more companiesLeetCode β (opens in a new tab)
- Valid SudokuLC 36 Β· 41:14MediumGoogle Β· Amazon Β· +22 more companiesLeetCode β (opens in a new tab)
- Subarray Sums Divisible by KLC 974 Β· 35:53MediumGoogle Β· Amazon Β· +8 more companiesLeetCode β (opens in a new tab)
- Find the Town JudgeLC 997 Β· 10:43EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Jump Game IVLC 1345 Β· 21:04HardGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Group the People Given the Group Size They Belong ToLC 1282 Β· 14:46MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Minimum Operations to Reduce X to ZeroLC 1658 Β· 31:59MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Majority Element ILC 229 Β· 31:50EasyGoogle Β· Amazon Β· +22 more companiesLeetCode β (opens in a new tab)
- Minimum Number of Operations to Make Array ContinuousLC 2009 Β· 35:18HardGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Number of Submatrices That Sum to TargetLC 1074 Β· 56:53MediumGoogle Β· Amazon Β· +41 more companiesLeetCode β (opens in a new tab)
- Meeting Rooms IIILC 2402 Β· 1:00:03HardGoogle Β· Amazon Β· +10 more companiesLeetCode β (opens in a new tab)
- Contiguous ArrayLC 525 Β· 21:19MediumGoogle Β· Amazon Β· +12 more companiesLeetCode β (opens in a new tab)
- Find All Duplicates in an ArrayLC 442 Β· 12:11MediumGoogle Β· Amazon Β· +8 more companiesLeetCode β (opens in a new tab)
- First Missing PositiveLC 41 Β· 33:17HardGoogle Β· Amazon Β· +28 more companiesLeetCode β (opens in a new tab)
- Count Number of Nice SubarraysLC 1248 Β· 32:49MediumGoogle Β· Amazon Β· +6 more companiesLeetCode β (opens in a new tab)
- Regions Cut By SlashesLC 959 Β· 42:56MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Make Sum Divisible by PLC 1590 Β· 27:26MediumGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Divide Players Into Teams of Equal SkillLC 2491 Β· 26:49MediumAmazon Β· Microsoft Β· +3 more companiesLeetCode β (opens in a new tab)
- The Number of the Smallest Unoccupied ChairLC 1942 Β· 32:23MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Longest Square Streak in an ArrayLC 2501 Β· 24:47MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Flip Columns For Maximum Number of Equal RowsLC 1072 Β· 30:05MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- First Completely Painted Row or ColumnLC 2661 Β· 39:47MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Count Servers that CommunicateLC 1267 Β· 44:20MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Tuple with Same ProductLC 1726 Β· 57:29MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Max Sum of a Pair With Equal Sum of DigitsLC 2342 Β· 25:31MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Count of Interesting SubarraysLC 2845 Β· 38:30MediumGoogle Β· Meta Β· +2 more companiesLeetCode β (opens in a new tab)
- Maximum Frequency of an Element After Performing Operations ILC 3346 Β· 37:48MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Count Submatrices With Equal Frequency of X and YLC 3212 Β· 16:48MediumAmazon Β· MicrosoftLeetCode β (opens in a new tab)
- Sum of DistancesLC 2615 Β· 32:20MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Count Subarrays With Majority Element I and IILC 3737 Β· 1:00:05MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Minimum Moves to Clean the ClassroomLC 3568 Β· 1:06:42MediumBloombergLeetCode β (opens in a new tab)
- Count Elements With Maximum FrequencyLC 3005 Β· 12:50EasyGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Minimum Common ValueLC 2540 Β· 11:28EasyGoogle Β· Microsoft Β· +1 more companiesLeetCode β (opens in a new tab)
- Intersection of Two ArraysLC 349 Β· 21:08EasyGoogle Β· Amazon Β· +12 more companiesLeetCode β (opens in a new tab)
- Largest Positive Integer That Exists With Its NegativeLC 2441 Β· 28:05EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Find Common CharactersLC 1002 Β· 13:12EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Intersection of Two Arrays IILC 350 Β· 14:10EasyGoogle Β· Amazon Β· +7 more companiesLeetCode β (opens in a new tab)
- Make Two Arrays Equal by Reversing SubarraysLC 1460 Β· 12:03EasyMeta Β· BloombergLeetCode β (opens in a new tab)
- Check If N and Its Double ExistLC 1346 Β· 14:57EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Divide Array Into Equal PairsLC 2206 Β· 19:11EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Maximum Difference Between Even and Odd Frequency ILC 3442 Β· 6:30EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Longest Harmonious SubsequenceLC 594 Β· 22:35EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Check if Array is GoodLC 2784 Β· 30:42EasyGoogle Β· Microsoft Β· +1 more companiesLeetCode β (opens in a new tab)
- Maximum Count of Positive Integer and Negative IntegerLC 2529 Β· 33:39EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
Matrix
0 of 74 passed- Rotate ImageLC 48 Β· 9:31MediumGoogle Β· Amazon Β· +32 more companiesLeetCode β (opens in a new tab)
- Spiral MatrixLC 54 Β· 26:53MediumGoogle Β· Amazon Β· +47 more companiesLeetCode β (opens in a new tab)
- Sort the Matrix DiagonallyLC 1329 Β· 24:02MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Diagonal TraverseLC 498 Β· 13:04MediumGoogle Β· Amazon Β· +10 more companiesLeetCode β (opens in a new tab)
- Shortest Path in a Grid with Obstacles Elimination -(Google) : Explanation β Live CodingLC 1293 Β· 26:47HardGoogle Β· Amazon Β· +12 more companiesLeetCode β (opens in a new tab)
- Where Will the Ball Fall -(Amazon) : Explanation β Live CodingLC 1706 Β· 20:24MediumGoogleLeetCode β (opens in a new tab)
- Valid SudokuLC 36 Β· 41:14MediumGoogle Β· Amazon Β· +22 more companiesLeetCode β (opens in a new tab)
- Snakes and LaddersLC 909 Β· 44:24MediumGoogle Β· Amazon Β· +10 more companiesLeetCode β (opens in a new tab)
- Number of Closed IslandsLC 1254 Β· 18:56MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Number of Enclaves - (Leetcode - 1020) - (AMAZON) : Explanation β Live Coding π§π»βπ»π©π»βπ»LC 1020 Β· 15:35MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Spiral Matrix IILC 59 Β· 18:01MediumGoogle Β· Amazon Β· +9 more companiesLeetCode β (opens in a new tab)
- Shortest BridgeLC 934 Β· 26:49MediumGoogle Β· Amazon Β· +15 more companiesLeetCode β (opens in a new tab)
- Count Negative Numbers in a Sorted MatrixLC 1351 Β· 30:54EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Shortest Path to Get All KeysLC 864 Β· 31:32HardGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- 01 MatrixLC 542 Β· 18:59MediumGoogle Β· Amazon Β· +9 more companiesLeetCode β (opens in a new tab)
- The K Weakest Rows in a MatrixLC 1337 Β· 29:08EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Largest Submatrix With RearrangementsLC 1727 Β· 52:35MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Difference Between Ones and Zeros in Row and ColumnLC 2482 Β· 12:46MediumAmazonLeetCode β (opens in a new tab)
- Image SmootherLC 661 Β· 38:20EasyAmazon Β· Meta Β· +4 more companiesLeetCode β (opens in a new tab)
- Convert an Array Into a 2D Array With ConditionsLC 2610 Β· 15:45MediumGoogleLeetCode β (opens in a new tab)
- Island PerimeterLC 463 Β· 45:34EasyGoogle Β· Amazon Β· +7 more companiesLeetCode β (opens in a new tab)
- Number of IslandsLC 200 Β· 17:49MediumGoogle Β· Amazon Β· +79 more companiesLeetCode β (opens in a new tab)
- Find Valid Matrix Given Row and Column SumsLC 1605 Β· 19:18MediumGoogle Β· Squarepoint CapitalLeetCode β (opens in a new tab)
- Spiral Matrix IIILC 885 Β· 30:57MediumGoogle Β· Meta Β· +3 more companiesLeetCode β (opens in a new tab)
- Magic Squares In GridLC 840 Β· 26:09MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Regions Cut By SlashesLC 959 Β· 42:56MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Minimum Number of Days to Disconnect IslandLC 1568 Β· 24:20HardGoogleLeetCode β (opens in a new tab)
- Count Sub IslandsLC 1905 Β· 29:15MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Spiral Matrix IVLC 2326 Β· 24:17MediumGoogle Β· Meta Β· +2 more companiesLeetCode β (opens in a new tab)
- Maximum Number of Moves in a GridLC 2684 Β· 15:53MediumGoogle Β· AccentureLeetCode β (opens in a new tab)
- Count Unguarded Cells in the GridLC 2257 Β· 14:58MediumGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Flip Columns For Maximum Number of Equal RowsLC 1072 Β· 30:05MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Rotating the BoxLC 1861 Β· 34:16MediumGoogle Β· Amazon Β· +7 more companiesLeetCode β (opens in a new tab)
- Maximum Matrix SumLC 1975 Β· 18:33MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Sliding PuzzleLC 773 Β· 34:24HardGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- First Completely Painted Row or ColumnLC 2661 Β· 39:47MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Grid GameLC 2017 Β· 35:32MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Count Servers that CommunicateLC 1267 Β· 44:20MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Check if Grid can be Cut into SectionsLC 3394 Β· 43:18MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Maximum Number of Points From Grid QueriesLC 2503 Β· 47:49HardGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Set Matrix ZeroesLC 73 Β· 36:44MediumGoogle Β· Amazon Β· +18 more companiesLeetCode β (opens in a new tab)
- Count Submatrices With All OnesLC 1504 Β· 29:31MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Find the Minimum Area to Cover All Ones ILC 3195 Β· 12:11MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Find the Minimum Area to Cover All Ones IILC 3197 Β· 56:26HardGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Sort Matrix by DiagonalsLC 3446 Β· 38:17MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Pacific Atlantic Water FlowLC 417 Β· 37:21MediumGoogle Β· Amazon Β· +10 more companiesLeetCode β (opens in a new tab)
- Maximize Area of Square Hole in GridLC 2943 Β· 27:54MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Largest Magic SquareLC 1895 Β· 48:37MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Maximum Side Length of a Square with Sum Less than or Equal to ThresholdLC 1292 Β· 1:01:20MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Minimum Swaps to Arrange a Binary GridLC 1536 Β· 23:02MediumAmazon Β· BloombergLeetCode β (opens in a new tab)
- Get Biggest Three Rhombus Sums in a GridLC 1878 Β· 1:02:44MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Count Submatrices with Top-Left Element and Sum Less Than kLC 3070 Β· 27:26MediumAmazon Β· MicrosoftLeetCode β (opens in a new tab)
- Minimum Absolute Difference in Sliding SubmatrixLC 3567 Β· 16:49MediumGoogle Β· AmazonLeetCode β (opens in a new tab)
- Construct Product MatrixLC 2906 Β· 17:57MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Equal Sum Grid Partition ILC 3546 Β· 19:48MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Cyclically Rotating a GridLC 1914 Β· 20:56MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Rotate ArrayLC 189 Β· 20:18MediumGoogle Β· Amazon Β· +25 more companiesLeetCode β (opens in a new tab)
- Minimum Cost Homecoming of a Robot in a GridLC 2087 Β· 25:27MediumMicrosoft Β· Goldman Sachs Β· +2 more companiesLeetCode β (opens in a new tab)
- Minimum Moves to Clean the ClassroomLC 3568 Β· 1:06:42MediumBloombergLeetCode β (opens in a new tab)
- Count Islands With Total Value Divisible by KLC 3619 Β· 19:06MediumGoogle Β· IntuitLeetCode β (opens in a new tab)
- Transpose MatrixLC 867 Β· 10:11EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Special Positions in a Binary MatrixLC 1582 Β· 16:10EasyGoogle Β· AmazonLeetCode β (opens in a new tab)
- Largest Local Values in a MatrixLC 2373 Β· 13:00EasyGoogle Β· Meta Β· +2 more companiesLeetCode β (opens in a new tab)
- Lucky Numbers in a MatrixLC 1380 Β· 23:55EasyAmazon Β· Oracle Β· +1 more companiesLeetCode β (opens in a new tab)
- Convert 1D Array Into 2D ArrayLC 2022 Β· 13:15EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Merge Two 2D Arrays by Summing ValuesLC 2570 Β· 20:52EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Determine Whether Matrix Can Be Obtained By RotationLC 1886 Β· 20:15EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
Intervals
0 of 7 passed- Insert IntervalLC 57 Β· 24:35MediumGoogle Β· Amazon Β· +14 more companiesLeetCode β (opens in a new tab)
- Non-overlapping IntervalsLC 435 Β· 37:03 Β· LeetCode PremiumEasyGoogle Β· Amazon Β· +8 more companiesLeetCode β (opens in a new tab)
- Divide Intervals Into Minimum Number of GroupsLC 2406 Β· 20:58MediumGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Two Best Non-Overlapping EventsLC 2054 Β· 27:53MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Check if Grid can be Cut into SectionsLC 3394 Β· 43:18MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Maximum Sum of Two Non-Overlapping SubarraysLC 1031 Β· 46:34MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
Sorting & Counting
0 of 65 passed- Group AnagramsLC 49 Β· 11:36MediumGoogle Β· Amazon Β· +77 more companiesLeetCode β (opens in a new tab)
- Group AnagramsLC 49 Β· 14:24MediumGoogle Β· Amazon Β· +77 more companiesLeetCode β (opens in a new tab)
- Sort the Matrix DiagonallyLC 1329 Β· 24:02MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Sort ColorsLC 75 Β· 14:08MediumGoogle Β· Amazon Β· +35 more companiesLeetCode β (opens in a new tab)
- Find Original Array From Doubled ArrayLC 2007 Β· 14:55MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Largest Perimeter TriangleLC 976 Β· 11:06EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Set MismatchLC 645 Β· 19:16EasyGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Longest Subsequence With Limited Sum : Explanation β Live Codingπ©π»βπ»π§π»βπ»π€―π±LC 2389 Β· 33:11EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Minimum Number of Arrows to Burst BalloonsLC 452 Β· 23:40MediumGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Put Marbles in BagsLC 2551 Β· 26:36EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Kth Largest Element in an ArrayLC 215 Β· 29:38MediumGoogle Β· Amazon Β· +39 more companiesLeetCode β (opens in a new tab)
- The K Weakest Rows in a MatrixLC 1337 Β· 29:08EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Sort Array By ParityLC 905 Β· 13:14EasyGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Majority Element ILC 229 Β· 31:50EasyGoogle Β· Amazon Β· +22 more companiesLeetCode β (opens in a new tab)
- Reduction Operations to Make the Array Elements EqualLC 1887 Β· 13:54MediumMicrosoftLeetCode β (opens in a new tab)
- Diagonal Traverse IILC 1424 Β· 31:46MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Largest Submatrix With RearrangementsLC 1727 Β· 52:35MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Widest Vertical Area Between Two Points Containing No PointsLC 1637 Β· 9:02EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Meeting Rooms IIILC 2402 Β· 1:00:03HardGoogle Β· Amazon Β· +10 more companiesLeetCode β (opens in a new tab)
- Find All Duplicates in an ArrayLC 442 Β· 12:11MediumGoogle Β· Amazon Β· +8 more companiesLeetCode β (opens in a new tab)
- Minimum Time DifferenceLC 539 Β· 24:01MediumGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Divide Players Into Teams of Equal SkillLC 2491 Β· 26:49MediumAmazon Β· Microsoft Β· +3 more companiesLeetCode β (opens in a new tab)
- Longest Square Streak in an ArrayLC 2501 Β· 24:47MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Find if Array Can Be SortedLC 3011 Β· 30:07MediumAmazon Β· Meta Β· +2 more companiesLeetCode β (opens in a new tab)
- Maximum Beauty of an Array After Applying OperationLC 2779 Β· 58:36MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Max Chunks To Make SortedLC 769 Β· 36:04MediumGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Make Lexicographically Smallest Array by Swapping ElementsLC 2948 Β· 59:07MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Max Sum of a Pair With Equal Sum of DigitsLC 2342 Β· 25:31MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Count Days Without MeetingsLC 3169 Β· 18:09MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Sort Matrix by DiagonalsLC 3446 Β· 38:17MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Find the Number of Ways to Place People ILC 3025 Β· 42:42MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Find the Number of Ways to Place People IILC 3027 Β· 7:09HardGoogle Β· Meta Β· +1 more companiesLeetCode β (opens in a new tab)
- Valid Triangle NumberLC 611 Β· 29:32MediumGoogle Β· Amazon Β· +6 more companiesLeetCode β (opens in a new tab)
- Minimum Absolute Difference in Sliding SubmatrixLC 3567 Β· 16:49MediumGoogle Β· AmazonLeetCode β (opens in a new tab)
- Earliest Finish Time for Land and Water Rides I and IILC 3633 Β· 33:28EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Minimum Operations to Sort a PermutationLC 3942 Β· 47:24MediumAmazonLeetCode β (opens in a new tab)
- Maximum Product of Two Elements in an ArrayLC 1464 Β· 8:28EasyGoogle Β· Amazon Β· +6 more companiesLeetCode β (opens in a new tab)
- Assign CookiesLC 455 Β· 14:49EasyGoogle Β· Amazon Β· +7 more companiesLeetCode β (opens in a new tab)
- Divide Array Into Arrays With Max DifferenceLC 2966 Β· 16:02MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Squares of a Sorted ArrayLC 977 Β· 6:25EasyGoogle Β· Amazon Β· +15 more companiesLeetCode β (opens in a new tab)
- Intersection of Two ArraysLC 349 Β· 21:08EasyGoogle Β· Amazon Β· +12 more companiesLeetCode β (opens in a new tab)
- Largest Positive Integer That Exists With Its NegativeLC 2441 Β· 28:05EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Relative RanksLC 506 Β· 30:39EasyGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Relative Sort ArrayLC 1122 Β· 20:15EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Minimum Number of Moves to Seat EveryoneLC 2037 Β· 21:39EasyGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Intersection of Two Arrays IILC 350 Β· 14:10EasyGoogle Β· Amazon Β· +7 more companiesLeetCode β (opens in a new tab)
- Make Two Arrays Equal by Reversing SubarraysLC 1460 Β· 12:03EasyMeta Β· BloombergLeetCode β (opens in a new tab)
- Check If N and Its Double ExistLC 1346 Β· 14:57EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Type of TriangleLC 3024 Β· 9:36EasyGoogle Β· Meta Β· +3 more companiesLeetCode β (opens in a new tab)
- Longest Harmonious SubsequenceLC 594 Β· 22:35EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Apple Redistribution into BoxesLC 3074 Β· 9:53EasyGoogle Β· Bloomberg Β· +1 more companiesLeetCode β (opens in a new tab)
- Minimum Pair Removal to Sort Array ILC 3507 Β· 11:36EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Minimum Difference Between Highest and Lowest of K ScoresLC 1984 Β· 11:37EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Minimum Absolute DifferenceLC 1200 Β· 8:49EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Divide an Array Into Subarrays With Minimum Cost ILC 3010 Β· 9:20EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Check if Array is GoodLC 2784 Β· 30:42EasyGoogle Β· Microsoft Β· +1 more companiesLeetCode β (opens in a new tab)
- Minimum Cost of Buying Candies With DiscountLC 2144 Β· 13:21EasyAmazon Β· Meta Β· +3 more companiesLeetCode β (opens in a new tab)
- Find Target Indices After Sorting ArrayLC 2089 Β· 16:20EasyGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Largest Number formed from an ArrayLC 179 Β· 20:30MediumGoogle Β· Amazon Β· +17 more companiesLeetCode β (opens in a new tab)
Simulation & Implementation
0 of 79 passed- Diagonal TraverseLC 498 Β· 13:04MediumGoogle Β· Amazon Β· +10 more companiesLeetCode β (opens in a new tab)
- Increasing Triplet Subsequence -(Amazon, Walmart, Facebook): Explanation β Live Coding π§π»βπ»LC 334 Β· 24:32MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Where Will the Ball Fall -(Amazon) : Explanation β Live CodingLC 1706 Β· 20:24MediumGoogleLeetCode β (opens in a new tab)
- Maximum Sum Circular SubarrayLC 918 Β· 30:55MediumGoogle Β· Amazon Β· +10 more companiesLeetCode β (opens in a new tab)
- Number of Zero-Filled SubarraysLC 2348 Β· 16:40MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Kids With the Greatest Number of Candies - (Leetcode - 1431) - : Explanation β Live CodingLC 1431 Β· 5:48EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Summary RangesLC 228 Β· 13:04EasyGoogle Β· Amazon Β· +7 more companiesLeetCode β (opens in a new tab)
- Pascal's TriangleLC 118 Β· 14:46EasyGoogle Β· Amazon Β· +12 more companiesLeetCode β (opens in a new tab)
- Median of Two Sorted ArraysLC 4 Β· 32:10HardGoogle Β· Amazon Β· +42 more companiesLeetCode β (opens in a new tab)
- Monotonic ArrayLC 896 Β· 7:13EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Pascal's Triangle IILC 119 Β· 15:42EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Last Moment Before All Ants Fall Out of a PlankLC 1503 Β· 23:50MediumGoogleLeetCode β (opens in a new tab)
- Find the Winner of an Array GameLC 1535 Β· 25:28MediumMicrosoft Β· Goldman Sachs Β· +1 more companiesLeetCode β (opens in a new tab)
- Element Appearing More Than 25% In Sorted ArrayLC 1287 Β· 25:35EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Difference Between Ones and Zeros in Row and ColumnLC 2482 Β· 12:46MediumAmazonLeetCode β (opens in a new tab)
- Sequential DigitsLC 1291 Β· 21:21MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Rearrange Array Elements by SignLC 2149 Β· 17:51MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Number of Subarrays That Match a PatternLC 3034 Β· 37:38MediumAmazon Β· Uber Β· +3 more companiesLeetCode β (opens in a new tab)
- Meeting Rooms IIILC 2402 Β· 1:00:03HardGoogle Β· Amazon Β· +10 more companiesLeetCode β (opens in a new tab)
- Average Waiting TimeLC 1701 Β· 17:03MediumMeta Β· Salesforce Β· +1 more companiesLeetCode β (opens in a new tab)
- Minimum Operations to Make Array Equal to TargetLC 3229 Β· 45:23HardGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Count Number of TeamsLC 1395 Β· 24:13MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Spiral Matrix IIILC 885 Β· 30:57MediumGoogle Β· Meta Β· +3 more companiesLeetCode β (opens in a new tab)
- Find the Student that Will Replace the ChalkLC 1894 Β· 19:14MediumGoogleLeetCode β (opens in a new tab)
- Walking Robot SimulationLC 874 Β· 30:56MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- My Calendar ILC 729 Β· 37:33MediumGoogle Β· Amazon Β· +10 more companiesLeetCode β (opens in a new tab)
- Count Number of Maximum Bitwise-OR SubsetsLC 2044 Β· 21:07MediumGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Minimum Number of Removals to Make Mountain ArrayLC 1671 Β· 31:03HardGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Prime Subtraction OperationLC 2601 Β· 24:07MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Best Sightseeing PairLC 1014 Β· 26:36MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Partition Array According to Given PivotLC 2161 Β· 29:52MediumGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Find the Maximum Length of Valid Subsequence ILC 3201 Β· 24:54MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Minimum Operations to Make Array Elements ZeroLC 3495 Β· 43:49HardGoogle Β· Meta Β· +1 more companiesLeetCode β (opens in a new tab)
- Find Triangular Sum of an ArrayLC 2221 Β· 14:01MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Water Bottles IILC 3100 Β· 21:39MediumGoogle Β· Amazon Β· +1 more companiesLeetCode β (opens in a new tab)
- Find the Minimum Amount of Time to Brew PotionsLC 3494 Β· 46:41MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Adjacent Increasing Subarrays Detection IILC 3350 Β· 15:51MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Rotate FunctionLC 396 Β· 25:54MediumGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Jump Game IXLC 3660 Β· 33:26MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Jump Game IIILC 1306 Β· 10:12MediumGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Number of Students Unable to Eat LunchLC 1700 Β· 19:01EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Time Needed to Buy TicketsLC 2073 Β· 37:29EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Lemonade ChangeLC 860 Β· 10:53EasyGoogle Β· Amazon Β· +6 more companiesLeetCode β (opens in a new tab)
- Special Array ILC 3151 Β· 7:56EasyGoogle Β· Meta Β· +3 more companiesLeetCode β (opens in a new tab)
- Check if Array Is Sorted and RotatedLC 1752 Β· 33:46EasyGoogle Β· Amazon Β· +8 more companiesLeetCode β (opens in a new tab)
- Longest Strictly Increasing or Strictly Decreasing SubarrayLC 3105 Β· 15:31EasyGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Maximum Ascending Subarray SumLC 1800 Β· 14:00EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Apply Operations to an ArrayLC 2460 Β· 18:50EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Count Good TripletsLC 1534 Β· 10:20EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Count Equal and Divisible Pairs in an ArrayLC 2176 Β· 30:04EasyGoogle Β· Meta Β· +3 more companiesLeetCode β (opens in a new tab)
- Count Largest GroupLC 1399 Β· 12:05EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Count Subarrays of Length Three With a ConditionLC 3392 Β· 6:55EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Find Numbers With Even Number Of DigitsLC 1295 Β· 11:12EasyGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- Three Consecutive OddsLC 1550 Β· 9:58EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Longest Unequal Adjacent Groups Subsequence ILC 2900 Β· 15:09EasyfourkitesLeetCode β (opens in a new tab)
- Maximum Difference Between Increasing ElementsLC 2016 Β· 10:40EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Count Hills and Valleys in an ArrayLC 2210 Β· 11:00EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Find N Unique Integers Sum up to ZeroLC 1304 Β· 9:30EasyGoogle Β· Amazon Β· +4 more companiesLeetCode β (opens in a new tab)
- Convert Integer to the Sum of Two No-Zero IntegersLC 1317 Β· 25:42EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Adjacent Increasing Subarrays Detection ILC 3349 Β· 26:51EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Make Array Elements Equal to ZeroLC 3354 Β· 30:16EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Check If All 1's Are at Least Length K Places AwayLC 1437 Β· 7:32EasyGoogle Β· Meta Β· +1 more companiesLeetCode β (opens in a new tab)
- 1-bit and 2-bit CharactersLC 717 Β· 16:59EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Trionic Array ILC 3637 Β· 11:07EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Transformed ArrayLC 3379 Β· 17:11EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- XOR After Range Multiplication Queries ILC 3653 Β· 8:27MediumAmazon Β· InfosysLeetCode β (opens in a new tab)
- Minimum Distance to the Target ElementLC 1848 Β· 6:49EasyGoogle Β· Amazon Β· +2 more companiesLeetCode β (opens in a new tab)
- Shortest Distance to Target String in a Circular ArrayLC 2515 Β· 11:53EasyAmazon Β· Microsoft Β· +2 more companiesLeetCode β (opens in a new tab)
- Two Furthest Houses With Different ColorsLC 2078 Β· 18:42EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
- Find Smallest Letter Greater Than TargetLC 744 Β· 14:54EasyGoogle Β· Amazon Β· +5 more companiesLeetCode β (opens in a new tab)
- What is Lambda CaptureLC 2942 Β· 15:18EasyGoogle Β· Amazon Β· +3 more companiesLeetCode β (opens in a new tab)
All 271 stations in order
- 1.Two Sum (LeetCode 1)
- 2.Two Sum II - Input Array Is Sorted : Explanation β Live Coding π§π»βπ» (In Hinglish) (LeetCode 167)
- 3.3 SUM (LeetCode 15)
- 4.Trapping Rain Water (LeetCode 42)
- 5.3Sum Closest - (Meta, Amazon, Microsoft, Oracle)βLive Coding π§π»βπ» (LeetCode 16)
- 6.Factorial Of Large Numbers - (Microsoft, MakeMyTrip, Adobe):Explanation β Live Coding π§π»βπ»π©π»βπ»
- 7.Next Permutation (LeetCode 31)
- 8.Rotate Image (LeetCode 48)
- 9.Container With Most Water (LeetCode 11)
- 10.Spiral Matrix (LeetCode 54)
- 11.Group Anagrams (LeetCode 49)
- 12.Group Anagrams (LeetCode 49)
- 13.Sort the Matrix Diagonally (LeetCode 1329)
- 14.Diagonal Traverse (LeetCode 498)
- 15.Sort Colors (LeetCode 75)
- 16.Find Original Array From Doubled Array (LeetCode 2007)
- 17.Sum of Even Numbers After Queries-(Asked in Indeed): Explanation β Live Coding π§π»βπ»π©π»βπ» (LeetCode 985)
- 18.Find Pivot Index (LeetCode 724)
- 19.Increasing Triplet Subsequence -(Amazon, Walmart, Facebook): Explanation β Live Coding π§π»βπ» (LeetCode 334)
- 20.Largest Perimeter Triangle (LeetCode 976)
- 21.Contains Duplicate II -(Airbnb, Palantir Technologies): Explanation β Live Coding π§π»βπ» (LeetCode 219)
- 22.Set Mismatch (LeetCode 645)
- 23.Continuous Subarray Sum (LeetCode 523)
- 24.Image Overlap (LeetCode 835)
- 25.Shortest Path in a Grid with Obstacles Elimination -(Google) : Explanation β Live Coding (LeetCode 1293)
- 26.Toeplitz Matrix -(Google, Meta, Apple) : Explanation β Live Coding (LeetCode 766)
- 27.Where Will the Ball Fall -(Amazon) : Explanation β Live Coding (LeetCode 1706)
- 28.Valid Sudoku (LeetCode 36)
- 29.Minimum Average Difference (LeetCode 2256)
- 30.Longest Subsequence With Limited Sum : Explanation β Live Codingπ©π»βπ»π§π»βπ»π€―π± (LeetCode 2389)
- 31.Minimum Number of Arrows to Burst Balloons (LeetCode 452)
- 32.Insert Interval (LeetCode 57)
- 33.Maximum Sum Circular Subarray (LeetCode 918)
- 34.Subarray Sums Divisible by K (LeetCode 974)
- 35.Find the Town Judge (LeetCode 997)
- 36.Snakes and Ladders (LeetCode 909)
- 37.Data Stream as Disjoint Intervals - (AMAZON) : Explanation β Live Coding (LeetCode 352)
- 38.Jump Game IV (LeetCode 1345)
- 39.Can Place Flowers - (Leetcode - 605) - (GOOGLE) : Explanation β Live Coding (LeetCode 605)
- 40.Number of Zero-Filled Subarrays (LeetCode 2348)
- 41.Number of Closed Islands (LeetCode 1254)
- 42.Number of Enclaves - (Leetcode - 1020) - (AMAZON) : Explanation β Live Coding π§π»βπ»π©π»βπ» (LeetCode 1020)
- 43.Kids With the Greatest Number of Candies - (Leetcode - 1431) - : Explanation β Live Coding (LeetCode 1431)
- 44.Spiral Matrix II (LeetCode 59)
- 45.Shortest Bridge (LeetCode 934)
- 46.Count Negative Numbers in a Sorted Matrix (LeetCode 1351)
- 47.Summary Ranges (LeetCode 228)
- 48.K Radius Subarray Averages (LeetCode 2090)
- 49.Shortest Path to Get All Keys (LeetCode 864)
- 50.Put Marbles in Bags (LeetCode 2551)
- 51.Non-overlapping Intervals (LeetCode 435)
- 52.Kth Largest Element in an Array (LeetCode 215)
- 53.01 Matrix (LeetCode 542)
- 54.Minimum Penalty for a Shop (LeetCode 2483)
- 55.Pascal's Triangle (LeetCode 118)
- 56.Group the People Given the Group Size They Belong To (LeetCode 1282)
- 57.The K Weakest Rows in a Matrix (LeetCode 1337)
- 58.Find the Duplicate Number (LeetCode 287)
- 59.Minimum Operations to Reduce X to Zero (LeetCode 1658)
- 60.Median of Two Sorted Arrays (LeetCode 4)
- 61.Sort Array By Parity (LeetCode 905)
- 62.Monotonic Array (LeetCode 896)
- 63.Majority Element I (LeetCode 229)
- 64.Minimum Number of Operations to Make Array Continuous (LeetCode 2009)
- 65.Pascal's Triangle II (LeetCode 119)
- 66.Last Moment Before All Ants Fall Out of a Plank (LeetCode 1503)
- 67.Find the Winner of an Array Game (LeetCode 1535)
- 68.Reduction Operations to Make the Array Elements Equal (LeetCode 1887)
- 69.Minimum Amount of Time to Collect Garbage (LeetCode 2391)
- 70.Diagonal Traverse II (LeetCode 1424)
- 71.Arithmetic Subarrays (LeetCode 1630)
- 72.Sum of Absolute Differences in a Sorted Array (LeetCode 1685)
- 73.Largest Submatrix With Rearrangements (LeetCode 1727)
- 74.Element Appearing More Than 25% In Sorted Array (LeetCode 1287)
- 75.Difference Between Ones and Zeros in Row and Column (LeetCode 2482)
- 76.Image Smoother (LeetCode 661)
- 77.Widest Vertical Area Between Two Points Containing No Points (LeetCode 1637)
- 78.Anti Diagonal Traversal of Matrix
- 79.Convert an Array Into a 2D Array With Conditions (LeetCode 2610)
- 80.Number of Submatrices That Sum to Target (LeetCode 1074)
- 81.Sequential Digits (LeetCode 1291)
- 82.Rearrange Array Elements by Sign (LeetCode 2149)
- 83.Number of Subarrays That Match a Pattern (LeetCode 3034)
- 84.Meeting Rooms III (LeetCode 2402)
- 85.Product of Array Except Self (LeetCode 238)
- 86.Contiguous Array (LeetCode 525)
- 87.Find All Duplicates in an Array (LeetCode 442)
- 88.First Missing Positive (LeetCode 41)
- 89.Count Alternating Subarrays (LeetCode 3031)
- 90.Island Perimeter (LeetCode 463)
- 91.Number of Islands (LeetCode 200)
- 92.Find All Groups of Farmland (LeetCode 1992)
- 93.Count Number of Nice Subarrays (LeetCode 1248)
- 94.Minimum Number of K Consecutive Bit Flips (LeetCode 995)
- 95.Minimum Difference Between Largest and Smallest Value in Three Moves (LeetCode 1509)
- 96.Average Waiting Time (LeetCode 1701)
- 97.Find Valid Matrix Given Row and Column Sums (LeetCode 1605)
- 98.Minimum Operations to Make Array Equal to Target (LeetCode 3229)
- 99.Count Number of Teams (LeetCode 1395)
- 100.Spiral Matrix III (LeetCode 885)
- 101.Magic Squares In Grid (LeetCode 840)
- 102.Regions Cut By Slashes (LeetCode 959)
- 103.Minimum Number of Days to Disconnect Island (LeetCode 1568)
- 104.Count Sub Islands (LeetCode 1905)
- 105.Find the Student that Will Replace the Chalk (LeetCode 1894)
- 106.Walking Robot Simulation (LeetCode 874)
- 107.Spiral Matrix IV (LeetCode 2326)
- 108.Longest Subarray With Maximum Bitwise AND (LeetCode 2419)
- 109.Minimum Time Difference (LeetCode 539)
- 110.My Calendar I (LeetCode 729)
- 111.My Calendar II (LeetCode 731)
- 112.Make Sum Divisible by P (LeetCode 1590)
- 113.Divide Players Into Teams of Equal Skill (LeetCode 2491)
- 114.The Number of the Smallest Unoccupied Chair (LeetCode 1942)
- 115.Divide Intervals Into Minimum Number of Groups (LeetCode 2406)
- 116.Count Number of Maximum Bitwise-OR Subsets (LeetCode 2044)
- 117.Longest Square Streak in an Array (LeetCode 2501)
- 118.Maximum Number of Moves in a Grid (LeetCode 2684)
- 119.Minimum Number of Removals to Make Mountain Array (LeetCode 1671)
- 120.Find if Array Can Be Sorted (LeetCode 3011)
- 121.Prime Subtraction Operation (LeetCode 2601)
- 122.Shortest Subarray to be Removed to Make Array Sorted (LeetCode 1574)
- 123.Count Unguarded Cells in the Grid (LeetCode 2257)
- 124.Flip Columns For Maximum Number of Equal Rows (LeetCode 1072)
- 125.Rotating the Box (LeetCode 1861)
- 126.Maximum Matrix Sum (LeetCode 1975)
- 127.Sliding Puzzle (LeetCode 773)
- 128.Two Best Non-Overlapping Events (LeetCode 2054)
- 129.Special Array II (LeetCode 3152)
- 130.Maximum Beauty of an Array After Applying Operation (LeetCode 2779)
- 131.Max Chunks To Make Sorted (LeetCode 769)
- 132.Best Sightseeing Pair (LeetCode 1014)
- 133.Count Vowel Strings in Ranges (LeetCode 2559)
- 134.Number of Ways to Split Array (LeetCode 2270)
- 135.Find the Prefix Common Array of Two Arrays (LeetCode 2657)
- 136.First Completely Painted Row or Column (LeetCode 2661)
- 137.Grid Game (LeetCode 2017)
- 138.Make Lexicographically Smallest Array by Swapping Elements (LeetCode 2948)
- 139.Count Servers that Communicate (LeetCode 1267)
- 140.Tuple with Same Product (LeetCode 1726)
- 141.Max Sum of a Pair With Equal Sum of Digits (LeetCode 2342)
- 142.Product of the Last K Numbers (LeetCode 1352)
- 143.Number of Sub-arrays With Odd Sum (LeetCode 1524)
- 144.Maximum Absolute Sum of Any Subarray (LeetCode 1749)
- 145.Partition Array According to Given Pivot (LeetCode 2161)
- 146.Count Days Without Meetings (LeetCode 3169)
- 147.Check if Grid can be Cut into Sections (LeetCode 3394)
- 148.Maximum Number of Points From Grid Queries (LeetCode 2503)
- 149.Count of Interesting Subarrays (LeetCode 2845)
- 150.Set Matrix Zeroes (LeetCode 73)
- 151.Find the Maximum Length of Valid Subsequence I (LeetCode 3201)
- 152.Range Product Queries of Powers (LeetCode 2438)
- 153.Count Submatrices With All Ones (LeetCode 1504)
- 154.Find the Minimum Area to Cover All Ones I (LeetCode 3195)
- 155.Find the Minimum Area to Cover All Ones II (LeetCode 3197)
- 156.Sort Matrix by Diagonals (LeetCode 3446)
- 157.Find the Number of Ways to Place People I (LeetCode 3025)
- 158.Find the Number of Ways to Place People II (LeetCode 3027)
- 159.Minimum Operations to Make Array Elements Zero (LeetCode 3495)
- 160.Valid Triangle Number (LeetCode 611)
- 161.Find Triangular Sum of an Array (LeetCode 2221)
- 162.Water Bottles II (LeetCode 3100)
- 163.Pacific Atlantic Water Flow (LeetCode 417)
- 164.Find the Minimum Amount of Time to Brew Potions (LeetCode 3494)
- 165.Adjacent Increasing Subarrays Detection II (LeetCode 3350)
- 166.Maximum Frequency of an Element After Performing Operations I (LeetCode 3346)
- 167.Maximum Subarray Sum With Length Divisible by K (LeetCode 3381)
- 168.Number of Smooth Descent Periods of a Stock (LeetCode 2110)
- 169.Maximize Area of Square Hole in Grid (LeetCode 2943)
- 170.Largest Magic Square (LeetCode 1895)
- 171.Maximum Side Length of a Square with Sum Less than or Equal to Threshold (LeetCode 1292)
- 172.Minimum Swaps to Arrange a Binary Grid (LeetCode 1536)
- 173.Get Biggest Three Rhombus Sums in a Grid (LeetCode 1878)
- 174.Count Submatrices with Top-Left Element and Sum Less Than k (LeetCode 3070)
- 175.Count Submatrices With Equal Frequency of X and Y (LeetCode 3212)
- 176.Minimum Absolute Difference in Sliding Submatrix (LeetCode 3567)
- 177.Construct Product Matrix (LeetCode 2906)
- 178.Equal Sum Grid Partition I (LeetCode 3546)
- 179.Equal Sum Grid Partition II (LeetCode 3548)
- 180.Sum of Distances (LeetCode 2615)
- 181.Rotate Function (LeetCode 396)
- 182.Jump Game IX (LeetCode 3660)
- 183.Cyclically Rotating a Grid (LeetCode 1914)
- 184.Jump Game III (LeetCode 1306)
- 185.Earliest Finish Time for Land and Water Rides I and II (LeetCode 3633)
- 186.Count Subarrays With Majority Element I and II (LeetCode 3737)
- 187.Concatenate Non-Zero Digits and Multiply by Sum II (LeetCode 3756)
- 188.Rotate Array (LeetCode 189)
- 189.Maximum Sum of Two Non-Overlapping Subarrays (LeetCode 1031)
- 190.Minimum Cost Homecoming of a Robot in a Grid (LeetCode 2087)
- 191.Removing Minimum and Maximum From Array (LeetCode 2091)
- 192.Minimum Moves to Clean the Classroom (LeetCode 3568)
- 193.Minimum Operations to Sort a Permutation (LeetCode 3942)
- 194.Count Islands With Total Value Divisible by K (LeetCode 3619)
- 195.Transpose Matrix (LeetCode 867)
- 196.Maximum Product of Two Elements in an Array (LeetCode 1464)
- 197.Special Positions in a Binary Matrix (LeetCode 1582)
- 198.Maximum Product Difference Between Two Pairs (LeetCode 1913)
- 199.Buy Two Chocolates (LeetCode 2706)
- 200.Assign Cookies (LeetCode 455)
- 201.Divide Array Into Arrays With Max Difference (LeetCode 2966)
- 202.Squares of a Sorted Array (LeetCode 977)
- 203.Count Elements With Maximum Frequency (LeetCode 3005)
- 204.Minimum Common Value (LeetCode 2540)
- 205.Intersection of Two Arrays (LeetCode 349)
- 206.Number of Students Unable to Eat Lunch (LeetCode 1700)
- 207.Time Needed to Buy Tickets (LeetCode 2073)
- 208.Largest Positive Integer That Exists With Its Negative (LeetCode 2441)
- 209.Relative Ranks (LeetCode 506)
- 210.Largest Local Values in a Matrix (LeetCode 2373)
- 211.Find Common Characters (LeetCode 1002)
- 212.Relative Sort Array (LeetCode 1122)
- 213.Minimum Number of Moves to Seat Everyone (LeetCode 2037)
- 214.Intersection of Two Arrays II (LeetCode 350)
- 215.Lucky Numbers in a Matrix (LeetCode 1380)
- 216.Make Two Arrays Equal by Reversing Subarrays (LeetCode 1460)
- 217.Lemonade Change (LeetCode 860)
- 218.Convert 1D Array Into 2D Array (LeetCode 2022)
- 219.Check If N and Its Double Exist (LeetCode 1346)
- 220.Special Array I (LeetCode 3151)
- 221.Check if Array Is Sorted and Rotated (LeetCode 1752)
- 222.Longest Strictly Increasing or Strictly Decreasing Subarray (LeetCode 3105)
- 223.Maximum Ascending Subarray Sum (LeetCode 1800)
- 224.Apply Operations to an Array (LeetCode 2460)
- 225.Merge Two 2D Arrays by Summing Values (LeetCode 2570)
- 226.Divide Array Into Equal Pairs (LeetCode 2206)
- 227.Count Good Triplets (LeetCode 1534)
- 228.Count Equal and Divisible Pairs in an Array (LeetCode 2176)
- 229.Count Largest Group (LeetCode 1399)
- 230.Count Subarrays of Length Three With a Condition (LeetCode 3392)
- 231.Find Numbers With Even Number Of Digits (LeetCode 1295)
- 232.Three Consecutive Odds (LeetCode 1550)
- 233.Longest Unequal Adjacent Groups Subsequence I (LeetCode 2900)
- 234.Type of Triangle (LeetCode 3024)
- 235.Maximum Difference Between Even and Odd Frequency I (LeetCode 3442)
- 236.Maximum Difference Between Adjacent Elements in a Circular Array (LeetCode 3423)
- 237.Maximum Difference Between Increasing Elements (LeetCode 2016)
- 238.Find All K-Distant Indices in an Array (LeetCode 2200)
- 239.Longest Harmonious Subsequence (LeetCode 594)
- 240.Count Hills and Valleys in an Array (LeetCode 2210)
- 241.Find N Unique Integers Sum up to Zero (LeetCode 1304)
- 242.Convert Integer to the Sum of Two No-Zero Integers (LeetCode 1317)
- 243.Adjacent Increasing Subarrays Detection I (LeetCode 3349)
- 244.Make Array Elements Equal to Zero (LeetCode 3354)
- 245.Check If All 1's Are at Least Length K Places Away (LeetCode 1437)
- 246.1-bit and 2-bit Characters (LeetCode 717)
- 247.Count Partitions with Even Sum Difference (LeetCode 3432)
- 248.Apple Redistribution into Boxes (LeetCode 3074)
- 249.Plus One (LeetCode 66)
- 250.Minimum Pair Removal to Sort Array I (LeetCode 3507)
- 251.Minimum Difference Between Highest and Lowest of K Scores (LeetCode 1984)
- 252.Minimum Absolute Difference (LeetCode 1200)
- 253.Divide an Array Into Subarrays With Minimum Cost I (LeetCode 3010)
- 254.Trionic Array I (LeetCode 3637)
- 255.Transformed Array (LeetCode 3379)
- 256.Flip Square Submatrix Vertically (LeetCode 3643)
- 257.Determine Whether Matrix Can Be Obtained By Rotation (LeetCode 1886)
- 258.Matrix Similarity After Cyclic Shifts (LeetCode 2946)
- 259.XOR After Range Multiplication Queries I (LeetCode 3653)
- 260.Minimum Distance to the Target Element (LeetCode 1848)
- 261.Shortest Distance to Target String in a Circular Array (LeetCode 2515)
- 262.Two Furthest Houses With Different Colors (LeetCode 2078)
- 263.Check if Array is Good (LeetCode 2784)
- 264.Minimum Cost of Buying Candies With Discount (LeetCode 2144)
- 265.Smallest Stable Index I & II (LeetCode 3903)
- 266.Find Target Indices After Sorting Array (LeetCode 2089)
- 267.Count Days Spent Together (LeetCode 2409)
- 268.Find Smallest Letter Greater Than Target (LeetCode 744)
- 269.Largest Number formed from an Array (LeetCode 179)
- 270.Maximum Count of Positive Integer and Negative Integer (LeetCode 2529)
- 271.What is Lambda Capture (LeetCode 2942)