Movatterモバイル変換


[0]ホーム

URL:


LeetCode in Kotlin

“For coding interview preparation, LeetCode is one of the best online resource providing a rich library of more than 300 real coding interview questions for you to practice from using one of the 7 supported languages - C, C++, Java, Python, C#, JavaScript, Ruby.”

Programming Skills I

Day 1 Basic Data Type

1523Count Odd Numbers in an Interval RangeEasyMath11497.22
1491Average Salary Excluding the Minimum and Maximum SalaryEasyArray, Sorting13791.67

Day 2 Operator

0191Number of 1 BitsEasyTop_Interview_Questions, Bit_Manipulation23768.44
1281Subtract the Product and Sum of Digits of an IntegerEasyMath12861.82

Day 3 Conditional Statements

0976Largest Perimeter TriangleEasyArray, Math, Sorting, Greedy30433.33
1779Find Nearest Point That Has the Same X or Y CoordinateEasyArray364100.00

Day 4 Loop

1822Sign of the Product of an ArrayEasyArray, Math17092.51
1502Can Make Arithmetic Progression From SequenceEasyArray, Sorting15694.82
0202Happy NumberEasyTop_Interview_Questions, Hash_Table, Math, Two_Pointers26145.08
1790Check if One String Swap Can Make Strings EqualEasyString, Hash_Table, Counting138100.00

Day 5 Function

0589N-ary Tree Preorder TraversalEasyDepth_First_Search, Tree, Stack23384.02
0496Next Greater Element IEasyArray, Hash_Table, Stack, Monotonic_Stack171100.00
1232Check If It Is a Straight LineEasyArray, Math, Geometry15295.38

Day 6 Array

1588Sum of All Odd Length SubarraysEasyArray, Math, Prefix_Sum15764.00
0283Move ZeroesEasyTop_100_Liked_Questions, Array, Two_Pointers, LeetCode_75_Two_Pointers, Big_O_Time_O(n)_Space_O(1)51679.07
1672Richest Customer WealthEasyArray, Matrix15594.54

Day 7 Array

1572Matrix Diagonal SumEasyArray, Matrix22167.61
0566Reshape the MatrixEasyArray, Matrix, Simulation23999.05

Day 8 String

1768Merge Strings AlternatelyEasyString, Two_Pointers, LeetCode_75_Array/String13893.81
1678Goal Parser InterpretationEasyString13688.24
0389Find the DifferenceEasyString, Hash_Table, Sorting, Bit_Manipulation25664.81

Day 9 String

0709To Lower CaseEasyString14298.68
1309Decrypt String from Alphabet to Integer MappingEasyString0100.00
0953Verifying an Alien DictionaryEasyArray, String, Hash_Table137100.00

Day 10 Linked List and Tree

1290Convert Binary Number in a Linked List to IntegerEasyMath, Linked_List13865.79
0876Middle of the Linked ListEasyTwo_Pointers, Linked_List13676.52
0104Maximum Depth of Binary TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS, Big_O_Time_O(N)_Space_O(H)16683.53
0404Sum of Left LeavesEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree17386.05

Day 11 Containers and Libraries

1356Sort Integers by The Number of 1 BitsEasyArray, Sorting, Bit_Manipulation, Counting23692.31
0232Implement Queue using StacksEasyStack, Design, Queue25870.86
0242Valid AnagramEasyString, Hash_Table, Sorting25187.65
0217Contains DuplicateEasyTop_Interview_Questions, Array, Hash_Table, Sorting71973.49

Day 12 Class and Object

1603Design Parking SystemEasyDesign, Simulation, Counting37631.83
0303Range Sum Query - ImmutableEasyArray, Design, Prefix_Sum47263.64

Programming Skills II

Day 1

0896Monotonic ArrayEasyArray57690.91
0028Find the Index of the First Occurrence in a StringEasyTop_Interview_Questions, String, Two_Pointers, String_Matching12697.58

Day 2

0110Balanced Binary TreeEasyDepth_First_Search, Tree, Binary_Tree18271.30
0459Repeated Substring PatternEasyString, String_Matching201100.00

Day 3

0150Evaluate Reverse Polish NotationMediumTop_Interview_Questions, Array, Math, Stack23388.82
0066Plus OneEasyTop_Interview_Questions, Array, Math14898.75

Day 4

1367Linked List in Binary TreeMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Linked_List23792.86
0043Multiply StringsMediumString, Math, Simulation16596.72

Day 5

0067Add BinaryEasyString, Math, Bit_Manipulation, Simulation16490.60
0989Add to Array-Form of IntegerEasyArray, Math35070.00

Day 6

0739Daily TemperaturesMediumTop_100_Liked_Questions, Array, Stack, Monotonic_Stack, LeetCode_75_Monotonic_Stack, Big_O_Time_O(n)_Space_O(n)93680.54
0058Length of Last WordEasyString13593.67

Day 7

0048Rotate ImageMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Math, Matrix, Big_O_Time_O(n^2)_Space_O(1)16090.11
1886Determine Whether Matrix Can Be Obtained By RotationEasyArray, Matrix14785.71

Day 8

0054Spiral MatrixMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Simulation13295.12
0973K Closest Points to OriginMediumArray, Math, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Geometry, Quickselect80037.89

Day 9

1630Arithmetic SubarraysMediumArray, Sorting264100.00
0429N-ary Tree Level Order TraversalMediumBreadth_First_Search, Tree24875.86

Day 10

0503Next Greater Element IIMediumArray, Stack, Monotonic_Stack33192.68
0556Next Greater Element IIIMediumString, Math, Two_Pointers13780.00

Day 11

1376Time Needed to Inform All EmployeesMediumDepth_First_Search, Breadth_First_Search, Tree91537.62
0049Group AnagramsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Big_O_Time_O(n*k_log_k)_Space_O(n)30896.34

Day 12

0438Find All Anagrams in a StringMediumTop_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1)56154.68
0713Subarray Product Less Than KMediumArray, Sliding_Window33692.11

Day 13

0304Range Sum Query 2D - ImmutableMediumArray, Matrix, Design, Prefix_Sum137385.71
0910Smallest Range IIMediumArray, Math, Sorting, Greedy234100.00

Day 14

0143Reorder ListMediumTwo_Pointers, Stack, Linked_List, Recursion39582.26
0138Copy List with Random PointerMediumTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Big_O_Time_O(N)_Space_O(N)12390.70

Day 15

0002Add Two NumbersMediumTop_100_Liked_Questions, Top_Interview_Questions, Math, Linked_List, Recursion, Big_O_Time_O(max(N,M))_Space_O(max(N,M)), AI_can_be_used_to_solve_the_task20396.13
0445Add Two Numbers IIMediumMath, Stack, Linked_List24082.61

Day 16

0061Rotate ListMediumTwo_Pointers, Linked_List16092.22
0173Binary Search Tree IteratorMediumTree, Binary_Tree, Stack, Design, Binary_Search_Tree, Iterator56346.91

Day 17

1845Seat Reservation ManagerMediumDesign, Heap_Priority_Queue834100.00
0860Lemonade ChangeEasyArray, Greedy41386.96

Day 18

0155Min StackMediumTop_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_Space_O(N)33184.88
0341Flatten Nested List IteratorMediumDepth_First_Search, Tree, Stack, Design, Queue, Iterator210100.00

Day 19

1797Design Authentication ManagerMediumHash_Table, Design334100.00
0707Design Linked ListMediumDesign, Linked_List243100.00

Day 20

0380Insert Delete GetRandom O(1)MediumArray, Hash_Table, Math, Design, Randomized132668.23
0622Design Circular QueueMediumArray, Design, Linked_List, Queue23492.68
0729My Calendar IMediumBinary_Search, Design, Ordered_Set, Segment_Tree37869.70

Graph Theory I

Day 1 Matrix Related Problems

0733Flood FillEasyArray, Depth_First_Search, Breadth_First_Search, Matrix23097.76
0200Number of IslandsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Big_O_Time_O(M*N)_Space_O(M*N)25295.41

Day 2 Matrix Related Problems

0695Max Area of IslandMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find18193.83
1254Number of Closed IslandsMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find17789.47

Day 3 Matrix Related Problems

1020Number of EnclavesMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find28390.70
1905Count Sub IslandsMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find866100.00

Day 4 Matrix Related Problems

1162As Far from Land as PossibleMediumArray, Dynamic_Programming, Breadth_First_Search, Matrix36281.25
0417Pacific Atlantic Water FlowMediumArray, Depth_First_Search, Breadth_First_Search, Matrix319100.00

Day 5 Matrix Related Problems

1091Shortest Path in Binary MatrixMediumArray, Breadth_First_Search, Matrix30598.28
054201 MatrixMediumArray, Dynamic_Programming, Breadth_First_Search, Matrix44194.06

Day 6 Matrix Related Problems

0934Shortest BridgeMediumArray, Depth_First_Search, Breadth_First_Search, Matrix30180.95
1926Nearest Exit from Entrance in MazeMediumArray, Breadth_First_Search, Matrix, LeetCode_75_Graphs/BFS35194.44

Day 7 Standard Traversal

0797All Paths From Source to TargetMediumDepth_First_Search, Breadth_First_Search, Graph, Backtracking232100.00
0841Keys and RoomsMediumDepth_First_Search, Breadth_First_Search, Graph, LeetCode_75_Graphs/DFS18969.23

Day 8 Standard Traversal

0547Number of ProvincesMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find, LeetCode_75_Graphs/DFS22979.73
1319Number of Operations to Make Network ConnectedMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find37983.33

Day 9 Standard Traversal

1376Time Needed to Inform All EmployeesMediumDepth_First_Search, Breadth_First_Search, Tree91537.62
0802Find Eventual Safe StatesMediumDepth_First_Search, Breadth_First_Search, Graph, Topological_Sort511100.00

Day 10 Standard Traversal

1129Shortest Path with Alternating ColorsMediumBreadth_First_Search, Graph20880.00
1466Reorder Routes to Make All Paths Lead to the City ZeroMediumDepth_First_Search, Breadth_First_Search, Graph, LeetCode_75_Graphs/DFS718100.00
0847Shortest Path Visiting All NodesHardDynamic_Programming, Breadth_First_Search, Bit_Manipulation, Graph, Bitmask164100.00

Day 11 Breadth First Search

1306Jump Game IIIMediumArray, Depth_First_Search, Breadth_First_Search291100.00
1654Minimum Jumps to Reach HomeMediumArray, Dynamic_Programming, Breadth_First_Search192100.00
0365Water and Jug ProblemMediumMath, Depth_First_Search, Breadth_First_Search130100.00

Day 12 Breadth First Search

0433Minimum Genetic MutationMediumString, Hash_Table, Breadth_First_Search20482.08
0752Open the LockMediumArray, String, Hash_Table, Breadth_First_Search310100.00
0127Word LadderHardTop_Interview_Questions, String, Hash_Table, Breadth_First_Search39698.68

Day 13 Graph Theory

0997Find the Town JudgeEasyArray, Hash_Table, Graph47558.62
1557Minimum Number of Vertices to Reach All NodesMediumGraph79299.29

Day 14 Graph Theory

1615Maximal Network RankMediumGraph282100.00
0886Possible BipartitionMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find397100.00
0785Is Graph Bipartite?MediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find21582.35

SQL I

Day 1 Select

0595Big CountriesEasyDatabase41756.09
1757Recyclable and Low Fat ProductsEasyDatabase123734.20
0584Find Customer RefereeEasyDatabase77943.48
0183Customers Who Never OrderEasyDatabase71233.67

Day 2 Select and Order

1873Calculate Special BonusEasyDatabase132133.12
0627Swap SalaryEasyDatabase40051.04
0196Delete Duplicate EmailsEasyDatabase59394.17

Day 3 String Processing Functions

1667Fix Names in a TableEasyDatabase119661.40
1484Group Sold Products By The DateEasyLeetCode_Curated_SQL_70, Database89940.76
1527Patients With a ConditionEasyDatabase70848.23

Day 4 Union and Select

1965Employees With Missing InformationEasyDatabase94988.66
1795Rearrange Products TableEasyDatabase102767.57
0608Tree NodeMediumLeetCode_Curated_SQL_70, Database79448.38
0176Second Highest SalaryMediumDatabase21992.54

Day 5 Union

0175Combine Two TablesEasyDatabase47354.97
1581Customer Who Visited but Did Not Make Any TransactionsEasyDatabase277154.68
1148Article Views IEasyLeetCode_Curated_SQL_70, Database80654.41

Day 6 Union

0197Rising TemperatureEasyDatabase39494.15
0607Sales PersonEasyLeetCode_Curated_SQL_70, Database214244.56

Day 7 Function

1141User Activity for the Past 30 Days IEasyLeetCode_Curated_SQL_70, Database79087.11
1693Daily Leads and PartnersEasyDatabase111552.84
1729Find Followers CountEasyDatabase122838.04

Day 8 Function

0586Customer Placing the Largest Number of OrdersEasyLeetCode_Curated_SQL_70, Database76844.85
0511Game Play Analysis IEasyLeetCode_Curated_SQL_70, Database79045.04
1890The Latest Login in 2020EasyDatabase128043.62
1741Find Total Time Spent by Each EmployeeEasyDatabase110151.40

Day 9 Control of Flow

1393Capital Gain/LossMediumLeetCode_Curated_SQL_70, Database99047.36
1407Top TravellersEasyLeetCode_Curated_SQL_70, Database139498.43
1158Market Analysis IMediumDatabase247044.76

Day 10 Where

0182Duplicate EmailsEasyDatabase39668.40
1050Actors and Directors Who Cooperated At Least Three TimesEasyLeetCode_Curated_SQL_70, Database62981.02
1587Bank Account Summary IIEasyDatabase158252.96
1084Sales Analysis IIIEasyLeetCode_Curated_SQL_70, Database188179.36

Level 1

Day 1 Prefix Sum

1480Running Sum of 1d ArrayEasyArray, Prefix_Sum16184.80
0724Find Pivot IndexEasyArray, Prefix_Sum, LeetCode_75_Prefix_Sum25588.92

Day 2 String

0205Isomorphic StringsEasyString, Hash_Table27879.96
0392Is SubsequenceEasyString, Dynamic_Programming, Two_Pointers, LeetCode_75_Two_Pointers15687.74

Day 3 Linked List

0021Merge Two Sorted ListsEasyTop_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_Space_O(m+n)15792.24
0206Reverse Linked ListEasyTop_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, LeetCode_75_LinkedList, Big_O_Time_O(N)_Space_O(1)27945.78

Day 4 Linked List

0876Middle of the Linked ListEasyTwo_Pointers, Linked_List13676.52
0142Linked List Cycle IIMediumTop_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_Space_O(1)19263.39

Day 5 Greedy

0121Best Time to Buy and Sell StockEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1)60994.06
0409Longest PalindromeEasyString, Hash_Table, Greedy25960.71

Day 6 Tree

0589N-ary Tree Preorder TraversalEasyDepth_First_Search, Tree, Stack23384.02
0102Binary Tree Level Order TraversalMediumTop_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N)19895.14

Day 7 Binary Search

0704Binary SearchEasyArray, Binary_Search26177.91
0278First Bad VersionEasyBinary_Search, Interactive34976.86

Day 8 Binary Search Tree

0098Validate Binary Search TreeMediumTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(N)_Space_O(log(N))19061.62
0235Lowest Common Ancestor of a Binary Search TreeMediumDepth_First_Search, Tree, Binary_Tree, Binary_Search_Tree40475.59

Day 9 Graph/BFS/DFS

0733Flood FillEasyArray, Depth_First_Search, Breadth_First_Search, Matrix23097.76
0200Number of IslandsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Big_O_Time_O(M*N)_Space_O(M*N)25295.41

Day 10 Dynamic Programming

0509Fibonacci NumberEasyDynamic_Programming, Math, Recursion, Memoization13982.72
0070Climbing StairsEasyTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_Space_O(n)12471.98

Day 11 Dynamic Programming

0746Min Cost Climbing StairsEasyArray, Dynamic_Programming, LeetCode_75_DP/1D17196.76
0062Unique PathsMediumTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Combinatorics, LeetCode_75_DP/Multidimensional, Big_O_Time_O(m*n)_Space_O(m*n)11894.65

Day 12 Sliding Window/Two Pointer

0438Find All Anagrams in a StringMediumTop_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1)56154.68
0424Longest Repeating Character ReplacementMediumString, Hash_Table, Sliding_Window28884.38

Day 13 Hashmap

0001Two SumEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n), AI_can_be_used_to_solve_the_task20291.18
0299Bulls and CowsMediumString, Hash_Table, Counting25484.82

Day 14 Stack

0844Backspace String CompareEasyString, Two_Pointers, Stack, Simulation12698.31
0394Decode StringMediumTop_100_Liked_Questions, String, Stack, Recursion, LeetCode_75_Stack, Big_O_Time_O(n)_Space_O(n)22464.86

Day 15 Heap

1046Last Stone WeightEasyArray, Heap_Priority_Queue123100.00
0692Top K Frequent WordsMediumString, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Trie, Bucket_Sort23981.10

Level 2

Day 1 Implementation/Simulation

0202Happy NumberEasyTop_Interview_Questions, Hash_Table, Math, Two_Pointers26145.08
0054Spiral MatrixMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Simulation13295.12
1706Where Will the Ball FallMediumArray, Dynamic_Programming, Depth_First_Search, Matrix, Simulation27067.86

Day 2 String

0014Longest Common PrefixEasyTop_Interview_Questions, String, Big_O_Time_O(n*m)_Space_O(m)15489.70
0043Multiply StringsMediumString, Math, Simulation16596.72

Day 3 Linked List

0019Remove Nth Node From End of ListMediumTop_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_Space_O(L)14496.28
0234Palindrome Linked ListEasyTop_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1)64179.53

Day 4 Linked List

0328Odd Even Linked ListMediumLinked_List, LeetCode_75_LinkedList21686.96
0148Sort ListMediumTop_100_Liked_Questions, Top_Interview_Questions, Sorting, Two_Pointers, Linked_List, Divide_and_Conquer, Merge_Sort, Big_O_Time_O(log(N))_Space_O(log(N))82061.70

Day 5 Greedy

2131Longest Palindrome by Concatenating Two Letter WordsMediumArray, String, Hash_Table, Greedy, Counting60790.00
0621Task SchedulerMediumArray, Hash_Table, Sorting, Greedy, Heap_Priority_Queue, Counting26698.36

Day 6 Tree

0226Invert Binary TreeEasyTop_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n)23354.90
0110Balanced Binary TreeEasyDepth_First_Search, Tree, Binary_Tree18271.30

Day 7 Tree

0543Diameter of Binary TreeEasyTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n)30743.93
0437Path Sum IIIMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS, Big_O_Time_O(n)_Space_O(n)40354.12

Day 8 Binary Search

0074Search a 2D MatrixMediumTop_100_Liked_Questions, Array, Binary_Search, Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1)15974.46
0033Search in Rotated Sorted ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1)15193.77

Day 9 Binary Search Tree

0108Convert Sorted Array to Binary Search TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Tree, Binary_Tree, Binary_Search_Tree, Divide_and_Conquer16780.29
0230Kth Smallest Element in a BSTMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n)39333.33
0173Binary Search Tree IteratorMediumTree, Binary_Tree, Stack, Design, Binary_Search_Tree, Iterator56346.91

Day 10 Graph/BFS/DFS

0994Rotting OrangesMediumTop_100_Liked_Questions, Array, Breadth_First_Search, Matrix, LeetCode_75_Graphs/BFS16482.95
0417Pacific Atlantic Water FlowMediumArray, Depth_First_Search, Breadth_First_Search, Matrix319100.00

Day 11 Graph/BFS/DFS

0210Course Schedule IIMediumTop_Interview_Questions, Depth_First_Search, Breadth_First_Search, Graph, Topological_Sort26696.32
0815Bus RoutesHardArray, Hash_Table, Breadth_First_Search429100.00

Day 12 Dynamic Programming

0198House RobberMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, LeetCode_75_DP/1D, Big_O_Time_O(n)_Space_O(n)15692.24
0322Coin ChangeMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m*n)_Space_O(amount)33250.68

Day 13 Dynamic Programming

0416Partition Equal Subset SumMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Big_O_Time_O(n*sums)_Space_O(n*sums)20498.82
0152Maximum Product SubarrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1)25388.42

Day 14 Sliding Window/Two Pointer

0003Longest Substring Without Repeating CharactersMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_Space_O(1), AI_can_be_used_to_solve_the_task20187.28
00163Sum ClosestMediumArray, Sorting, Two_Pointers163100.00
0076Minimum Window SubstringHardTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(s.length())_Space_O(1)19196.38

Day 15 Tree

0100Same TreeEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree13486.63
0101Symmetric TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(log(N))15382.35
0199Binary Tree Right Side ViewMediumTop_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/BFS19492.89

Day 16 Design

0232Implement Queue using StacksEasyStack, Design, Queue25870.86
0155Min StackMediumTop_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_Space_O(N)33184.88
0208Implement Trie (Prefix Tree)MediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, LeetCode_75_Trie, Big_O_Time_O(word.length())_or_O(prefix.length())_Space_O(N)68961.00

Day 17 Interval

0057Insert IntervalMediumArray24975.63
0056Merge IntervalsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Big_O_Time_O(n_log_n)_Space_O(n)33480.67

Day 18 Stack

0735Asteroid CollisionMediumArray, Stack, LeetCode_75_Stack243100.00
0227Basic Calculator IIMediumString, Math, Stack38362.50

Day 19 Union Find

0547Number of ProvincesMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find, LeetCode_75_Graphs/DFS22979.73
0947Most Stones Removed with Same Row or ColumnMediumDepth_First_Search, Graph, Union_Find200100.00

Day 20 Brute Force/Backtracking

0039Combination SumMediumTop_100_Liked_Questions, Array, Backtracking, Big_O_Time_O(2^n)_Space_O(n+2^n)22688.89
0046PermutationsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Backtracking, Big_O_Time_O(n*n!)_Space_O(n+n!)18899.00

Udemy

Udemy Integers

0412Fizz BuzzEasyString, Math, Simulation30771.81
0136Single NumberEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, LeetCode_75_Bit_Manipulation, Big_O_Time_O(N)_Space_O(1)34483.63
0007Reverse IntegerMediumTop_Interview_Questions, Math, Big_O_Time_O(log10(x))_Space_O(1)14977.89
0009Palindrome NumberEasyMath, Big_O_Time_O(log10(x))_Space_O(1)21795.34
0172Factorial Trailing ZeroesMediumTop_Interview_Questions, Math22067.65
0050Pow(x, n)MediumTop_Interview_Questions, Math, Recursion17238.68

Udemy Strings

0344Reverse StringEasyString, Two_Pointers, Recursion44569.75
0014Longest Common PrefixEasyTop_Interview_Questions, String, Big_O_Time_O(n*m)_Space_O(m)15489.70
0187Repeated DNA SequencesMediumString, Hash_Table, Bit_Manipulation, Sliding_Window, Hash_Function, Rolling_Hash31979.03
0003Longest Substring Without Repeating CharactersMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_Space_O(1), AI_can_be_used_to_solve_the_task20187.28
0020Valid ParenthesesEasyTop_100_Liked_Questions, Top_Interview_Questions, String, Stack, Big_O_Time_O(n)_Space_O(n)13788.76
0005Longest Palindromic SubstringMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n)16299.00
0394Decode StringMediumTop_100_Liked_Questions, String, Stack, Recursion, LeetCode_75_Stack, Big_O_Time_O(n)_Space_O(n)22464.86
0242Valid AnagramEasyString, Hash_Table, Sorting25187.65
0049Group AnagramsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Big_O_Time_O(n*k_log_k)_Space_O(n)30896.34
0151Reverse Words in a StringMediumString, Two_Pointers, LeetCode_75_Array/String20698.90
0273Integer to English WordsHardString, Math, Recursion27382.93

Udemy Binary Search

0704Binary SearchEasyArray, Binary_Search26177.91
0033Search in Rotated Sorted ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1)15193.77
0153Find Minimum in Rotated Sorted ArrayMediumTop_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_Space_O(log_N)26260.96

Udemy Arrays

0121Best Time to Buy and Sell StockEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1)60994.06
0283Move ZeroesEasyTop_100_Liked_Questions, Array, Two_Pointers, LeetCode_75_Two_Pointers, Big_O_Time_O(n)_Space_O(1)51679.07
0001Two SumEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n), AI_can_be_used_to_solve_the_task20291.18
0217Contains DuplicateEasyTop_Interview_Questions, Array, Hash_Table, Sorting71973.49
0058Length of Last WordEasyString13593.67
0605Can Place FlowersEasyArray, Greedy, LeetCode_75_Array/String20985.71
0122Best Time to Buy and Sell Stock IIMediumTop_Interview_Questions, Array, Dynamic_Programming, Greedy19795.10
0080Remove Duplicates from Sorted Array IIMediumArray, Two_Pointers19280.67
0189Rotate ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Math, Two_Pointers, Big_O_Time_O(n)_Space_O(1)48386.95
0055Jump GameMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1)33289.35
0075Sort ColorsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n)_Space_O(1)16464.43
0066Plus OneEasyTop_Interview_Questions, Array, Math14898.75
0238Product of Array Except SelfMediumTop_100_Liked_Questions, Array, Prefix_Sum, LeetCode_75_Array/String, Big_O_Time_O(n^2)_Space_O(n)66948.96
1291Sequential DigitsMediumEnumeration114100.00
0448Find All Numbers Disappeared in an ArrayEasyArray, Hash_Table394100.00
0442Find All Duplicates in an ArrayMediumArray, Hash_Table48073.81
0041First Missing PositiveHardTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n)35797.17
0697Degree of an ArrayEasyArray, Hash_Table28984.62
0532K-diff Pairs in an ArrayMediumArray, Hash_Table, Sorting, Binary_Search, Two_Pointers23084.62
0713Subarray Product Less Than KMediumArray, Sliding_Window33692.11
1007Minimum Domino Rotations For Equal RowMediumArray, Greedy42150.00
1306Jump Game IIIMediumArray, Depth_First_Search, Breadth_First_Search291100.00
0456132 PatternMediumArray, Binary_Search, Stack, Ordered_Set, Monotonic_Stack434100.00
0239Sliding Window MaximumHardTop_100_Liked_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Big_O_Time_O(n*k)_Space_O(n+k)105986.14

Udemy Two Pointers

0392Is SubsequenceEasyString, Dynamic_Programming, Two_Pointers, LeetCode_75_Two_Pointers15687.74
0125Valid PalindromeEasyTop_Interview_Questions, String, Two_Pointers35352.06
0977Squares of a Sorted ArrayEasyArray, Sorting, Two_Pointers27177.17
0026Remove Duplicates from Sorted ArrayEasyTop_Interview_Questions, Array, Two_Pointers24967.38
0042Trapping Rain WaterHardTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Two_Pointers, Stack, Monotonic_Stack, Big_O_Time_O(n)_Space_O(1)18999.37
00153SumMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n*log(n))_Space_O(n^2)49393.45

Udemy Famous Algorithm

0053Maximum SubarrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1)51078.81
0169Majority ElementEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Sorting, Counting, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1)46051.25

Udemy Sorting Algorithms

0912Sort an ArrayMediumArray, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Merge_Sort, Bucket_Sort, Counting_Sort, Radix_Sort60698.48

Udemy 2D Arrays/Matrix

0304Range Sum Query 2D - ImmutableMediumArray, Matrix, Design, Prefix_Sum137385.71
0074Search a 2D MatrixMediumTop_100_Liked_Questions, Array, Binary_Search, Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1)15974.46
0054Spiral MatrixMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Simulation13295.12
0048Rotate ImageMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Math, Matrix, Big_O_Time_O(n^2)_Space_O(1)16090.11
1572Matrix Diagonal SumEasyArray, Matrix22167.61
0073Set Matrix ZeroesMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Matrix, Big_O_Time_O(m*n)_Space_O(1)24897.33
0056Merge IntervalsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Big_O_Time_O(n_log_n)_Space_O(n)33480.67

Udemy Linked List

0114Flatten Binary Tree to Linked ListMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Linked_List, Big_O_Time_O(N)_Space_O(N)19193.10
0445Add Two Numbers IIMediumMath, Stack, Linked_List24082.61
0328Odd Even Linked ListMediumLinked_List, LeetCode_75_LinkedList21686.96
0061Rotate ListMediumTwo_Pointers, Linked_List16092.22
0024Swap Nodes in PairsMediumTop_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1)14944.20
0876Middle of the Linked ListEasyTwo_Pointers, Linked_List13676.52
0142Linked List Cycle IIMediumTop_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_Space_O(1)19263.39
0141Linked List CycleEasyTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_Space_O(1)22391.85
0206Reverse Linked ListEasyTop_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, LeetCode_75_LinkedList, Big_O_Time_O(N)_Space_O(1)27945.78
0021Merge Two Sorted ListsEasyTop_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_Space_O(m+n)15792.24
0160Intersection of Two Linked ListsEasyTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(M+N)_Space_O(1)26283.50
0234Palindrome Linked ListEasyTop_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1)64179.53
0138Copy List with Random PointerMediumTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Big_O_Time_O(N)_Space_O(N)12390.70
0025Reverse Nodes in k-GroupHardTop_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(k)18967.03
0146LRU CacheMediumTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Design, Linked_List, Doubly_Linked_List, Big_O_Time_O(1)_Space_O(capacity)111697.93
0707Design Linked ListMediumDesign, Linked_List243100.00

Udemy Tree Stack Queue

0144Binary Tree Preorder TraversalEasyDepth_First_Search, Tree, Binary_Tree, Stack27737.90
0094Binary Tree Inorder TraversalEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Big_O_Time_O(n)_Space_O(n)15266.67
0145Binary Tree Postorder TraversalEasyDepth_First_Search, Tree, Binary_Tree, Stack21180.00
0102Binary Tree Level Order TraversalMediumTop_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N)19895.14
0103Binary Tree Zigzag Level Order TraversalMediumTop_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree17671.62
0108Convert Sorted Array to Binary Search TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Tree, Binary_Tree, Binary_Search_Tree, Divide_and_Conquer16780.29
1008Construct Binary Search Tree from Preorder TraversalMediumArray, Tree, Binary_Tree, Stack, Monotonic_Stack, Binary_Search_Tree145100.00
0543Diameter of Binary TreeEasyTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n)30743.93
0938Range Sum of BSTEasyDepth_First_Search, Tree, Binary_Tree, Binary_Search_Tree35655.36
0100Same TreeEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree13486.63
0226Invert Binary TreeEasyTop_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n)23354.90
0111Minimum Depth of Binary TreeEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree52590.51
0104Maximum Depth of Binary TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS, Big_O_Time_O(N)_Space_O(H)16683.53
0110Balanced Binary TreeEasyDepth_First_Search, Tree, Binary_Tree18271.30
0701Insert into a Binary Search TreeMediumTree, Binary_Tree, Binary_Search_Tree31179.03
0297Serialize and Deserialize Binary TreeHardString, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Design47578.85
0124Binary Tree Maximum Path SumHardTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N)33174.42
0098Validate Binary Search TreeMediumTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(N)_Space_O(log(N))19061.62
0337House Robber IIIMediumDynamic_Programming, Depth_First_Search, Tree, Binary_Tree28284.62
0236Lowest Common Ancestor of a Binary TreeMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS, Big_O_Time_O(n)_Space_O(n)38645.21
0968Binary Tree CamerasHardDynamic_Programming, Depth_First_Search, Tree, Binary_Tree176100.00

Udemy Trie and Heap

0208Implement Trie (Prefix Tree)MediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, LeetCode_75_Trie, Big_O_Time_O(word.length())_or_O(prefix.length())_Space_O(N)68961.00
0745Prefix and Suffix SearchHardString, Design, Trie1638100.00

Udemy Graph

0200Number of IslandsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Big_O_Time_O(M*N)_Space_O(M*N)25295.41
0133Clone GraphMediumHash_Table, Depth_First_Search, Breadth_First_Search, Graph35160.91
0417Pacific Atlantic Water FlowMediumArray, Depth_First_Search, Breadth_First_Search, Matrix319100.00

Udemy Dynamic Programming

0120TriangleMediumArray, Dynamic_Programming19497.87
0118Pascal’s TriangleEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming27733.22
0119Pascal’s Triangle IIEasyArray, Dynamic_Programming15797.27
0139Word BreakMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Big_O_Time_O(M+max*N)_Space_O(M+N+max)19787.17
0152Maximum Product SubarrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1)25388.42
0198House RobberMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, LeetCode_75_DP/1D, Big_O_Time_O(n)_Space_O(n)15692.24
0213House Robber IIMediumArray, Dynamic_Programming25759.62
0509Fibonacci NumberEasyDynamic_Programming, Math, Recursion, Memoization13982.72
0070Climbing StairsEasyTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_Space_O(n)12471.98
0064Minimum Path SumMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m*n)_Space_O(m*n)164100.00
0300Longest Increasing SubsequenceMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n*log_n)_Space_O(n)31882.28
1143Longest Common SubsequenceMediumTop_100_Liked_Questions, String, Dynamic_Programming, LeetCode_75_DP/Multidimensional, Big_O_Time_O(n*m)_Space_O(n*m)30738.36
0072Edit DistanceMediumTop_100_Liked_Questions, String, Dynamic_Programming, LeetCode_75_DP/Multidimensional, Big_O_Time_O(n^2)_Space_O(n2)18292.16
0044Wildcard MatchingHardTop_Interview_Questions, String, Dynamic_Programming, Greedy, Recursion22084.85
0010Regular Expression MatchingHardTop_Interview_Questions, String, Dynamic_Programming, Recursion, Big_O_Time_O(m*n)_Space_O(m*n)17185.26

Udemy Backtracking/Recursion

0022Generate ParenthesesMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Big_O_Time_O(2^n)_Space_O(n)16185.45
0039Combination SumMediumTop_100_Liked_Questions, Array, Backtracking, Big_O_Time_O(2^n)_Space_O(n+2^n)22688.89
0216Combination Sum IIIMediumArray, Backtracking, LeetCode_75_Backtracking17590.91
0078SubsetsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Backtracking, Big_O_Time_O(2^n)_Space_O(n*2^n)17194.92
0017Letter Combinations of a Phone NumberMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Backtracking, LeetCode_75_Backtracking, Big_O_Time_O(4^n)_Space_O(n)15595.24
0046PermutationsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Backtracking, Big_O_Time_O(n*n!)_Space_O(n+n!)18899.00

Udemy Bit Manipulation

0191Number of 1 BitsEasyTop_Interview_Questions, Bit_Manipulation23768.44
0389Find the DifferenceEasyString, Hash_Table, Sorting, Bit_Manipulation25664.81
0190Reverse BitsEasyTop_Interview_Questions, Bit_Manipulation, Divide_and_Conquer19881.82
0461Hamming DistanceEasyBit_Manipulation15096.15
1009Complement of Base 10 IntegerEasyBit_Manipulation12672.73
0338Counting BitsEasyDynamic_Programming, Bit_Manipulation, LeetCode_75_Bit_Manipulation, Big_O_Time_O(num)_Space_O(num)18699.26
0371Sum of Two IntegersMediumMath, Bit_Manipulation12995.45
0029Divide Two IntegersMediumTop_Interview_Questions, Math, Bit_Manipulation14482.50

Udemy Design

0155Min StackMediumTop_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_Space_O(N)33184.88

Top Interview 150

Top Interview 150 Array/String

0088Merge Sorted ArrayEasyTop_Interview_Questions, Array, Sorting, Two_Pointers17069.74
0027Remove ElementEasyArray, Two_Pointers16276.44
0026Remove Duplicates from Sorted ArrayEasyTop_Interview_Questions, Array, Two_Pointers24967.38
0080Remove Duplicates from Sorted Array IIMediumArray, Two_Pointers19280.67
0169Majority ElementEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Sorting, Counting, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1)46051.25
0189Rotate ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Math, Two_Pointers, Big_O_Time_O(n)_Space_O(1)48386.95
0121Best Time to Buy and Sell StockEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1)60994.06
0122Best Time to Buy and Sell Stock IIMediumTop_Interview_Questions, Array, Dynamic_Programming, Greedy19795.10
0055Jump GameMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1)33289.35
0045Jump Game IIMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1)20893.37
0274H-IndexMediumArray, Sorting, Counting_Sort29145.45
0380Insert Delete GetRandom O(1)MediumArray, Hash_Table, Math, Design, Randomized132668.23
0238Product of Array Except SelfMediumTop_100_Liked_Questions, Array, Prefix_Sum, LeetCode_75_Array/String, Big_O_Time_O(n^2)_Space_O(n)66948.96
0134Gas StationMediumTop_Interview_Questions, Array, Greedy54570.18
0135CandyHardArray, Greedy46658.33
0042Trapping Rain WaterHardTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Two_Pointers, Stack, Monotonic_Stack, Big_O_Time_O(n)_Space_O(1)18999.37
0013Roman to IntegerEasyTop_Interview_Questions, String, Hash_Table, Math, Big_O_Time_O(n)_Space_O(1)21183.47
0012Integer to RomanMediumString, Hash_Table, Math, Big_O_Time_O(1)_Space_O(1)18098.25
0058Length of Last WordEasyString13593.67
0014Longest Common PrefixEasyTop_Interview_Questions, String, Big_O_Time_O(n*m)_Space_O(m)15489.70
0151Reverse Words in a StringMediumString, Two_Pointers, LeetCode_75_Array/String20698.90
0006Zigzag ConversionMediumString, Big_O_Time_O(n)_Space_O(n)20097.79
0028Find the Index of the First Occurrence in a StringEasyTop_Interview_Questions, String, Two_Pointers, String_Matching12697.58
0068Text JustificationHardArray, String, Simulation15392.96

Top Interview 150 Two Pointers

0125Valid PalindromeEasyTop_Interview_Questions, String, Two_Pointers35352.06
0392Is SubsequenceEasyString, Dynamic_Programming, Two_Pointers, LeetCode_75_Two_Pointers15687.74
0167Two Sum II - Input Array Is SortedMediumArray, Binary_Search, Two_Pointers40368.74
0011Container With Most WaterMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Greedy, Two_Pointers, LeetCode_75_Two_Pointers, Big_O_Time_O(n)_Space_O(1)40278.57
00153SumMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n*log(n))_Space_O(n^2)49393.45

Top Interview 150 Sliding Window

0209Minimum Size Subarray SumMediumArray, Binary_Search, Prefix_Sum, Sliding_Window31596.73
0003Longest Substring Without Repeating CharactersMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_Space_O(1), AI_can_be_used_to_solve_the_task20187.28
0030Substring with Concatenation of All WordsHardString, Hash_Table, Sliding_Window1498.62
0076Minimum Window SubstringHardTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(s.length())_Space_O(1)19196.38

Top Interview 150 Matrix

0036Valid SudokuMediumTop_Interview_Questions, Array, Hash_Table, Matrix18195.15
0054Spiral MatrixMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Simulation13295.12
0048Rotate ImageMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Math, Matrix, Big_O_Time_O(n^2)_Space_O(1)16090.11
0073Set Matrix ZeroesMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Matrix, Big_O_Time_O(m*n)_Space_O(1)24897.33
0289Game of LifeMediumArray, Matrix, Simulation17496.97

Top Interview 150 Hashmap

0383Ransom NoteEasyString, Hash_Table, Counting33379.58
0205Isomorphic StringsEasyString, Hash_Table27879.96
0290Word PatternEasyString, Hash_Table17789.55
0242Valid AnagramEasyString, Hash_Table, Sorting25187.65
0049Group AnagramsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Big_O_Time_O(n*k_log_k)_Space_O(n)30896.34
0001Two SumEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n), AI_can_be_used_to_solve_the_task20291.18
0202Happy NumberEasyTop_Interview_Questions, Hash_Table, Math, Two_Pointers26145.08
0219Contains Duplicate IIEasyArray, Hash_Table, Sliding_Window81380.46
0128Longest Consecutive SequenceMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Union_Find, Big_O_Time_O(N_log_N)_Space_O(1)46097.77

Top Interview 150 Intervals

0228Summary RangesEasyArray16991.89
0056Merge IntervalsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Big_O_Time_O(n_log_n)_Space_O(n)33480.67
0057Insert IntervalMediumArray24975.63
0452Minimum Number of Arrows to Burst BalloonsMediumArray, Sorting, Greedy, LeetCode_75_Intervals934100.00

Top Interview 150 Stack

0020Valid ParenthesesEasyTop_100_Liked_Questions, Top_Interview_Questions, String, Stack, Big_O_Time_O(n)_Space_O(n)13788.76
0071Simplify PathMediumString, Stack18592.86
0155Min StackMediumTop_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_Space_O(N)33184.88
0150Evaluate Reverse Polish NotationMediumTop_Interview_Questions, Array, Math, Stack23388.82
0224Basic CalculatorHardString, Math, Stack, Recursion29493.33

Top Interview 150 Linked List

0141Linked List CycleEasyTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_Space_O(1)22391.85
0002Add Two NumbersMediumTop_100_Liked_Questions, Top_Interview_Questions, Math, Linked_List, Recursion, Big_O_Time_O(max(N,M))_Space_O(max(N,M)), AI_can_be_used_to_solve_the_task20396.13
0021Merge Two Sorted ListsEasyTop_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_Space_O(m+n)15792.24
0138Copy List with Random PointerMediumTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Big_O_Time_O(N)_Space_O(N)12390.70
0092Reverse Linked List IIMediumLinked_List14475.00
0025Reverse Nodes in k-GroupHardTop_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(k)18967.03
0019Remove Nth Node From End of ListMediumTop_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_Space_O(L)14496.28
0082Remove Duplicates from Sorted List IIMediumTwo_Pointers, Linked_List16689.47
0061Rotate ListMediumTwo_Pointers, Linked_List16092.22
0086Partition ListMediumTwo_Pointers, Linked_List16070.73
0146LRU CacheMediumTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Design, Linked_List, Doubly_Linked_List, Big_O_Time_O(1)_Space_O(capacity)111697.93

Top Interview 150 Binary Tree General

0104Maximum Depth of Binary TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS, Big_O_Time_O(N)_Space_O(H)16683.53
0100Same TreeEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree13486.63
0226Invert Binary TreeEasyTop_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n)23354.90
0101Symmetric TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(log(N))15382.35
0105Construct Binary Tree from Preorder and Inorder TraversalMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Big_O_Time_O(N)_Space_O(N)18395.45
0106Construct Binary Tree from Inorder and Postorder TraversalMediumArray, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer167100.00
0117Populating Next Right Pointers in Each Node IIMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Linked_List19994.67
0114Flatten Binary Tree to Linked ListMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Linked_List, Big_O_Time_O(N)_Space_O(N)19193.10
0112Path SumEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree32236.41
0129Sum Root to Leaf NumbersMediumDepth_First_Search, Tree, Binary_Tree23752.50
0124Binary Tree Maximum Path SumHardTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N)33174.42
0173Binary Search Tree IteratorMediumTree, Binary_Tree, Stack, Design, Binary_Search_Tree, Iterator56346.91
0222Count Complete Tree NodesEasyDepth_First_Search, Tree, Binary_Search, Binary_Tree0100.00
0236Lowest Common Ancestor of a Binary TreeMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS, Big_O_Time_O(n)_Space_O(n)38645.21

Top Interview 150 Binary Tree BFS

0199Binary Tree Right Side ViewMediumTop_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/BFS19492.89
0637Average of Levels in Binary TreeEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree249100.00
0102Binary Tree Level Order TraversalMediumTop_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N)19895.14
0103Binary Tree Zigzag Level Order TraversalMediumTop_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree17671.62

Top Interview 150 Binary Search Tree

0530Minimum Absolute Difference in BSTEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Binary_Search_Tree20986.96
0230Kth Smallest Element in a BSTMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n)39333.33
0098Validate Binary Search TreeMediumTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(N)_Space_O(log(N))19061.62

Top Interview 150 Graph General

0200Number of IslandsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Big_O_Time_O(M*N)_Space_O(M*N)25295.41
0130Surrounded RegionsMediumTop_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find35584.42
0133Clone GraphMediumHash_Table, Depth_First_Search, Breadth_First_Search, Graph35160.91
0399Evaluate DivisionMediumArray, Depth_First_Search, Breadth_First_Search, Graph, Union_Find, Shortest_Path, LeetCode_75_Graphs/DFS18391.49
0207Course ScheduleMediumTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Graph, Topological_Sort, Big_O_Time_O(N)_Space_O(N)18392.07
0210Course Schedule IIMediumTop_Interview_Questions, Depth_First_Search, Breadth_First_Search, Graph, Topological_Sort26696.32

Top Interview 150 Graph BFS

0909Snakes and LaddersMediumArray, Breadth_First_Search, Matrix203100.00
0433Minimum Genetic MutationMediumString, Hash_Table, Breadth_First_Search20482.08
0127Word LadderHardTop_Interview_Questions, String, Hash_Table, Breadth_First_Search39698.68

Top Interview 150 Trie

0208Implement Trie (Prefix Tree)MediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, LeetCode_75_Trie, Big_O_Time_O(word.length())_or_O(prefix.length())_Space_O(N)68961.00
0211Design Add and Search Words Data StructureMediumString, Depth_First_Search, Design, Trie225687.04
0212Word Search IIHardTop_Interview_Questions, Array, String, Matrix, Backtracking, Trie268100.00

Top Interview 150 Backtracking

0017Letter Combinations of a Phone NumberMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Backtracking, LeetCode_75_Backtracking, Big_O_Time_O(4^n)_Space_O(n)15595.24
0077CombinationsMediumBacktracking232100.00
0046PermutationsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Backtracking, Big_O_Time_O(n*n!)_Space_O(n+n!)18899.00
0039Combination SumMediumTop_100_Liked_Questions, Array, Backtracking, Big_O_Time_O(2^n)_Space_O(n+2^n)22688.89
0052N-Queens IIHardBacktracking12897.56
0022Generate ParenthesesMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Big_O_Time_O(2^n)_Space_O(n)16185.45
0079Word SearchMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Backtracking, Big_O_Time_O(4^(m*n))_Space_O(m*n)39272.92

Top Interview 150 Divide and Conquer

0108Convert Sorted Array to Binary Search TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Tree, Binary_Tree, Binary_Search_Tree, Divide_and_Conquer16780.29
0148Sort ListMediumTop_100_Liked_Questions, Top_Interview_Questions, Sorting, Two_Pointers, Linked_List, Divide_and_Conquer, Merge_Sort, Big_O_Time_O(log(N))_Space_O(log(N))82061.70
0427Construct Quad TreeMediumArray, Tree, Matrix, Divide_and_Conquer22194.74
0023Merge k Sorted ListsHardTop_100_Liked_Questions, Top_Interview_Questions, Heap_Priority_Queue, Linked_List, Divide_and_Conquer, Merge_Sort, Big_O_Time_O(k*n*log(k))_Space_O(log(k))19893.77

Top Interview 150 Kadane’s Algorithm

0053Maximum SubarrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1)51078.81
0918Maximum Sum Circular SubarrayMediumArray, Dynamic_Programming, Divide_and_Conquer, Queue, Monotonic_Queue33986.96

Top Interview 150 Binary Search

0035Search Insert PositionEasyTop_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1)15993.03
0074Search a 2D MatrixMediumTop_100_Liked_Questions, Array, Binary_Search, Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1)15974.46
0162Find Peak ElementMediumTop_Interview_Questions, Array, Binary_Search, LeetCode_75_Binary_Search29753.85
0033Search in Rotated Sorted ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1)15193.77
0034Find First and Last Position of Element in Sorted ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1)174100.00
0153Find Minimum in Rotated Sorted ArrayMediumTop_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_Space_O(log_N)26260.96
0004Median of Two Sorted ArraysHardTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Divide_and_Conquer, Big_O_Time_O(log(min(N,M)))_Space_O(1), AI_can_be_used_to_solve_the_task29375.96

Top Interview 150 Heap

0215Kth Largest Element in an ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, LeetCode_75_Heap/Priority_Queue, Big_O_Time_O(n*log(n))_Space_O(log(n))83934.43
0502IPOHardArray, Sorting, Greedy, Heap_Priority_Queue79954.55
0373Find K Pairs with Smallest SumsMediumArray, Heap_Priority_Queue180980.95
0295Find Median from Data StreamHardTop_100_Liked_Questions, Sorting, Two_Pointers, Design, Heap_Priority_Queue, Data_Stream, Big_O_Time_O(n*log_n)_Space_O(n)228933.60

Top Interview 150 Bit Manipulation

0067Add BinaryEasyString, Math, Bit_Manipulation, Simulation16490.60
0190Reverse BitsEasyTop_Interview_Questions, Bit_Manipulation, Divide_and_Conquer19881.82
0191Number of 1 BitsEasyTop_Interview_Questions, Bit_Manipulation23768.44
0136Single NumberEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, LeetCode_75_Bit_Manipulation, Big_O_Time_O(N)_Space_O(1)34483.63
0137Single Number IIMediumArray, Bit_Manipulation34464.29
0201Bitwise AND of Numbers RangeMediumBit_Manipulation36880.00

Top Interview 150 Math

0009Palindrome NumberEasyMath, Big_O_Time_O(log10(x))_Space_O(1)21795.34
0066Plus OneEasyTop_Interview_Questions, Array, Math14898.75
0172Factorial Trailing ZeroesMediumTop_Interview_Questions, Math22067.65
0069Sqrt(x)EasyTop_Interview_Questions, Math, Binary_Search14094.72
0050Pow(x, n)MediumTop_Interview_Questions, Math, Recursion17238.68
0149Max Points on a LineHardTop_Interview_Questions, Array, Hash_Table, Math, Geometry30783.33

Top Interview 150 1D DP

0070Climbing StairsEasyTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_Space_O(n)12471.98
0198House RobberMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, LeetCode_75_DP/1D, Big_O_Time_O(n)_Space_O(n)15692.24
0139Word BreakMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Big_O_Time_O(M+max*N)_Space_O(M+N+max)19787.17
0322Coin ChangeMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m*n)_Space_O(amount)33250.68
0300Longest Increasing SubsequenceMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n*log_n)_Space_O(n)31882.28

Top Interview 150 Multidimensional DP

0120TriangleMediumArray, Dynamic_Programming19497.87
0064Minimum Path SumMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m*n)_Space_O(m*n)164100.00
0063Unique Paths IIMediumArray, Dynamic_Programming, Matrix15181.94
0005Longest Palindromic SubstringMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n)16299.00
0097Interleaving StringMediumString, Dynamic_Programming14981.58
0072Edit DistanceMediumTop_100_Liked_Questions, String, Dynamic_Programming, LeetCode_75_DP/Multidimensional, Big_O_Time_O(n^2)_Space_O(n2)18292.16
0123Best Time to Buy and Sell Stock IIIHardArray, Dynamic_Programming58595.24
0188Best Time to Buy and Sell Stock IVHardArray, Dynamic_Programming29368.31
0221Maximal SquareMediumArray, Dynamic_Programming, Matrix, Big_O_Time_O(m*n)_Space_O(m*n)61444.00

Data Structure I

Day 1 Array

0217Contains DuplicateEasyTop_Interview_Questions, Array, Hash_Table, Sorting71973.49
0053Maximum SubarrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1)51078.81

Day 2 Array

0001Two SumEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n), AI_can_be_used_to_solve_the_task20291.18
0088Merge Sorted ArrayEasyTop_Interview_Questions, Array, Sorting, Two_Pointers17069.74

Day 3 Array

0350Intersection of Two Arrays IIEasyArray, Hash_Table, Sorting, Binary_Search, Two_Pointers32173.37
0121Best Time to Buy and Sell StockEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1)60994.06

Day 4 Array

0566Reshape the MatrixEasyArray, Matrix, Simulation23999.05
0118Pascal’s TriangleEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming27733.22

Day 5 Array

0036Valid SudokuMediumTop_Interview_Questions, Array, Hash_Table, Matrix18195.15
0074Search a 2D MatrixMediumTop_100_Liked_Questions, Array, Binary_Search, Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1)15974.46

Day 6 String

0387First Unique Character in a StringEasyString, Hash_Table, Counting, Queue36982.68
0383Ransom NoteEasyString, Hash_Table, Counting33379.58
0242Valid AnagramEasyString, Hash_Table, Sorting25187.65

Day 7 Linked List

0141Linked List CycleEasyTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_Space_O(1)22391.85
0021Merge Two Sorted ListsEasyTop_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_Space_O(m+n)15792.24
0203Remove Linked List ElementsEasyLinked_List, Recursion23391.22

Day 8 Linked List

0206Reverse Linked ListEasyTop_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, LeetCode_75_LinkedList, Big_O_Time_O(N)_Space_O(1)27945.78
0083Remove Duplicates from Sorted ListEasyLinked_List17382.42

Day 9 Stack Queue

0020Valid ParenthesesEasyTop_100_Liked_Questions, Top_Interview_Questions, String, Stack, Big_O_Time_O(n)_Space_O(n)13788.76
0232Implement Queue using StacksEasyStack, Design, Queue25870.86

Day 10 Tree

0144Binary Tree Preorder TraversalEasyDepth_First_Search, Tree, Binary_Tree, Stack27737.90
0094Binary Tree Inorder TraversalEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Big_O_Time_O(n)_Space_O(n)15266.67
0145Binary Tree Postorder TraversalEasyDepth_First_Search, Tree, Binary_Tree, Stack21180.00

Day 11 Tree

0102Binary Tree Level Order TraversalMediumTop_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N)19895.14
0104Maximum Depth of Binary TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS, Big_O_Time_O(N)_Space_O(H)16683.53
0101Symmetric TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(log(N))15382.35

Day 12 Tree

0226Invert Binary TreeEasyTop_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n)23354.90
0112Path SumEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree32236.41

Day 13 Tree

0700Search in a Binary Search TreeEasyTree, Binary_Tree, Binary_Search_Tree, LeetCode_75_Binary_Search_Tree25188.31
0701Insert into a Binary Search TreeMediumTree, Binary_Tree, Binary_Search_Tree31179.03

Day 14 Tree

0098Validate Binary Search TreeMediumTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(N)_Space_O(log(N))19061.62
0653Two Sum IV - Input is a BSTEasyHash_Table, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Two_Pointers, Binary_Search_Tree23196.08
0235Lowest Common Ancestor of a Binary Search TreeMediumDepth_First_Search, Tree, Binary_Tree, Binary_Search_Tree40475.59

Data Structure II

Day 1 Array

0136Single NumberEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, LeetCode_75_Bit_Manipulation, Big_O_Time_O(N)_Space_O(1)34483.63
0169Majority ElementEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Sorting, Counting, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1)46051.25
00153SumMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n*log(n))_Space_O(n^2)49393.45

Day 2 Array

0075Sort ColorsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n)_Space_O(1)16464.43
0056Merge IntervalsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Big_O_Time_O(n_log_n)_Space_O(n)33480.67
0706Design HashMapEasyArray, Hash_Table, Design, Linked_List, Hash_Function40592.11

Day 3 Array

0119Pascal’s Triangle IIEasyArray, Dynamic_Programming15797.27
0048Rotate ImageMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Math, Matrix, Big_O_Time_O(n^2)_Space_O(1)16090.11
0059Spiral Matrix IIMediumArray, Matrix, Simulation15341.70

Day 4 Array

0240Search a 2D Matrix IIMediumTop_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Big_O_Time_O(n+m)_Space_O(1)46066.08
0435Non-overlapping IntervalsMediumArray, Dynamic_Programming, Sorting, Greedy, LeetCode_75_Intervals104085.07

Day 5 Array

0334Increasing Triplet SubsequenceMediumArray, Greedy, LeetCode_75_Array/String67260.61
0238Product of Array Except SelfMediumTop_100_Liked_Questions, Array, Prefix_Sum, LeetCode_75_Array/String, Big_O_Time_O(n^2)_Space_O(n)66948.96
0560Subarray Sum Equals KMediumTop_100_Liked_Questions, Array, Hash_Table, Prefix_Sum, Big_O_Time_O(n)_Space_O(n)69253.27

Day 6 String

0415Add StringsEasyString, Math, Simulation29676.00
0409Longest PalindromeEasyString, Hash_Table, Greedy25960.71

Day 7 String

0290Word PatternEasyString, Hash_Table17789.55
0763Partition LabelsMediumTop_100_Liked_Questions, String, Hash_Table, Greedy, Two_Pointers, Big_O_Time_O(n)_Space_O(1)23584.75

Day 8 String

0049Group AnagramsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Big_O_Time_O(n*k_log_k)_Space_O(n)30896.34
0043Multiply StringsMediumString, Math, Simulation16596.72

Day 9 String

0187Repeated DNA SequencesMediumString, Hash_Table, Bit_Manipulation, Sliding_Window, Hash_Function, Rolling_Hash31979.03
0005Longest Palindromic SubstringMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n)16299.00

Day 10 Linked List

0002Add Two NumbersMediumTop_100_Liked_Questions, Top_Interview_Questions, Math, Linked_List, Recursion, Big_O_Time_O(max(N,M))_Space_O(max(N,M)), AI_can_be_used_to_solve_the_task20396.13
0142Linked List Cycle IIMediumTop_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(N)_Space_O(1)19263.39

Day 11 Linked List

0160Intersection of Two Linked ListsEasyTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(M+N)_Space_O(1)26283.50
0082Remove Duplicates from Sorted List IIMediumTwo_Pointers, Linked_List16689.47

Day 12 Linked List

0024Swap Nodes in PairsMediumTop_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1)14944.20
0707Design Linked ListMediumDesign, Linked_List243100.00

Day 13 Linked List

0025Reverse Nodes in k-GroupHardTop_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(k)18967.03
0143Reorder ListMediumTwo_Pointers, Stack, Linked_List, Recursion39582.26

Day 14 Stack Queue

0155Min StackMediumTop_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Big_O_Time_O(1)_Space_O(N)33184.88
1249Minimum Remove to Make Valid ParenthesesMediumString, Stack218100.00
1823Find the Winner of the Circular GameMediumArray, Math, Simulation, Recursion, Queue11987.50

Day 15 Tree

0108Convert Sorted Array to Binary Search TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Tree, Binary_Tree, Binary_Search_Tree, Divide_and_Conquer16780.29
0105Construct Binary Tree from Preorder and Inorder TraversalMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Big_O_Time_O(N)_Space_O(N)18395.45
0103Binary Tree Zigzag Level Order TraversalMediumTop_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree17671.62

Day 16 Tree

0199Binary Tree Right Side ViewMediumTop_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/BFS19492.89
0113Path Sum IIMediumDepth_First_Search, Tree, Binary_Tree, Backtracking36478.67
0450Delete Node in a BSTMediumTree, Binary_Tree, Binary_Search_Tree, LeetCode_75_Binary_Search_Tree25784.62

Day 17 Tree

0230Kth Smallest Element in a BSTMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n)39333.33
0173Binary Search Tree IteratorMediumTree, Binary_Tree, Stack, Design, Binary_Search_Tree, Iterator56346.91

Day 18 Tree

0236Lowest Common Ancestor of a Binary TreeMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS, Big_O_Time_O(n)_Space_O(n)38645.21
0297Serialize and Deserialize Binary TreeHardString, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Design47578.85

Day 19 Graph

0997Find the Town JudgeEasyArray, Hash_Table, Graph47558.62
1557Minimum Number of Vertices to Reach All NodesMediumGraph79299.29
0841Keys and RoomsMediumDepth_First_Search, Breadth_First_Search, Graph, LeetCode_75_Graphs/DFS18969.23

Day 20 Heap Priority Queue

0215Kth Largest Element in an ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, LeetCode_75_Heap/Priority_Queue, Big_O_Time_O(n*log(n))_Space_O(log(n))83934.43
0347Top K Frequent ElementsMediumTop_100_Liked_Questions, Array, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Divide_and_Conquer, Quickselect, Bucket_Sort, Big_O_Time_O(n*log(n))_Space_O(k)26899.74

Day 21 Heap Priority Queue

0451Sort Characters By FrequencyMediumString, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Bucket_Sort28881.72
0973K Closest Points to OriginMediumArray, Math, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Geometry, Quickselect80037.89

Algorithm I

Day 1 Binary Search

0704Binary SearchEasyArray, Binary_Search26177.91
0278First Bad VersionEasyBinary_Search, Interactive34976.86
0035Search Insert PositionEasyTop_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1)15993.03

Day 2 Two Pointers

0977Squares of a Sorted ArrayEasyArray, Sorting, Two_Pointers27177.17
0189Rotate ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Math, Two_Pointers, Big_O_Time_O(n)_Space_O(1)48386.95

Day 3 Two Pointers

0283Move ZeroesEasyTop_100_Liked_Questions, Array, Two_Pointers, LeetCode_75_Two_Pointers, Big_O_Time_O(n)_Space_O(1)51679.07
0167Two Sum II - Input Array Is SortedMediumArray, Binary_Search, Two_Pointers40368.74

Day 4 Two Pointers

0344Reverse StringEasyString, Two_Pointers, Recursion44569.75
0557Reverse Words in a String IIIEasyString, Two_Pointers21598.10

Day 5 Two Pointers

0876Middle of the Linked ListEasyTwo_Pointers, Linked_List13676.52
0019Remove Nth Node From End of ListMediumTop_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_Space_O(L)14496.28

Day 6 Sliding Window

0003Longest Substring Without Repeating CharactersMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_Space_O(1), AI_can_be_used_to_solve_the_task20187.28
0567Permutation in StringMediumString, Hash_Table, Two_Pointers, Sliding_Window169100.00

Day 7 Breadth First Search Depth First Search

0733Flood FillEasyArray, Depth_First_Search, Breadth_First_Search, Matrix23097.76
0695Max Area of IslandMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find18193.83

Day 8 Breadth First Search Depth First Search

0617Merge Two Binary TreesEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree24372.83
0116Populating Next Right Pointers in Each NodeMediumTop_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Linked_List35569.02

Day 9 Breadth First Search Depth First Search

054201 MatrixMediumArray, Dynamic_Programming, Breadth_First_Search, Matrix44194.06
0994Rotting OrangesMediumTop_100_Liked_Questions, Array, Breadth_First_Search, Matrix, LeetCode_75_Graphs/BFS16482.95

Day 10 Recursion Backtracking

0021Merge Two Sorted ListsEasyTop_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_Space_O(m+n)15792.24
0206Reverse Linked ListEasyTop_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, LeetCode_75_LinkedList, Big_O_Time_O(N)_Space_O(1)27945.78

Day 11 Recursion Backtracking

0077CombinationsMediumBacktracking232100.00
0046PermutationsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Backtracking, Big_O_Time_O(n*n!)_Space_O(n+n!)18899.00
0784Letter Case PermutationMediumString, Bit_Manipulation, Backtracking21984.62

Day 12 Dynamic Programming

0070Climbing StairsEasyTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_Space_O(n)12471.98
0198House RobberMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, LeetCode_75_DP/1D, Big_O_Time_O(n)_Space_O(n)15692.24
0120TriangleMediumArray, Dynamic_Programming19497.87

Day 13 Bit Manipulation

0231Power of TwoEasyMath, Bit_Manipulation, Recursion16186.81
0191Number of 1 BitsEasyTop_Interview_Questions, Bit_Manipulation23768.44

Day 14 Bit Manipulation

0190Reverse BitsEasyTop_Interview_Questions, Bit_Manipulation, Divide_and_Conquer19881.82
0136Single NumberEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, LeetCode_75_Bit_Manipulation, Big_O_Time_O(N)_Space_O(1)34483.63

Algorithm II

Day 1 Binary Search

0034Find First and Last Position of Element in Sorted ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1)174100.00
0033Search in Rotated Sorted ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1)15193.77
0074Search a 2D MatrixMediumTop_100_Liked_Questions, Array, Binary_Search, Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1)15974.46

Day 2 Binary Search

0153Find Minimum in Rotated Sorted ArrayMediumTop_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_Space_O(log_N)26260.96
0162Find Peak ElementMediumTop_Interview_Questions, Array, Binary_Search, LeetCode_75_Binary_Search29753.85

Day 3 Two Pointers

0082Remove Duplicates from Sorted List IIMediumTwo_Pointers, Linked_List16689.47
00153SumMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n*log(n))_Space_O(n^2)49393.45

Day 4 Two Pointers

0844Backspace String CompareEasyString, Two_Pointers, Stack, Simulation12698.31
0986Interval List IntersectionsMediumArray, Two_Pointers31860.98
0011Container With Most WaterMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Greedy, Two_Pointers, LeetCode_75_Two_Pointers, Big_O_Time_O(n)_Space_O(1)40278.57

Day 5 Sliding Window

0438Find All Anagrams in a StringMediumTop_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1)56154.68
0713Subarray Product Less Than KMediumArray, Sliding_Window33692.11
0209Minimum Size Subarray SumMediumArray, Binary_Search, Prefix_Sum, Sliding_Window31596.73

Day 6 Breadth First Search Depth First Search

0200Number of IslandsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Big_O_Time_O(M*N)_Space_O(M*N)25295.41
0547Number of ProvincesMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find, LeetCode_75_Graphs/DFS22979.73

Day 7 Breadth First Search Depth First Search

0117Populating Next Right Pointers in Each Node IIMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Linked_List19994.67
0572Subtree of Another TreeEasyDepth_First_Search, Tree, Binary_Tree, Hash_Function, String_Matching21492.39

Day 8 Breadth First Search Depth First Search

1091Shortest Path in Binary MatrixMediumArray, Breadth_First_Search, Matrix30598.28
0130Surrounded RegionsMediumTop_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find35584.42
0797All Paths From Source to TargetMediumDepth_First_Search, Breadth_First_Search, Graph, Backtracking232100.00

Day 9 Recursion Backtracking

0078SubsetsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Backtracking, Big_O_Time_O(2^n)_Space_O(n*2^n)17194.92
0090Subsets IIMediumArray, Bit_Manipulation, Backtracking20088.33

Day 10 Recursion Backtracking

0047Permutations IIMediumArray, Backtracking199100.00
0039Combination SumMediumTop_100_Liked_Questions, Array, Backtracking, Big_O_Time_O(2^n)_Space_O(n+2^n)22688.89
0040Combination Sum IIMediumArray, Backtracking21793.75

Day 11 Recursion Backtracking

0017Letter Combinations of a Phone NumberMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Backtracking, LeetCode_75_Backtracking, Big_O_Time_O(4^n)_Space_O(n)15595.24
0022Generate ParenthesesMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Big_O_Time_O(2^n)_Space_O(n)16185.45
0079Word SearchMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Backtracking, Big_O_Time_O(4^(m*n))_Space_O(m*n)39272.92

Day 12 Dynamic Programming

0213House Robber IIMediumArray, Dynamic_Programming25759.62
0055Jump GameMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1)33289.35

Day 13 Dynamic Programming

0045Jump Game IIMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1)20893.37
0062Unique PathsMediumTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Combinatorics, LeetCode_75_DP/Multidimensional, Big_O_Time_O(m*n)_Space_O(m*n)11894.65

Day 14 Dynamic Programming

0005Longest Palindromic SubstringMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n)16299.00
0413Arithmetic SlicesMediumArray, Dynamic_Programming156100.00

Day 15 Dynamic Programming

0091Decode WaysMediumTop_Interview_Questions, String, Dynamic_Programming14879.07
0139Word BreakMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Big_O_Time_O(M+max*N)_Space_O(M+N+max)19787.17

Day 16 Dynamic Programming

0300Longest Increasing SubsequenceMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n*log_n)_Space_O(n)31882.28
0673Number of Longest Increasing SubsequenceMediumArray, Dynamic_Programming, Segment_Tree, Binary_Indexed_Tree22691.67

Day 17 Dynamic Programming

1143Longest Common SubsequenceMediumTop_100_Liked_Questions, String, Dynamic_Programming, LeetCode_75_DP/Multidimensional, Big_O_Time_O(n*m)_Space_O(n*m)30738.36
0583Delete Operation for Two StringsMediumString, Dynamic_Programming197100.00

Day 18 Dynamic Programming

0072Edit DistanceMediumTop_100_Liked_Questions, String, Dynamic_Programming, LeetCode_75_DP/Multidimensional, Big_O_Time_O(n^2)_Space_O(n2)18292.16
0322Coin ChangeMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m*n)_Space_O(amount)33250.68
0343Integer BreakMediumDynamic_Programming, Math21863.89

Day 19 Bit Manipulation

0201Bitwise AND of Numbers RangeMediumBit_Manipulation36880.00

Day 20 Others

0384Shuffle an ArrayMediumArray, Math, Randomized94072.09

Day 21 Others

0202Happy NumberEasyTop_Interview_Questions, Hash_Table, Math, Two_Pointers26145.08
0149Max Points on a LineHardTop_Interview_Questions, Array, Hash_Table, Math, Geometry30783.33

Binary Search I

Day 1

0704Binary SearchEasyArray, Binary_Search26177.91
0374Guess Number Higher or LowerEasyBinary_Search, Interactive, LeetCode_75_Binary_Search13494.19

Day 2

0035Search Insert PositionEasyTop_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1)15993.03
0852Peak Index in a Mountain ArrayMediumArray, Binary_Search43394.29

Day 3

0367Valid Perfect SquareEasyMath, Binary_Search13794.55
1385Find the Distance Value Between Two ArraysEasyArray, Sorting, Binary_Search, Two_Pointers19084.62

Day 4

0069Sqrt(x)EasyTop_Interview_Questions, Math, Binary_Search14094.72
0744Find Smallest Letter Greater Than TargetEasyArray, Binary_Search162100.00

Day 5

0278First Bad VersionEasyBinary_Search, Interactive34976.86
0034Find First and Last Position of Element in Sorted ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1)174100.00

Day 6

0441Arranging CoinsEasyMath, Binary_Search15084.21
1539Kth Missing Positive NumberEasyArray, Binary_Search153100.00

Day 7

0167Two Sum II - Input Array Is SortedMediumArray, Binary_Search, Two_Pointers40368.74
1608Special Array With X Elements Greater Than or Equal XEasyArray, Sorting, Binary_Search14781.82

Day 8

1351Count Negative Numbers in a Sorted MatrixEasyArray, Binary_Search, Matrix20671.43
0074Search a 2D MatrixMediumTop_100_Liked_Questions, Array, Binary_Search, Matrix, Big_O_Time_O(endRow+endCol)_Space_O(1)15974.46

Day 9

1337The K Weakest Rows in a MatrixEasyArray, Sorting, Binary_Search, Matrix, Heap_Priority_Queue21677.59
1346Check If N and Its Double ExistEasyArray, Hash_Table, Sorting, Binary_Search, Two_Pointers17570.83

Day 10

0350Intersection of Two Arrays IIEasyArray, Hash_Table, Sorting, Binary_Search, Two_Pointers32173.37
0633Sum of Square NumbersMediumMath, Binary_Search, Two_Pointers126100.00

Day 11

1855Maximum Distance Between a Pair of ValuesMediumArray, Greedy, Binary_Search, Two_Pointers458100.00
0033Search in Rotated Sorted ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Big_O_Time_O(log_n)_Space_O(1)15193.77

Day 12

0153Find Minimum in Rotated Sorted ArrayMediumTop_100_Liked_Questions, Array, Binary_Search, Big_O_Time_O(log_N)_Space_O(log_N)26260.96

Binary Search II

Day 1

0209Minimum Size Subarray SumMediumArray, Binary_Search, Prefix_Sum, Sliding_Window31596.73
0611Valid Triangle NumberMediumArray, Sorting, Greedy, Binary_Search, Two_Pointers203100.00

Day 2

0658Find K Closest ElementsMediumArray, Sorting, Binary_Search, Two_Pointers, Heap_Priority_Queue37595.16
1894Find the Student that Will Replace the ChalkMediumArray, Binary_Search, Simulation, Prefix_Sum52050.00

Day 3

0300Longest Increasing SubsequenceMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n*log_n)_Space_O(n)31882.28
1760Minimum Limit of Balls in a BagMediumArray, Binary_Search460100.00

Day 4

0875Koko Eating BananasMediumArray, Binary_Search, LeetCode_75_Binary_Search26793.85
1552Magnetic Force Between Two BallsMediumArray, Sorting, Binary_Search636100.00

Day 5

0287Find the Duplicate NumberMediumTop_100_Liked_Questions, Array, Binary_Search, Two_Pointers, Bit_Manipulation, Big_O_Time_O(n)_Space_O(n)65666.21
1283Find the Smallest Divisor Given a ThresholdMediumArray, Binary_Search255100.00

Day 6

1898Maximum Number of Removable CharactersMediumArray, String, Binary_Search636100.00
1870Minimum Speed to Arrive on TimeMediumArray, Binary_Search62850.00

Day 7

1482Minimum Number of Days to Make m BouquetsMediumArray, Binary_Search53850.00
1818Minimum Absolute Sum DifferenceMediumArray, Sorting, Binary_Search, Ordered_Set447100.00

Day 8

0240Search a 2D Matrix IIMediumTop_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Big_O_Time_O(n+m)_Space_O(1)46066.08
0275H-Index IIMediumArray, Binary_Search39881.82

Day 9

1838Frequency of the Most Frequent ElementMediumArray, Sorting, Greedy, Binary_Search, Prefix_Sum, Sliding_Window56488.89
0540Single Element in a Sorted ArrayMediumArray, Binary_Search27486.67

Day 10

0222Count Complete Tree NodesEasyDepth_First_Search, Tree, Binary_Search, Binary_Tree0100.00
1712Ways to Split Array Into Three SubarraysMediumArray, Binary_Search, Two_Pointers, Prefix_Sum486100.00

Day 11

0826Most Profit Assigning WorkMediumArray, Sorting, Greedy, Binary_Search, Two_Pointers366100.00
0436Find Right IntervalMediumArray, Sorting, Binary_Search333100.00

Day 12

0081Search in Rotated Sorted Array IIMediumArray, Binary_Search17096.30
0162Find Peak ElementMediumTop_Interview_Questions, Array, Binary_Search, LeetCode_75_Binary_Search29753.85

Day 13

0154Find Minimum in Rotated Sorted Array IIHardArray, Binary_Search27584.00
0528Random Pick with WeightMediumMath, Binary_Search, Prefix_Sum, Randomized39391.38

Day 14

1508Range Sum of Sorted Subarray SumsMediumArray, Sorting, Binary_Search, Two_Pointers37866.67
1574Shortest Subarray to be Removed to Make Array SortedMediumArray, Binary_Search, Two_Pointers, Stack, Monotonic_Stack47750.00

Day 15

1292Maximum Side Length of a Square with Sum Less than or Equal to ThresholdMediumArray, Binary_Search, Matrix, Prefix_Sum376100.00
1498Number of Subsequences That Satisfy the Given Sum ConditionMediumArray, Sorting, Binary_Search, Two_Pointers48797.89

Day 16

0981Time Based Key-Value StoreMediumString, Hash_Table, Binary_Search, Design101165.56
1300Sum of Mutated Array Closest to TargetMediumArray, Sorting, Binary_Search217100.00

Day 17

1802Maximum Value at a Given Index in a Bounded ArrayMediumGreedy, Binary_Search118100.00
1901Find a Peak Element IIMediumArray, Binary_Search, Matrix, Divide_and_Conquer726100.00

Day 18

1146Snapshot ArrayMediumArray, Hash_Table, Binary_Search, Design106457.14
1488Avoid Flood in The CityMediumArray, Hash_Table, Greedy, Binary_Search, Heap_Priority_Queue82366.67

Day 19

1562Find Latest Group of Size MMediumArray, Binary_Search, Simulation534100.00
1648Sell Diminishing-Valued Colored BallsMediumArray, Math, Sorting, Greedy, Binary_Search, Heap_Priority_Queue509100.00

Day 20

1201Ugly Number IIIMediumMath, Binary_Search, Number_Theory136100.00
0911Online ElectionMediumArray, Hash_Table, Binary_Search, Design76683.33

Dynamic Programming I

Day 1

0509Fibonacci NumberEasyDynamic_Programming, Math, Recursion, Memoization13982.72
1137N-th Tribonacci NumberEasyDynamic_Programming, Math, Memoization, LeetCode_75_DP/1D12269.35

Day 2

0070Climbing StairsEasyTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_Space_O(n)12471.98
0746Min Cost Climbing StairsEasyArray, Dynamic_Programming, LeetCode_75_DP/1D17196.76

Day 3

0198House RobberMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, LeetCode_75_DP/1D, Big_O_Time_O(n)_Space_O(n)15692.24
0213House Robber IIMediumArray, Dynamic_Programming25759.62
0740Delete and EarnMediumArray, Hash_Table, Dynamic_Programming192100.00

Day 4

0055Jump GameMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1)33289.35
0045Jump Game IIMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1)20893.37

Day 5

0053Maximum SubarrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Divide_and_Conquer, Big_O_Time_O(n)_Space_O(1)51078.81
0918Maximum Sum Circular SubarrayMediumArray, Dynamic_Programming, Divide_and_Conquer, Queue, Monotonic_Queue33986.96

Day 6

0152Maximum Product SubarrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1)25388.42
1567Maximum Length of Subarray With Positive ProductMediumArray, Dynamic_Programming, Greedy46833.33

Day 7

1014Best Sightseeing PairMediumArray, Dynamic_Programming33666.67
0121Best Time to Buy and Sell StockEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1)60994.06
0122Best Time to Buy and Sell Stock IIMediumTop_Interview_Questions, Array, Dynamic_Programming, Greedy19795.10

Day 8

0309Best Time to Buy and Sell Stock with CooldownMediumArray, Dynamic_Programming27273.33
0714Best Time to Buy and Sell Stock with Transaction FeeMediumArray, Dynamic_Programming, Greedy, LeetCode_75_DP/Multidimensional41790.91

Day 9

0139Word BreakMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Big_O_Time_O(M+max*N)_Space_O(M+N+max)19787.17
0042Trapping Rain WaterHardTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Two_Pointers, Stack, Monotonic_Stack, Big_O_Time_O(n)_Space_O(1)18999.37

Day 10

0413Arithmetic SlicesMediumArray, Dynamic_Programming156100.00
0091Decode WaysMediumTop_Interview_Questions, String, Dynamic_Programming14879.07

Day 11

0264Ugly Number IIMediumHash_Table, Dynamic_Programming, Math, Heap_Priority_Queue18295.45
0096Unique Binary Search TreesMediumDynamic_Programming, Math, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(1)11692.31

Day 12

0118Pascal’s TriangleEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming27733.22
0119Pascal’s Triangle IIEasyArray, Dynamic_Programming15797.27

Day 13

0931Minimum Falling Path SumMediumArray, Dynamic_Programming, Matrix20184.21
0120TriangleMediumArray, Dynamic_Programming19497.87

Day 14

1314Matrix Block SumMediumArray, Matrix, Prefix_Sum235100.00
0304Range Sum Query 2D - ImmutableMediumArray, Matrix, Design, Prefix_Sum137385.71

Day 15

0062Unique PathsMediumTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Combinatorics, LeetCode_75_DP/Multidimensional, Big_O_Time_O(m*n)_Space_O(m*n)11894.65
0063Unique Paths IIMediumArray, Dynamic_Programming, Matrix15181.94

Day 16

0064Minimum Path SumMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m*n)_Space_O(m*n)164100.00
0221Maximal SquareMediumArray, Dynamic_Programming, Matrix, Big_O_Time_O(m*n)_Space_O(m*n)61444.00

Day 17

0005Longest Palindromic SubstringMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n)16299.00
0516Longest Palindromic SubsequenceMediumString, Dynamic_Programming24387.50

Day 18

0300Longest Increasing SubsequenceMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n*log_n)_Space_O(n)31882.28
0376Wiggle SubsequenceMediumArray, Dynamic_Programming, Greedy16288.89

Day 19

0392Is SubsequenceEasyString, Dynamic_Programming, Two_Pointers, LeetCode_75_Two_Pointers15687.74
1143Longest Common SubsequenceMediumTop_100_Liked_Questions, String, Dynamic_Programming, LeetCode_75_DP/Multidimensional, Big_O_Time_O(n*m)_Space_O(n*m)30738.36
0072Edit DistanceMediumTop_100_Liked_Questions, String, Dynamic_Programming, LeetCode_75_DP/Multidimensional, Big_O_Time_O(n^2)_Space_O(n2)18292.16

Day 20

0322Coin ChangeMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m*n)_Space_O(amount)33250.68
0518Coin Change IIMediumArray, Dynamic_Programming139100.00

Day 21

0377Combination Sum IVMediumArray, Dynamic_Programming21772.41
0343Integer BreakMediumDynamic_Programming, Math21863.89
0279Perfect SquaresMediumTop_100_Liked_Questions, Dynamic_Programming, Math, Breadth_First_Search17698.80

Algorithms

#TitleDifficultyTagTime, msTime, %
3611Find Overbooked EmployeesMediumDatabase516100.00
3609Minimum Moves to Reach Target in GridHardMath1100.00
3608Minimum Time for K Connected ComponentsMediumSorting, Binary_Search, Graph, Union_Find31100.00
3607Power Grid MaintenanceMediumArray, Hash_Table, Depth_First_Search, Breadth_First_Search, Heap_Priority_Queue, Graph, Union_Find, Ordered_Set91100.00
3606Coupon Code ValidatorEasyArray, String, Hash_Table, Sorting32100.00
3605Minimum Stability Factor of ArrayHardArray, Math, Greedy, Binary_Search, Segment_Tree, Number_Theory95100.00
3604Minimum Time to Reach Destination in Directed GraphMediumHeap_Priority_Queue, Graph, Shortest_Path18100.00
3603Minimum Cost Path with Alternating Directions IIMediumArray, Dynamic_Programming, Matrix12100.00
3602Hexadecimal and Hexatrigesimal ConversionEasyString, Math2100.00
3601Find Drivers with Improved Fuel EfficiencyMediumDatabase52162.61
3600Maximize Spanning Tree Stability with UpgradesHardGreedy, Binary_Search, Graph, Union_Find, Minimum_Spanning_Tree34100.00
3599Partition Array to Minimize XORMediumArray, Dynamic_Programming, Bit_Manipulation, Prefix_Sum136100.00
3598Longest Common Prefix Between Adjacent Strings After RemovalsMediumArray, String2871.43
3597Partition StringMediumString, Hash_Table, Simulation, Trie43100.00
3594Minimum Time to Transport All IndividualsHardArray, Dynamic_Programming, Bit_Manipulation, Heap_Priority_Queue, Graph, Bitmask, Shortest_Path213100.00
3593Minimum Increments to Equalize Leaf PathsMediumArray, Dynamic_Programming, Depth_First_Search, Tree37100.00
3592Inverse Coin ChangeEasyArray, Dynamic_Programming2100.00
3591Check if Any Element Has Prime FrequencyEasyArray, Hash_Table, Math, Counting, Number_Theory1100.00
3590Kth Smallest Path XOR SumHardArray, Depth_First_Search, Tree, Ordered_Set395100.00
3589Count Prime-Gap Balanced SubarraysMediumArray, Math, Sliding_Window, Queue, Number_Theory, Monotonic_Queue341100.00
3588Find Maximum Area of a TriangleMediumArray, Hash_Table, Math, Greedy, Enumeration, Geometry470100.00
3587Minimum Adjacent Swaps to Alternate ParityMediumArray, Greedy38100.00
3586Find COVID Recovery PatientsMediumDatabase47197.17
3585Find Weighted Median Node in TreeHardArray, Dynamic_Programming, Depth_First_Search, Tree, Binary_Search123100.00
3584Maximum Product of First and Last Elements of a SubsequenceMediumArray, Two_Pointers8100.00
3583Count Special TripletsMediumArray, Hash_Table, Counting23855.56
3582Generate Tag for Video CaptionEasyString, Simulation3100.00
3580Find Consistently Improving EmployeesMediumDatabase44991.67
3579Minimum Steps to Convert String with OperationsHardString, Dynamic_Programming, Greedy107100.00
3578Count Partitions With Max-Min Difference at Most KMediumArray, Dynamic_Programming, Prefix_Sum, Sliding_Window, Queue, Monotonic_Queue33100.00
3577Count the Number of Computer Unlocking PermutationsMediumArray, Math, Combinatorics, Brainteaser2100.00
3576Transform Array to All Equal ElementsMediumArray, Greedy1192.31
3575Maximum Good Subtree ScoreHardArray, Dynamic_Programming, Depth_First_Search, Tree, Bit_Manipulation, Bitmask71100.00
3574Maximize Subarray GCD ScoreHardArray, Math, Enumeration, Number_Theory19100.00
3573Best Time to Buy and Sell Stock VMediumArray, Dynamic_Programming27100.00
3572Maximize Y‑Sum by Picking a Triplet of Distinct X‑ValuesMediumArray, Hash_Table, Sorting, Greedy, Heap_Priority_Queue5100.00
3570Find Books with No Available CopiesEasyDatabase512100.00
3569Maximize Count of Distinct Primes After SplitHardArray, Math, Segment_Tree, Number_Theory441100.00
3568Minimum Moves to Clean the ClassroomMediumArray, Hash_Table, Breadth_First_Search, Matrix, Bit_Manipulation149100.00
3567Minimum Absolute Difference in Sliding SubmatrixMediumArray, Sorting, Matrix18100.00
3566Partition Array into Two Equal Product SubsetsMediumArray, Bit_Manipulation, Recursion, Enumeration1100.00
3564Seasonal Sales AnalysisMediumDatabase505100.00
3563Lexicographically Smallest String After Adjacent RemovalsHardString, Dynamic_Programming186100.00
3562Maximum Profit from Trading Stocks with DiscountsHardArray, Dynamic_Programming, Depth_First_Search, Tree40100.00
3561Resulting String After Adjacent RemovalsMediumString, Stack, Simulation43100.00
3560Find Minimum Log Transportation CostEasyMath0100.00
3559Number of Ways to Assign Edge Weights IIHardArray, Dynamic_Programming, Math, Depth_First_Search, Tree197100.00
3558Number of Ways to Assign Edge Weights IMediumMath, Depth_First_Search, Tree21100.00
3557Find Maximum Number of Non Intersecting SubstringsMediumString, Hash_Table, Dynamic_Programming, Greedy2870.59
3556Sum of Largest Prime SubstringsMediumString, Hash_Table, Math, Sorting, Number_Theory25100.00
3554Find Category Recommendation PairsHardDatabase62382.76
3553Minimum Weighted Subgraph With the Required Paths IIHardArray, Depth_First_Search, Tree142100.00
3552Grid Teleportation TraversalMediumArray, Hash_Table, Breadth_First_Search, Matrix147100.00
3551Minimum Swaps to Sort by Digit SumMediumArray, Hash_Table, Sorting48183.33
3550Smallest Index With Digit Sum Equal to IndexEasyArray, Math1100.00
3548Equal Sum Grid Partition IIHardArray, Hash_Table, Matrix, Prefix_Sum, Enumeration61100.00
3547Maximum Sum of Edge Values in a GraphHardSorting, Depth_First_Search, Greedy, Graph61100.00
3546Equal Sum Grid Partition IMediumArray, Matrix, Prefix_Sum, Enumeration782.61
3545Minimum Deletions for At Most K Distinct CharactersEasyString, Hash_Table, Sorting, Greedy, Counting3100.00
3544Subtree Inversion SumHardArray, Dynamic_Programming, Depth_First_Search, Tree114100.00
3543Maximum Weighted K-Edge PathMediumHash_Table, Dynamic_Programming, Graph29100.00
3542Minimum Operations to Convert All Elements to ZeroMediumArray, Hash_Table, Greedy, Stack, Monotonic_Stack11100.00
3541Find Most Frequent Vowel and ConsonantEasyString, Hash_Table, Counting8100.00
3539Find Sum of Array Product of Magical SequencesHardArray, Dynamic_Programming, Math, Bit_Manipulation, Bitmask, Combinatorics60100.00
3538Merge Operations for Minimum Travel TimeHardArray, Dynamic_Programming, Prefix_Sum10100.00
3537Fill a Special GridMediumArray, Matrix, Divide_and_Conquer2100.00
3536Maximum Product of Two DigitsEasyMath, Sorting1100.00
3534Path Existence Queries in a Graph IIHardArray, Sorting, Greedy, Binary_Search, Graph152100.00
3533Concatenated DivisibilityHardArray, Dynamic_Programming, Bit_Manipulation, Bitmask20100.00
3532Path Existence Queries in a Graph IMediumArray, Binary_Search, Graph, Union_Find590.91
3531Count Covered BuildingsMediumArray, Hash_Table, Sorting34100.00
3530Maximum Profit from Valid Topological Order in DAGHardArray, Dynamic_Programming, Bit_Manipulation, Graph, Bitmask, Topological_Sort833100.00
3529Count Cells in Overlapping Horizontal and Vertical SubstringsMediumArray, String, Matrix, Hash_Function, String_Matching, Rolling_Hash51100.00
3528Unit Conversion IMediumDepth_First_Search, Breadth_First_Search, Graph3100.00
3527Find the Most Common ResponseMediumArray, String, Hash_Table, Counting73100.00
3525Find X Value of Array IIHardArray, Math, Segment_Tree23750.00
3524Find X Value of Array IMediumArray, Dynamic_Programming, Math12100.00
3523Make Array Non-decreasingMediumArray, Greedy, Stack, Monotonic_Stack475.00
3522Calculate Score After Performing InstructionsMediumArray, String, Hash_Table, Simulation3100.00
3521Find Product Recommendation PairsMediumDatabase61170.71
3519Count Numbers with Non-Decreasing DigitsHardString, Dynamic_Programming, Math31100.00
3518Smallest Palindromic Rearrangement IIHardString, Hash_Table, Math, Counting, Combinatorics27100.00
3517Smallest Palindromic Rearrangement IMediumString, Sorting, Counting_Sort49100.00
3516Find Closest PersonEasyMath1100.00
3515Shortest Path in a Weighted TreeHardArray, Depth_First_Search, Tree, Segment_Tree, Binary_Indexed_Tree45100.00
3514Number of Unique XOR Triplets IIMediumArray, Math, Bit_Manipulation, Enumeration778100.00
3513Number of Unique XOR Triplets IMediumArray, Math, Bit_Manipulation1100.00
3512Minimum Operations to Make Array Sum Divisible by KEasyArray, Math1100.00
3510Minimum Pair Removal to Sort Array IIHardArray, Hash_Table, Heap_Priority_Queue, Simulation, Linked_List, Ordered_Set, Doubly_Linked_List172100.00
3509Maximum Product of Subsequences With an Alternating Sum Equal to KHardArray, Hash_Table, Dynamic_Programming9996.30
3508Implement RouterMediumArray, Hash_Table, Binary_Search, Design, Ordered_Set, Queue202100.00
3507Minimum Pair Removal to Sort Array IEasyArray, Hash_Table, Heap_Priority_Queue, Simulation, Linked_List, Ordered_Set, Doubly_Linked_List2100.00
3505Minimum Operations to Make Elements Within K Subarrays EqualHardArray, Hash_Table, Dynamic_Programming, Math, Heap_Priority_Queue, Sliding_Window537100.00
3504Longest Palindrome After Substring Concatenation IIHardString, Dynamic_Programming, Two_Pointers59100.00
3503Longest Palindrome After Substring Concatenation IMediumString, Dynamic_Programming, Two_Pointers, Enumeration4283.33
3502Minimum Cost to Reach Every PositionEasyArray1100.00
3501Maximize Active Section with Trade IIHardArray, String, Binary_Search, Segment_Tree259100.00
3500Minimum Cost to Divide Array Into SubarraysHardArray, Dynamic_Programming, Prefix_Sum2892.31
3499Maximize Active Section with Trade IMediumString, Enumeration5273.08
3498Reverse Degree of a StringEasyString, Simulation287.18
3497Analyze Subscription ConversionMediumDatabase347100.00
3495Minimum Operations to Make Array Elements ZeroHardArray, Math, Bit_Manipulation12100.00
3494Find the Minimum Amount of Time to Brew PotionsMediumArray, Simulation, Prefix_Sum70100.00
3493Properties GraphMediumArray, Hash_Table, Depth_First_Search, Breadth_First_Search, Graph, Union_Find45100.00
3492Maximum Containers on a ShipEasyMath0100.00
3490Count Beautiful NumbersHardDynamic_Programming246100.00
3489Zero Array Transformation IVMediumArray, Dynamic_Programming104100.00
3488Closest Equal Element QueriesMediumArray, Hash_Table, Binary_Search93100.00
3487Maximum Unique Subarray Sum After DeletionEasyArray, Hash_Table, Greedy4100.00
3486Longest Special Path IIHardArray, Hash_Table, Depth_First_Search, Tree, Prefix_Sum255100.00
3485Longest Common Prefix of K Strings After RemovalHardArray, String, Trie251100.00
3484Design SpreadsheetMediumArray, String, Hash_Table, Matrix, Design176100.00
3483Unique 3-Digit Even NumbersEasyArray, Hash_Table, Recursion, Enumeration6100.00
3482Analyze Organization HierarchyHardDatabase29480.03
3480Maximize Subarrays After Removing One Conflicting PairHardArray, Prefix_Sum, Enumeration, Segment_Tree48100.00
3479Fruits Into Baskets IIIMediumArray, Binary_Search, Ordered_Set, Segment_Tree5392.86
3478Choose K Elements With Maximum SumMediumArray, Sorting, Heap_Priority_Queue17195.45
3477Fruits Into Baskets IIEasyArray, Binary_Search, Simulation, Segment_Tree3100.00
3475DNA Pattern RecognitionMediumDatabase36283.49
3474Lexicographically Smallest Generated StringHardString, Greedy, String_Matching30100.00
3473Sum of K Subarrays With Length at Least MMediumArray, Dynamic_Programming, Prefix_Sum3398.18
3472Longest Palindromic Subsequence After at Most K OperationsMediumString, Dynamic_Programming14255.00
3471Find the Largest Almost Missing IntegerEasyArray, Hash_Table686.49
3470Permutations IVHardArray, Math, Enumeration, Combinatorics496.77
3469Find Minimum Cost to Remove Array ElementsMediumArray, Dynamic_Programming27100.00
3468Find the Number of Copy ArraysMediumArray, Math3100.00
3467Transform Array by ParityEasyArray, Sorting, Counting1100.00
3465Find Products with Valid Serial NumbersEasyDatabase29290.91
3464Maximize the Distance Between Points on a SquareHardArray, Greedy, Binary_Search24100.00
3463Check If Digits Are Equal in String After Operations IIHardString, Math, Number_Theory, Combinatorics38100.00
3462Maximum Sum With at Most K ElementsMediumArray, Sorting, Greedy, Matrix, Heap_Priority_Queue139100.00
3461Check If Digits Are Equal in String After Operations IEasyString, Math, Simulation, Number_Theory, Combinatorics3100.00
3459Length of Longest V-Shaped Diagonal SegmentHardArray, Dynamic_Programming, Matrix, Memoization287100.00
3458Select K Disjoint Special SubstringsMediumString, Hash_Table, Dynamic_Programming, Sorting, Greedy24100.00
3457Eat Pizzas!MediumArray, Sorting, Greedy10190.91
3456Find Special Substring of Length KEasyString1100.00
3455Shortest Matching SubstringHardString, Binary_Search, Two_Pointers, String_Matching100100.00
3454Separate Squares IIHardArray, Binary_Search, Segment_Tree, Line_Sweep277100.00
3453Separate Squares IMediumArray, Binary_Search57100.00
3452Sum of Good NumbersEasyArray1100.00
3451Find Invalid IP AddressesHardDatabase30990.61
3449Maximize the Minimum Game ScoreHardArray, Greedy, Binary_Search123100.00
3448Count Substrings Divisible By Last DigitHardString, Dynamic_Programming2877.78
3447Assign Elements to Groups with ConstraintsMediumArray, Hash_Table24100.00
3446Sort Matrix by DiagonalsMediumArray, Sorting, Matrix1293.75
3445Maximum Difference Between Even and Odd Frequency IIHardString, Prefix_Sum, Sliding_Window, Enumeration8483.33
3444Minimum Increments for Target Multiples in an ArrayHardArray, Dynamic_Programming, Math, Bit_Manipulation, Bitmask, Number_Theory34100.00
3443Maximum Manhattan Distance After K ChangesMediumString, Hash_Table, Math, Counting52100.00
3442Maximum Difference Between Even and Odd Frequency IEasyString, Hash_Table, Counting1100.00
3441Minimum Cost Good CaptionHardString, Dynamic_Programming4883.33
3440Reschedule Meetings for Maximum Free Time IIMediumArray, Greedy, Enumeration8100.00
3439Reschedule Meetings for Maximum Free Time IMediumArray, Greedy, Sliding_Window580.00
3438Find Valid Pair of Adjacent Digits in StringEasyString, Hash_Table, Counting293.18
3436Find Valid EmailsEasyDatabase45170.84
3435Frequencies of Shortest SupersequencesHardArray, String, Bit_Manipulation, Graph, Enumeration, Topological_Sort275100.00
3434Maximum Frequency After Subarray OperationMediumArray, Hash_Table, Dynamic_Programming, Greedy, Prefix_Sum51100.00
3433Count Mentions Per UserMediumArray, Math, Sorting, Simulation52100.00
3432Count Partitions with Even Sum DifferenceEasyArray, Math, Prefix_Sum2100.00
3430Maximum and Minimum Sums of at Most Size K SubarraysHardArray, Math, Stack, Monotonic_Stack31100.00
3429Paint House IVMediumArray, Dynamic_Programming10100.00
3428Maximum and Minimum Sums of at Most Size K SubsequencesMediumArray, Dynamic_Programming, Math, Sorting, Combinatorics16777.78
3427Sum of Variable Length SubarraysEasyArray, Prefix_Sum0100.00
3426Manhattan Distances of All Arrangements of PiecesHardMath, Combinatorics21100.00
3425Longest Special PathHardArray, Hash_Table, Depth_First_Search, Tree, Sliding_Window59100.00
3424Minimum Cost to Make Arrays IdenticalMediumArray, Sorting, Greedy38100.00
3423Maximum Difference Between Adjacent Elements in a Circular ArrayEasyArray2100.00
3421Find Students Who ImprovedMediumDatabase46674.56
3420Count Non-Decreasing Subarrays After K OperationsHardArray, Two_Pointers, Stack, Monotonic_Stack, Queue, Segment_Tree, Monotonic_Queue28100.00
3419Minimize the Maximum Edge Weight of GraphMediumDepth_First_Search, Breadth_First_Search, Binary_Search, Graph, Shortest_Path88100.00
3418Maximum Amount of Money Robot Can EarnMediumArray, Dynamic_Programming, Matrix6081.82
3417Zigzag Grid Traversal With SkipEasyArray, Matrix, Simulation2100.00
3414Maximum Score of Non-overlapping IntervalsHardArray, Dynamic_Programming, Sorting, Binary_Search892100.00
3413Maximum Coins From K Consecutive BagsMediumArray, Sorting, Greedy, Binary_Search, Prefix_Sum, Sliding_Window27586.67
3412Find Mirror Score of a StringMediumString, Hash_Table, Stack, Simulation1796.15
3411Maximum Subarray With Equal ProductsEasyArray, Math, Sliding_Window, Enumeration, Number_Theory760.71
3410Maximize Subarray Sum After Removing All Occurrences of One ElementHardArray, Dynamic_Programming, Segment_Tree80100.00
3409Longest Subsequence With Decreasing Adjacent DifferenceMediumArray, Dynamic_Programming70100.00
3408Design Task ManagerMediumHash_Table, Design, Heap_Priority_Queue, Ordered_Set40588.24
3407Substring Matching PatternEasyString, String_Matching2100.00
3405Count the Number of Arrays with K Matching Adjacent ElementsHardMath, Combinatorics57100.00
3404Count Special SubsequencesMediumArray, Hash_Table, Math, Enumeration276100.00
3403Find the Lexicographically Largest String From the Box IMediumString, Two_Pointers, Enumeration22100.00
3402Minimum Operations to Make Columns Strictly IncreasingEasyMatrix, Simulation1100.00
3399Smallest Substring With Identical Characters IIHardBit_Manipulation, Sliding_Window26100.00
3398Smallest Substring With Identical Characters IHardArray, Binary_Search, Enumeration2100.00
3397Maximum Number of Distinct Elements After OperationsMediumArray, Sorting, Greedy517100.00
3396Minimum Number of Operations to Make Elements in Array DistinctEasyArray, Greedy, Simulation9100.00
3395Subsequences with a Unique Middle Mode IHardArray, Hash_Table, Math, Combinatorics49100.00
3394Check if Grid can be Cut into SectionsMediumGeometry, Line_Sweep61100.00
3393Count Paths With the Given XOR ValueMediumArray, Dynamic_Programming, Math, Matrix, Bit_Manipulation5768.42
3392Count Subarrays of Length Three With a ConditionEasyArray3100.00
3389Minimum Operations to Make Character Frequencies EqualHardString, Hash_Table, Dynamic_Programming, Counting, Enumeration978.95
3388Count Beautiful Splits in an ArrayMediumArray, Dynamic_Programming155100.00
3387Maximize Amount After Two Days of ConversionsMediumArray, String, Depth_First_Search, Breadth_First_Search, Graph1093.75
3386Button with Longest Push TimeEasyArray1100.00
3382Maximum Area Rectangle With Point Constraints IIHardArray, Math, Sorting, Geometry, Segment_Tree, Binary_Indexed_Tree518100.00
3381Maximum Subarray Sum With Length Divisible by KMediumArray, Hash_Table, Prefix_Sum6100.00
3380Maximum Area Rectangle With Point Constraints IMediumArray, Math, Sorting, Enumeration, Geometry, Segment_Tree, Binary_Indexed_Tree1094.74
3379Transformed ArrayEasyArray, Simulation20684.38
3378Count Connected Components in LCM GraphHardArray, Hash_Table, Math, Union_Find, Number_Theory58100.00
3377Digit Operations to Make Two Integers EqualMediumMath, Heap_Priority_Queue, Graph, Shortest_Path, Number_Theory215100.00
3376Minimum Time to Break Locks IMediumArray, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask202100.00
3375Minimum Operations to Make Array Values Equal to KEasyArray, Hash_Table191100.00
3374First Letter Capitalization IIHardDatabase26184.21
3373Maximize the Number of Target Nodes After Connecting Trees IIHardDepth_First_Search, Breadth_First_Search, Tree2698.75
3372Maximize the Number of Target Nodes After Connecting Trees IMediumDepth_First_Search, Breadth_First_Search, Tree5099.49
3371Identify the Largest Outlier in an ArrayMediumArray, Hash_Table, Counting, Enumeration5100.00
3370Smallest Number With All Set BitsEasyMath, Bit_Manipulation0100.00
3367Maximize Sum of Weights after Edge RemovalsHardDynamic_Programming, Depth_First_Search, Tree113100.00
3366Minimum Array SumMediumArray, Dynamic_Programming15100.00
3365Rearrange K Substrings to Form Target StringMediumString, Hash_Table, Sorting464100.00
3364Minimum Positive Sum SubarrayEasyArray, Prefix_Sum, Sliding_Window398.15
3363Find the Maximum Number of Fruits CollectedHardArray, Dynamic_Programming, Matrix3988.89
3362Zero Array Transformation IIIMediumArray, Sorting, Greedy, Heap_Priority_Queue, Prefix_Sum142100.00
3361Shift Distance Between Two StringsMediumArray, String, Prefix_Sum35082.50
3360Stone Removal GameEasyMath, Simulation0100.00
3357Minimize the Maximum Adjacent Element DifferenceHardArray, Greedy, Binary_Search13100.00
3356Zero Array Transformation IIMediumArray, Binary_Search, Prefix_Sum5100.00
3355Zero Array Transformation IMediumArray, Prefix_Sum636.84
3354Make Array Elements Equal to ZeroEasyArray, Simulation, Prefix_Sum15396.67
3352Count K-Reducible Numbers Less Than NHardString, Dynamic_Programming, Math, Combinatorics170100.00
3351Sum of Good SubsequencesHardArray, Hash_Table, Dynamic_Programming16100.00
3350Adjacent Increasing Subarrays Detection IIMediumArray, Binary_Search94748.57
3349Adjacent Increasing Subarrays Detection IEasyArray17997.92
3348Smallest Divisible Digit Product IIHardString, Math, Greedy, Backtracking, Number_Theory46100.00
3347Maximum Frequency of an Element After Performing Operations IIHardArray, Sorting, Binary_Search, Prefix_Sum, Sliding_Window48100.00
3346Maximum Frequency of an Element After Performing Operations IMediumArray, Sorting, Binary_Search, Prefix_Sum, Sliding_Window12100.00
3345Smallest Divisible Digit Product IEasyMath, Enumeration1100.00
3343Count Number of Balanced PermutationsHardString, Dynamic_Programming, Math, Combinatorics66100.00
3342Find Minimum Time to Reach Last Room IIMediumArray, Matrix, Heap_Priority_Queue, Graph, Shortest_Path122100.00
3341Find Minimum Time to Reach Last Room IMediumArray, Matrix, Heap_Priority_Queue, Graph, Shortest_Path25742.10
3340Check Balanced StringEasyString1100.00
3337Total Characters in String After Transformations IIHardString, Hash_Table, Dynamic_Programming, Math, Counting302100.00
3336Find the Number of Subsequences With Equal GCDHardArray, Dynamic_Programming, Math, Number_Theory324100.00
3335Total Characters in String After Transformations IMediumString, Hash_Table, Dynamic_Programming, Math, Counting5880.00
3334Find the Maximum Factor Score of ArrayMediumArray, Math, Number_Theory495.83
3333Find the Original Typed String IIHardString, Dynamic_Programming, Prefix_Sum490100.00
3332Maximum Points Tourist Can EarnMediumArray, Dynamic_Programming, Matrix216100.00
3331Find Subtree Sizes After ChangesMediumArray, String, Hash_Table, Depth_First_Search, Tree13995.24
3330Find the Original Typed String IEasyString14288.24
3327Check if DFS Strings Are PalindromesHardArray, String, Hash_Table, Depth_First_Search, Tree, Hash_Function86100.00
3326Minimum Division Operations to Make Array Non DecreasingMediumArray, Math, Greedy, Number_Theory2494.12
3325Count Substrings With K-Frequency Characters IMediumString, Hash_Table, Sliding_Window388.00
3324Find the Sequence of Strings Appeared on the ScreenMediumString, Simulation8100.00
3321Find X-Sum of All K-Long Subarrays IIHardArray, Hash_Table, Heap_Priority_Queue, Sliding_Window1660100.00
3320Count The Number of Winning SequencesHardString, Dynamic_Programming56100.00
3319K-th Largest Perfect Subtree Size in Binary TreeMediumSorting, Depth_First_Search, Tree, Binary_Tree33245.45
3318Find X-Sum of All K-Long Subarrays IEasyArray, Hash_Table, Heap_Priority_Queue, Sliding_Window26286.21
3317Find the Number of Possible Ways for an EventHardDynamic_Programming, Math, Combinatorics166100.00
3316Find Maximum Removals From Source StringMediumArray, String, Hash_Table, Dynamic_Programming, Two_Pointers220100.00
3315Construct the Minimum Bitwise Array IIMediumArray, Bit_Manipulation23177.27
3314Construct the Minimum Bitwise Array IEasyArray, Bit_Manipulation22657.14
3312Sorted GCD Pair QueriesHardArray, Hash_Table, Math, Binary_Search, Prefix_Sum, Counting, Number_Theory, Combinatorics734100.00
3311Construct 2D Grid Matching Graph LayoutHardArray, Hash_Table, Matrix, Graph1423100.00
3310Remove Methods From ProjectMediumDepth_First_Search, Breadth_First_Search, Graph1465100.00
3309Maximum Possible Number by Binary ConcatenationMediumArray, Bit_Manipulation, Enumeration18273.47
3307Find the K-th Character in String Game IIHardMath, Bit_Manipulation, Recursion18950.00
3306Count of Substrings Containing Every Vowel and K Consonants IIMediumString, Hash_Table, Sliding_Window651100.00
3305Count of Substrings Containing Every Vowel and K Consonants IMediumString, Hash_Table, Sliding_Window153100.00
3304Find the K-th Character in String Game IEasyMath, Bit_Manipulation, Simulation, Recursion14096.43
3303Find the Occurrence of First Almost Equal SubstringHardString, String_Matching364100.00
3302Find the Lexicographically Smallest Valid SequenceMediumString, Dynamic_Programming, Greedy, Two_Pointers705100.00
3301Maximize the Total Height of Unique TowersMediumArray, Sorting, Greedy76187.50
3300Minimum Element After Replacement With Digit SumEasyArray, Math153100.00
3298Count Substrings That Can Be Rearranged to Contain a String IIHardString, Hash_Table, Sliding_Window43378.57
3297Count Substrings That Can Be Rearranged to Contain a String IMediumString, Hash_Table, Sliding_Window21593.33
3296Minimum Number of Seconds to Make Mountain Height ZeroMediumArray, Math, Binary_Search22887.50
3295Report Spam MessageMediumArray, String, Hash_Table78274.19
3292Minimum Number of Valid Strings to Form Target IIHardArray, String, Dynamic_Programming, Binary_Search, Segment_Tree, Hash_Function, String_Matching, Rolling_Hash67450.00
3291Minimum Number of Valid Strings to Form Target IMediumArray, String, Dynamic_Programming, Binary_Search, Trie, Segment_Tree, Hash_Function, String_Matching, Rolling_Hash56670.00
3290Maximum Multiplication ScoreMediumArray, Dynamic_Programming74966.67
3289The Two Sneaky Numbers of DigitvilleEasyArray, Hash_Table, Math22368.97
3288Length of the Longest Increasing PathHardArray, Sorting, Binary_Search98483.33
3287Find the Maximum Sequence Value of ArrayHardArray, Dynamic_Programming, Bit_Manipulation289333.33
3286Find a Safe Walk Through a GridMediumArray, Breadth_First_Search, Matrix, Heap_Priority_Queue, Graph, Shortest_Path35748.28
3285Find Indices of Stable MountainsEasyArray19592.68
3283Maximum Number of Moves to Kill All PawnsHardArray, Math, Breadth_First_Search, Bit_Manipulation, Bitmask, Game_Theory147100.00
3282Reach End of Array With Max ScoreMediumArray, Greedy78990.91
3281Maximize Score of Numbers in RangesMediumArray, Sorting, Greedy, Binary_Search71088.24
3280Convert Date to BinaryEasyString, Math17479.31
3277Maximum XOR Score Subarray QueriesHardArray, Dynamic_Programming1269100.00
3276Select Cells in Grid With Maximum ScoreHardArray, Dynamic_Programming, Matrix, Bit_Manipulation, Bitmask21392.31
3275K-th Nearest Obstacle QueriesMediumArray, Heap_Priority_Queue1277100.00
3274Check if Two Chessboard Squares Have the Same ColorEasyString, Math16438.64
3273Minimum Amount of Damage Dealt to BobHardArray, Sorting, Greedy79390.00
3272Find the Count of Good IntegersHardHash_Table, Math, Enumeration, Combinatorics45280.00
3271Hash Divided StringMediumString, Simulation178100.00
3270Find the Key of the NumbersEasyMath12297.83
3267Count Almost Equal Pairs IIHardArray, Hash_Table, Sorting, Counting, Enumeration814100.00
3266Final Array State After K Multiplication Operations IIHardArray, Heap_Priority_Queue, Simulation500100.00
3265Count Almost Equal Pairs IMediumArray, Hash_Table, Sorting, Counting, Enumeration184100.00
3264Final Array State After K Multiplication Operations IEasyArray, Math, Heap_Priority_Queue, Simulation23755.55
3261Count Substrings That Satisfy K-Constraint IIHardArray, String, Binary_Search, Prefix_Sum, Sliding_Window1005100.00
3260Find the Largest Palindrome Divisible by KHardString, Dynamic_Programming, Math, Greedy, Number_Theory211100.00
3259Maximum Energy Boost From Two DrinksMediumArray, Dynamic_Programming81196.88
3258Count Substrings That Satisfy K-Constraint IEasyString, Sliding_Window15592.86
3257Maximum Value Sum by Placing Three Rooks IIHardArray, Dynamic_Programming, Matrix, Enumeration770100.00
3256Maximum Value Sum by Placing Three Rooks IHardArray, Dynamic_Programming, Matrix, Enumeration279100.00
3255Find the Power of K-Size Subarrays IIMediumArray, Sliding_Window89289.36
3254Find the Power of K-Size Subarrays IMediumArray, Sliding_Window24592.59
3251Find the Count of Monotonic Pairs IIHardArray, Dynamic_Programming, Math, Prefix_Sum, Combinatorics291100.00
3250Find the Count of Monotonic Pairs IHardArray, Dynamic_Programming, Math, Prefix_Sum, Combinatorics241100.00
3249Count the Number of Good NodesMediumDepth_First_Search, Tree1190100.00
3248Snake in MatrixEasyArray, String, Simulation17490.91
3245Alternating Groups IIIHardArray, Binary_Indexed_Tree70100.00
3244Shortest Distance After Road Addition Queries IIHardArray, Greedy, Graph, Ordered_Set79492.31
3243Shortest Distance After Road Addition Queries IMediumArray, Breadth_First_Search, Graph31397.06
3242Design Neighbor Sum ServiceEasyArray, Hash_Table, Matrix, Design, Simulation33375.00
3241Time Taken to Mark All NodesHardDynamic_Programming, Depth_First_Search, Tree, Graph1228100.00
3240Minimum Number of Flips to Make Binary Grid Palindromic IIMediumArray, Matrix, Two_Pointers805100.00
3239Minimum Number of Flips to Make Binary Grid Palindromic IMediumArray, Matrix, Two_Pointers85687.50
3238Find the Number of Winning PlayersEasyArray, Hash_Table, Counting20790.38
3235Check if the Rectangle Corner Is ReachableHardArray, Math, Depth_First_Search, Breadth_First_Search, Union_Find, Geometry61266.67
3234Count the Number of Substrings With Dominant OnesMediumString, Sliding_Window, Enumeration356100.00
3233Find the Count of Numbers Which Are Not SpecialMediumArray, Math, Number_Theory21576.19
3232Find if Digit Game Can Be WonEasyArray, Math19436.00
3229Minimum Operations to Make Array Equal to TargetHardArray, Dynamic_Programming, Greedy, Stack, Monotonic_Stack63657.14
3228Maximum Number of Operations to Move Ones to the EndMediumString, Greedy, Counting23244.00
3227Vowels Game in a StringMediumString, Math, Game_Theory, Brainteaser23490.32
3226Number of Bit Changes to Make Two Integers EqualEasyBit_Manipulation13661.90
3225Maximum Score From Grid OperationsHardArray, Dynamic_Programming, Matrix, Prefix_Sum371100.00
3224Minimum Array Changes to Make Differences EqualMediumArray, Hash_Table, Prefix_Sum66584.62
3223Minimum Length of String After OperationsMediumString, Hash_Table, Counting31660.00
3222Find the Winning Player in Coin GameEasyMath, Simulation, Game_Theory14086.44
3220Odd and Even TransactionsMediumDatabase24885.85
3219Minimum Cost for Cutting Cake IIHardArray, Sorting, Greedy776100.00
3218Minimum Cost for Cutting Cake IMediumArray, Dynamic_Programming, Sorting, Greedy17578.05
3217Delete Nodes From Linked List Present in ArrayMediumArray, Hash_Table, Linked_List87298.31
3216Lexicographically Smallest String After a SwapEasyString, Greedy15795.16
3213Construct String with Minimum CostHardArray, String, Dynamic_Programming, Suffix_Array117646.67
3212Count Submatrices With Equal Frequency of X and YMediumArray, Matrix, Prefix_Sum100978.95
3211Generate Binary Strings Without Adjacent ZerosMediumString, Bit_Manipulation, Recursion23738.18
3210Find the Encrypted StringEasyString17062.69
3209Number of Subarrays With AND Value of KHardArray, Binary_Search, Bit_Manipulation, Segment_Tree530100.00
3208Alternating Groups IIMediumArray, Sliding_Window44997.62
3207Maximum Points After Enemy BattlesMediumArray, Greedy470100.00
3206Alternating Groups IEasyArray, Sliding_Window16788.14
3203Find Minimum Diameter After Merging Two TreesHardDepth_First_Search, Breadth_First_Search, Tree, Graph1156100.00
3202Find the Maximum Length of Valid Subsequence IIMediumArray, Dynamic_Programming25597.30
3201Find the Maximum Length of Valid Subsequence IMediumArray, Dynamic_Programming51289.36
3200Maximum Height of a TriangleEasyArray, Enumeration13681.36
3197Find the Minimum Area to Cover All Ones IIHardArray, Matrix, Enumeration216100.00
3196Maximize Total Cost of Alternating SubarraysMediumArray, Dynamic_Programming49673.81
3195Find the Minimum Area to Cover All Ones IMediumArray, Matrix106873.91
3194Minimum Average of Smallest and Largest ElementsEasyArray, Sorting, Two_Pointers19294.25
3193Count the Number of InversionsHardArray, Dynamic_Programming24394.74
3192Minimum Operations to Make Binary Array Elements Equal to One IIMediumArray, Dynamic_Programming, Greedy68464.29
3191Minimum Operations to Make Binary Array Elements Equal to One IMediumArray, Bit_Manipulation, Prefix_Sum, Sliding_Window, Queue65357.35
3190Find Minimum Operations to Make All Elements Divisible by ThreeEasyArray, Math15387.95
3187Peaks in ArrayHardArray, Segment_Tree, Binary_Indexed_Tree133980.00
3186Maximum Total Damage With Spell CastingMediumArray, Hash_Table, Dynamic_Programming, Sorting, Binary_Search, Two_Pointers, Counting110692.73
3185Count Pairs That Form a Complete Day IIMediumArray, Hash_Table, Counting57878.33
3184Count Pairs That Form a Complete Day IEasyArray, Hash_Table, Counting17168.42
3181Maximum Total Reward Using Operations IIHardArray, Dynamic_Programming, Bit_Manipulation376100.00
3180Maximum Total Reward Using Operations IMediumArray, Dynamic_Programming183100.00
3179Find the N-th Value After K SecondsMediumArray, Math, Simulation, Prefix_Sum, Combinatorics175100.00
3178Find the Child Who Has the Ball After K SecondsEasyMath, Simulation13682.35
3177Find the Maximum Length of a Good Subsequence IIHardArray, Hash_Table, Dynamic_Programming284100.00
3176Find the Maximum Length of a Good Subsequence IMediumArray, Hash_Table, Dynamic_Programming183100.00
3175Find The First Player to win K Games in a RowMediumArray, Simulation536100.00
3174Clear DigitsEasyString, Hash_Table, Simulation18070.18
3171Find Subarray With Bitwise AND Closest to KHardArray, Binary_Search, Bit_Manipulation, Segment_Tree520100.00
3170Lexicographically Minimum String After Removing StarsMediumString, Hash_Table, Greedy, Stack, Heap_Priority_Queue316100.00
3169Count Days Without MeetingsMediumArray, Sorting73397.59
3168Minimum Number of Chairs in a Waiting RoomEasyString, Simulation14886.52
3165Maximum Sum of Subsequence With Non-adjacent ElementsHardArray, Dynamic_Programming, Divide_and_Conquer, Segment_Tree109100.00
3164Find the Number of Good Pairs IIMediumArray, Hash_Table117590.00
3163String Compression IIIMediumString33166.13
3162Find the Number of Good Pairs IEasyArray, Hash_Table18254.41
3161Block Placement QueriesHardArray, Binary_Search, Segment_Tree, Binary_Indexed_Tree100100.00
3160Find the Number of Distinct Colors Among the BallsMediumArray, Hash_Table, Simulation105558.82
3159Find Occurrences of an Element in an ArrayMediumArray, Hash_Table81098.28
3158Find the XOR of Numbers Which Appear TwiceEasyArray, Hash_Table, Bit_Manipulation16692.21
3154Find Number of Ways to Reach the K-th StairHardDynamic_Programming, Math, Bit_Manipulation, Memoization, Combinatorics122100.00
3153Sum of Digit Differences of All PairsMediumArray, Hash_Table, Math, Counting49195.74
3152Special Array IIMediumArray, Binary_Search, Prefix_Sum70793.83
3151Special Array IEasyArray16592.21
3149Find the Minimum Cost Array PermutationHardArray, Dynamic_Programming, Bit_Manipulation, Bitmask329100.00
3148Maximum Difference Score in a GridMediumArray, Dynamic_Programming, Matrix77784.62
3147Taking Maximum Energy From the Mystic DungeonMediumArray, Prefix_Sum67179.17
3146Permutation Difference between Two StringsEasyString, Hash_Table17758.21
3145Find Products of Elements of Big ArrayHardArray, Binary_Search, Bit_Manipulation210100.00
3144Minimum Substring Partition of Equal Character FrequencyMediumString, Hash_Table, Dynamic_Programming, Counting23288.00
3143Maximum Points Inside the SquareMediumArray, String, Hash_Table, Sorting, Binary_Search65059.52
3142Check if Grid Satisfies ConditionsEasyArray, Matrix17091.84
3139Minimum Cost to Equalize ArrayHardArray, Greedy, Enumeration495100.00
3138Minimum Length of Anagram ConcatenationMediumString, Hash_Table, Counting21991.67
3137Minimum Number of Operations to Make Word K-PeriodicMediumString, Hash_Table, Counting29196.30
3136Valid WordEasyString16092.50
3134Find the Median of the Uniqueness ArrayHardArray, Hash_Table, Binary_Search, Sliding_Window733100.00
3133Minimum Array EndMediumBit_Manipulation13190.91
3132Find the Integer Added to Array IIMediumArray, Sorting, Two_Pointers, Enumeration18984.85
3131Find the Integer Added to Array IEasyArray16298.15
3130Find All Possible Stable Binary Arrays IIHardDynamic_Programming, Prefix_Sum242100.00
3129Find All Possible Stable Binary Arrays IMediumDynamic_Programming, Prefix_Sum16992.86
3128Right TrianglesMediumArray, Hash_Table, Math, Counting, Combinatorics97540.63
3127Make a Square with the Same ColorEasyArray, Matrix, Enumeration14980.00
3123Find Edges in Shortest PathsHardDepth_First_Search, Breadth_First_Search, Heap_Priority_Queue, Graph, Shortest_Path931100.00
3122Minimum Number of Operations to Satisfy ConditionsMediumArray, Dynamic_Programming, Matrix94880.77
3121Count the Number of Special Characters IIMediumString, Hash_Table27490.74
3120Count the Number of Special Characters IEasyString, Hash_Table14597.26
3117Minimum Sum of Values by Dividing ArrayHardArray, Dynamic_Programming, Binary_Search, Bit_Manipulation, Queue, Segment_Tree244100.00
3116Kth Smallest Amount With Single Denomination CombinationHardArray, Math, Binary_Search, Bit_Manipulation, Number_Theory, Combinatorics158100.00
3115Maximum Prime DifferenceMediumArray, Math, Number_Theory55579.63
3114Latest Time You Can Obtain After Replacing CharactersEasyString, Enumeration16183.58
3113Find the Number of Subarrays Where Boundary Elements Are MaximumHardArray, Binary_Search, Stack, Monotonic_Stack60688.89
3112Minimum Time to Visit Disappearing NodesMediumArray, Heap_Priority_Queue, Graph, Shortest_Path82894.44
3111Minimum Rectangles to Cover PointsMediumArray, Sorting, Greedy70196.15
3110Score of a StringEasyString14491.51
3108Minimum Cost Walk in Weighted GraphHardArray, Bit_Manipulation, Graph, Union_Find791100.00
3107Minimum Operations to Make Median of Array Equal to KMediumArray, Sorting, Greedy554100.00
3106Lexicographically Smallest String After Operations With ConstraintMediumString, Greedy16274.19
3105Longest Strictly Increasing or Strictly Decreasing SubarrayEasyArray15994.00
3102Minimize Manhattan DistancesHardArray, Math70195.83
3101Count Alternating SubarraysMediumArray, Math49997.78
3100Water Bottles IIMediumMath, Simulation13770.49
3099Harshad NumberEasyMath11982.67
3098Find the Sum of Subsequence PowersHardArray, Dynamic_Programming, Sorting29477.78
3097Shortest Subarray With OR at Least K IIMediumArray, Bit_Manipulation, Sliding_Window48993.33
3096Minimum Levels to Gain More PointsMediumArray, Prefix_Sum850100.00
3095Shortest Subarray With OR at Least K IEasyArray, Bit_Manipulation, Sliding_Window16195.65
3093Longest Common Suffix QueriesHardArray, String, Trie86089.29
3092Most Frequent IDsMediumArray, Hash_Table, Heap_Priority_Queue, Ordered_Set758100.00
3091Apply Operations to Make Sum of Array Greater Than or Equal to kMediumMath, Greedy, Enumeration13473.21
3090Maximum Length Substring With Two OccurrencesEasyString, Hash_Table, Sliding_Window15790.24
3086Minimum Moves to Pick K OnesHardArray, Greedy, Prefix_Sum, Sliding_Window368100.00
3085Minimum Deletions to Make String K-SpecialMediumString, Hash_Table, Sorting, Greedy, Counting22193.33
3084Count Substrings Starting and Ending with Given CharacterMediumString, Math, Counting17798.55
3083Existence of a Substring in a String and Its ReverseEasyString, Hash_Table16879.49
3082Find the Sum of the Power of All SubsequencesHardArray, Dynamic_Programming17690.00
3081Replace Question Marks in String to Minimize Its ValueMediumString, Hash_Table, Sorting, Greedy, Heap_Priority_Queue, Counting249100.00
3080Mark Elements on Array by Performing QueriesMediumArray, Hash_Table, Sorting, Heap_Priority_Queue, Simulation93797.78
3079Find the Sum of Encrypted IntegersEasyArray, Math17280.60
3077Maximum Strength of K Disjoint SubarraysHardArray, Dynamic_Programming, Prefix_Sum35175.00
3076Shortest Uncommon Substring in an ArrayMediumArray, String, Hash_Table, Trie256100.00
3075Maximize Happiness of Selected ChildrenMediumArray, Sorting, Greedy60893.24
3074Apple Redistribution into BoxesEasyArray, Sorting, Greedy16897.37
3072Distribute Elements Into Two Arrays IIHardArray, Simulation, Segment_Tree, Binary_Indexed_Tree890100.00
3071Minimum Operations to Write the Letter Y on a GridMediumArray, Hash_Table, Matrix, Counting26891.11
3070Count Submatrices with Top-Left Element and Sum Less Than kMediumArray, Matrix, Prefix_Sum77385.71
3069Distribute Elements Into Two Arrays IEasyArray, Simulation20796.92
3068Find the Maximum Sum of Node ValuesHardArray, Dynamic_Programming, Sorting, Greedy, Tree, Bit_Manipulation53166.67
3067Count Pairs of Connectable Servers in a Weighted Tree NetworkMediumArray, Depth_First_Search, Tree57883.33
3066Minimum Operations to Exceed Threshold Value IIMediumArray, Heap_Priority_Queue, Simulation54398.11
3065Minimum Operations to Exceed Threshold Value IEasyArray18071.76
3049Earliest Second to Mark Indices IIHardArray, Greedy, Binary_Search, Heap_Priority_Queue220100.00
3048Earliest Second to Mark Indices IMediumArray, Binary_Search22375.00
3047Find the Largest Area of Square Inside Two RectanglesMediumArray, Math, Geometry75340.42
3046Split the ArrayEasyArray, Hash_Table, Counting17375.00
3045Count Prefix and Suffix Pairs IIHardArray, String, Trie, Hash_Function, String_Matching, Rolling_Hash344100.00
3044Most Frequent PrimeMediumArray, Hash_Table, Math, Matrix, Counting, Enumeration, Number_Theory198100.00
3043Find the Length of the Longest Common PrefixMediumArray, String, Hash_Table, Trie62376.32
3042Count Prefix and Suffix Pairs IEasyArray, String, Trie, Hash_Function, String_Matching, Rolling_Hash16096.72
3041Maximize Consecutive Elements in an Array After ModificationHardArray, Dynamic_Programming, Sorting551100.00
3040Maximum Number of Operations With the Same Score IIMediumArray, Dynamic_Programming, Memoization179100.00
3039Apply Operations to Make String EmptyMediumArray, Hash_Table, Sorting, Counting33597.73
3038Maximum Number of Operations With the Same Score IEasyArray, Simulation142100.00
3036Number of Subarrays That Match a Pattern IIHardArray, Hash_Function, String_Matching, Rolling_Hash76883.33
3035Maximum Palindromes After OperationsMediumArray, String, Hash_Table, Sorting, Greedy, Counting214100.00
3034Number of Subarrays That Match a Pattern IMediumArray, Hash_Function, String_Matching, Rolling_Hash22538.09
3033Modify the MatrixEasyArray, Matrix27041.94
3031Minimum Time to Revert Word to Initial State IIHardString, Hash_Function, String_Matching, Rolling_Hash32852.94
3030Find the Grid of Region AverageMediumArray, Matrix125086.96
3029Minimum Time to Revert Word to Initial State IMediumString, Hash_Function, String_Matching, Rolling_Hash16082.05
3028Ant on the BoundaryEasyArray, Simulation, Prefix_Sum15587.32
3027Find the Number of Ways to Place People IIHardArray, Math, Sorting, Enumeration, Geometry47778.95
3026Maximum Good Subarray SumMediumArray, Hash_Table, Prefix_Sum75671.43
3025Find the Number of Ways to Place People IMediumArray, Math, Sorting, Enumeration, Geometry25244.12
3024Type of TriangleEasyArray, Math, Sorting16381.03
3022Minimize OR of Remaining Elements Using OperationsHardArray, Greedy, Bit_Manipulation51677.78
3021Alice and Bob Playing Flower GameMediumMath14143.24
3020Find the Maximum Number of Elements in SubsetMediumArray, Hash_Table, Enumeration62682.22
3019Number of Changing KeysEasyString, Breadth_First_Search, Graph, Prefix_Sum15780.52
3017Count the Number of Houses at a Certain Distance IIHardBreadth_First_Search, Graph, Prefix_Sum41450.00
3016Minimum Number of Pushes to Type Word IIMediumString, Hash_Table, Sorting, Greedy, Breadth_First_Search, Graph, Prefix_Sum, Counting29092.00
3015Count the Number of Houses at a Certain Distance IMediumBreadth_First_Search, Graph, Prefix_Sum20390.91
3014Minimum Number of Pushes to Type Word IEasyString, Math, Greedy15258.67
3013Divide an Array Into Subarrays With Minimum Cost IIHardArray, Hash_Table, Heap_Priority_Queue, Sliding_Window1165100.00
3012Minimize Length of Array Using OperationsMediumArray, Math, Greedy, Number_Theory53386.36
3011Find if Array Can Be SortedMediumArray, Sorting, Bit_Manipulation19979.49
3010Divide an Array Into Subarrays With Minimum Cost IEasyArray, Sorting, Enumeration17094.23
3008Find Beautiful Indices in the Given Array IIHardString, Binary_Search, Two_Pointers, Hash_Function, String_Matching, Rolling_Hash73096.67
3007Maximum Number That Sum of the Prices Is Less Than or Equal to KMediumDynamic_Programming, Binary_Search, Bit_Manipulation133100.00
3006Find Beautiful Indices in the Given Array IMediumString, Binary_Search, Two_Pointers, Hash_Function, String_Matching, Rolling_Hash28794.92
3005Count Elements With Maximum FrequencyEasyArray, Hash_Table, Counting16880.00
3003Maximize the Number of Partitions After OperationsHardString, Dynamic_Programming, Bit_Manipulation, Bitmask147100.00
3002Maximum Size of a Set After RemovalsMediumArray, Hash_Table, Greedy467100.00
3001Minimum Moves to Capture The QueenMediumArray, Enumeration1100.00
3000Maximum Area of Longest Diagonal RectangleEasyArray16794.44
2999Count the Number of Powerful IntegersHardString, Dynamic_Programming, Math163100.00
2998Minimum Number of Operations to Make X and Y EqualMediumDynamic_Programming, Breadth_First_Search, Memoization149100.00
2997Minimum Number of Operations to Make Array XOR Equal to KMediumArray, Bit_Manipulation45284.38
2996Smallest Missing Integer Greater Than Sequential Prefix SumEasyArray, Hash_Table, Sorting17483.33
2983Palindrome Rearrangement QueriesHardString, Hash_Table, Prefix_Sum90587.50
2982Find Longest Special Substring That Occurs Thrice IIMediumString, Hash_Table, Binary_Search, Counting, Sliding_Window343100.00
2981Find Longest Special Substring That Occurs Thrice IMediumString, Hash_Table, Binary_Search, Counting, Sliding_Window20890.70
2980Check if Bitwise OR Has Trailing ZerosEasyArray, Bit_Manipulation18389.58
2977Minimum Cost to Convert String IIHardArray, String, Dynamic_Programming, Graph, Trie, Shortest_Path697100.00
2976Minimum Cost to Convert String IMediumArray, String, Graph, Shortest_Path42185.29
2975Maximum Square Area by Removing Fences From a FieldMediumArray, Hash_Table, Enumeration128396.77
2974Minimum Number GameEasyArray, Sorting, Heap_Priority_Queue, Simulation21397.92
2973Find Number of Coins to Place in Tree NodesHardDynamic_Programming, Sorting, Depth_First_Search, Tree, Heap_Priority_Queue113490.91
2972Count the Number of Incremovable Subarrays IIHardArray, Binary_Search, Two_Pointers483100.00
2971Find Polygon With the Largest PerimeterMediumArray, Sorting, Greedy, Prefix_Sum53497.06
2970Count the Number of Incremovable Subarrays IEasyArray, Binary_Search, Two_Pointers, Enumeration170100.00
2968Apply Operations to Maximize Frequency ScoreHardArray, Sorting, Binary_Search, Prefix_Sum, Sliding_Window56690.00
2967Minimum Cost to Make Array EqualindromicMediumArray, Math, Sorting, Greedy363100.00
2966Divide Array Into Arrays With Max DifferenceMediumArray, Sorting, Greedy97760.00
2965Find Missing and Repeated ValuesEasyArray, Hash_Table, Math, Matrix23591.67
2963Count the Number of Good PartitionsHardArray, Hash_Table, Math, Combinatorics600100.00
2962Count Subarrays Where Max Element Appears at Least K TimesMediumArray, Sliding_Window58788.37
2961Double Modular ExponentiationMediumArray, Math, Simulation19792.50
2960Count Tested Devices After Test OperationsEasyArray, Simulation16886.96
2959Number of Possible Sets of Closing BranchesHardBit_Manipulation, Heap_Priority_Queue, Graph, Enumeration, Shortest_Path23187.50
2958Length of Longest Subarray With at Most K FrequencyMediumArray, Hash_Table, Sliding_Window485100.00
2957Remove Adjacent Almost-Equal CharactersMediumString, Dynamic_Programming, Greedy15856.52
2956Find Common Elements Between Two ArraysEasyArray, Hash_Table27194.20
2954Count the Number of Infection SequencesHardArray, Math, Combinatorics1493100.00
2953Count Complete SubstringsHardString, Hash_Table, Sliding_Window315100.00
2952Minimum Number of Coins to be AddedMediumArray, Sorting, Greedy43987.10
2951Find the PeaksEasyArray, Enumeration18893.75
2949Count Beautiful Substrings IIHardString, Hash_Table, Math, Prefix_Sum, Number_Theory299100.00
2948Make Lexicographically Smallest Array by Swapping ElementsMediumArray, Sorting, Union_Find92894.59
2947Count Beautiful Substrings IMediumString, Prefix_Sum, Enumeration29159.52
2946Matrix Similarity After Cyclic ShiftsEasyArray, Math, Matrix, Simulation21075.00
2945Find Maximum Non-decreasing Array LengthHardArray, Dynamic_Programming, Binary_Search, Stack, Monotonic_Stack, Queue, Monotonic_Queue63687.50
2944Minimum Number of Coins for FruitsMediumArray, Dynamic_Programming, Heap_Priority_Queue, Queue, Monotonic_Queue19484.62
2943Maximize Area of Square Hole in GridMediumArray, Sorting18086.67
2942Find Words Containing CharacterEasyArray, String21698.97
2940Find Building Where Alice and Bob Can MeetHardArray, Binary_Search, Stack, Heap_Priority_Queue, Monotonic_Stack, Segment_Tree, Binary_Indexed_Tree92890.00
2939Maximum Xor ProductMediumMath, Greedy, Bit_Manipulation15176.19
2938Separate Black and White BallsMediumString, Greedy, Two_Pointers19998.21
2937Make Three Strings EqualEasyString18683.78
2935Maximum Strong Pair XOR IIHardArray, Hash_Table, Bit_Manipulation, Sliding_Window, Trie74884.38
2934Minimum Operations to Maximize Last Elements in ArraysMediumArray, Greedy24381.25
2933High-Access EmployeesMediumArray, String, Hash_Table, Sorting30491.67
2932Maximum Strong Pair XOR IEasyArray, Hash_Table, Bit_Manipulation, Sliding_Window, Trie19243.08
2931Maximum Spending After Buying ItemsHardArray, Sorting, Greedy, Matrix, Heap_Priority_Queue54193.75
2930Number of Strings Which Can Be Rearranged to Contain SubstringMediumDynamic_Programming, Math, Combinatorics132100.00
2929Distribute Candies Among Children IIMediumMath, Enumeration, Combinatorics16366.67
2928Distribute Candies Among Children IEasyMath, Enumeration, Combinatorics14186.36
2926Maximum Balanced Subsequence SumHardArray, Dynamic_Programming, Binary_Search, Segment_Tree, Binary_Indexed_Tree636100.00
2925Maximum Score After Applying Operations on a TreeMediumDynamic_Programming, Depth_First_Search, Tree70681.82
2924Find Champion IIMediumGraph42281.82
2923Find Champion IEasyArray, Matrix32058.62
2920Maximum Points After Collecting Coins From All NodesHardArray, Dynamic_Programming, Depth_First_Search, Tree, Bit_Manipulation1007100.00
2919Minimum Increment Operations to Make Array BeautifulMediumArray, Dynamic_Programming52062.50
2918Minimum Equal Sum of Two Arrays After Replacing ZerosMediumArray, Greedy598100.00
2917Find the K-or of an ArrayEasyArray, Bit_Manipulation19176.47
2916Subarrays Distinct Element Sum of Squares IIHardArray, Dynamic_Programming, Segment_Tree, Binary_Indexed_Tree467100.00
2915Length of the Longest Subsequence That Sums to TargetMediumArray, Dynamic_Programming55266.67
2914Minimum Number of Changes to Make Binary String BeautifulMediumString180100.00
2913Subarrays Distinct Element Sum of Squares IEasyArray, Hash_Table18495.74
2911Minimum Changes to Make K Semi-palindromesHardString, Dynamic_Programming, Two_Pointers216100.00
2910Minimum Number of Groups to Create a Valid AssignmentMediumArray, Hash_Table, Greedy74575.00
2909Minimum Sum of Mountain Triplets IIMediumArray463100.00
2908Minimum Sum of Mountain Triplets IEasyArray17473.33
2906Construct Product MatrixMediumArray, Matrix, Prefix_Sum1016100.00
2905Find Indices With Index and Value Difference IIMediumArray48550.00
2904Shortest and Lexicographically Smallest Beautiful StringMediumString, Sliding_Window16966.67
2903Find Indices With Index and Value Difference IEasyArray192100.00
2902Count of Sub-Multisets With Bounded SumHardArray, Hash_Table, Dynamic_Programming, Sliding_Window26387.50
2901Longest Unequal Adjacent Groups Subsequence IIMediumArray, String, Dynamic_Programming305100.00
2900Longest Unequal Adjacent Groups Subsequence IEasyArray, String, Dynamic_Programming, Greedy294100.00
2899Last Visited IntegersEasyArray, String, Simulation20972.73
2897Apply Operations on Array to Maximize Sum of SquaresHardArray, Hash_Table, Greedy, Bit_Manipulation572100.00
2896Apply Operations to Make Two Strings EqualMediumString, Dynamic_Programming18166.67
2895Minimum Processing TimeMediumArray, Sorting, Greedy66280.00
2894Divisible and Non-divisible Sums DifferenceEasyMath13576.92
2891Method ChainingEasy 41299.23
2890Reshape Data: MeltEasy 44697.89
2889Reshape Data: PivotEasy 41699.87
2888Reshape Data: ConcatenateEasy 44196.26
2887Fill Missing DataEasy 40497.11
2886Change Data TypeEasy 42194.57
2885Rename ColumnsEasy 46768.13
2884Modify ColumnsEasy 40196.35
2883Drop Missing DataEasy 42994.97
2882Drop Duplicate RowsEasy 40597.36
2881Create a New ColumnEasy 43781.98
2880Select DataEasy 42894.99
2879Display the First Three RowsEasy 40696.44
2878Get the Size of a DataFrameEasy 41394.68
2877Create a DataFrame from ListEasy 40682.57
2876Count Visited Nodes in a Directed GraphHardDynamic_Programming, Graph, Memoization922100.00
2875Minimum Size Subarray in Infinite ArrayMediumArray, Hash_Table, Prefix_Sum, Sliding_Window372100.00
2874Maximum Value of an Ordered Triplet IIMediumArray508100.00
2873Maximum Value of an Ordered Triplet IEasyArray15794.12
2872Maximum Number of K-Divisible ComponentsHardDynamic_Programming, Depth_First_Search, Tree780100.00
2871Split Array Into Maximum Number of SubarraysMediumArray, Greedy, Bit_Manipulation490100.00
2870Minimum Number of Operations to Make Array EmptyMediumArray, Hash_Table, Greedy, Counting50380.00
2869Minimum Operations to Collect ElementsEasyArray, Hash_Table156100.00
2867Count Valid Paths in a TreeHardDynamic_Programming, Math, Depth_First_Search, Tree, Number_Theory793100.00
2866Beautiful Towers IIMediumArray, Stack, Monotonic_Stack67685.71
2865Beautiful Towers IMediumArray, Stack, Monotonic_Stack23275.00
2864Maximum Odd Binary NumberEasyString, Math, Greedy17690.91
2862Maximum Element-Sum of a Complete Subset of IndicesHardArray, Math, Number_Theory259100.00
2861Maximum Number of AlloysMediumArray, Binary_Search289100.00
2860Happy StudentsMediumArray, Sorting, Enumeration512100.00
2859Sum of Values at Indices With K Set BitsEasyArray, Bit_Manipulation177100.00
2858Minimum Edge Reversals So Every Node Is ReachableHardDynamic_Programming, Depth_First_Search, Breadth_First_Search, Graph1161100.00
2857Count Pairs of Points With Distance kMediumArray, Hash_Table, Bit_Manipulation1212100.00
2856Minimum Array Length After Pair RemovalsMediumArray, Hash_Table, Greedy, Binary_Search, Two_Pointers, Counting647100.00
2855Minimum Right Shifts to Sort the ArrayEasyArray16975.00
2851String TransformationHardString, Dynamic_Programming, Math, String_Matching377100.00
2850Minimum Moves to Spread Stones Over GridMediumArray, Dynamic_Programming, Breadth_First_Search, Matrix133100.00
2849Determine if a Cell Is Reachable at a Given TimeMediumMath13880.95
2848Points That Intersect With CarsEasyHash_Table, Math, Prefix_Sum190100.00
2846Minimum Edge Weight Equilibrium Queries in a TreeHardArray, Tree, Graph, Strongly_Connected_Component982100.00
2845Count of Interesting SubarraysMediumArray, Hash_Table, Prefix_Sum703100.00
2844Minimum Operations to Make a Special NumberMediumString, Math, Greedy, Enumeration16260.00
2843Count Symmetric IntegersEasyMath, Enumeration20388.24
2842Count K-Subsequences of a String With Maximum BeautyHardString, Hash_Table, Math, Greedy, Combinatorics217100.00
2841Maximum Sum of Almost Unique SubarrayMediumArray, Hash_Table, Sliding_Window387100.00
2840Check if Strings Can be Made Equal With Operations IIMediumString, Hash_Table, Sorting225100.00
2839Check if Strings Can be Made Equal With Operations IEasyString154100.00
2836Maximize Value of Function in a Ball Passing GameHardArray, Dynamic_Programming, Bit_Manipulation933100.00
2835Minimum Operations to Form Subsequence With Target SumHardArray, Greedy, Bit_Manipulation183100.00
2834Find the Minimum Possible Sum of a Beautiful ArrayMediumMath, Greedy130100.00
2833Furthest Point From OriginEasyArray, Counting16081.25
2831Find the Longest Equal SubarrayMediumArray, Hash_Table, Binary_Search, Sliding_Window663100.00
2830Maximize the Profit as the SalesmanMediumArray, Dynamic_Programming, Sorting, Binary_Search776100.00
2829Determine the Minimum Sum of a k-avoiding ArrayMediumMath, Greedy16275.00
2828Check if a String Is an Acronym of WordsEasyArray, String18090.14
2827Number of Beautiful Integers in the RangeHardDynamic_Programming, Math169100.00
2826Sorting Three GroupsMediumArray, Dynamic_Programming250100.00
2825Make String a Subsequence Using Cyclic IncrementsMediumString, Two_Pointers22783.33
2824Count Pairs Whose Sum is Less than TargetEasyArray, Sorting, Two_Pointers16890.62
2818Apply Operations to Maximize ScoreHardArray, Math, Greedy, Stack, Monotonic_Stack, Number_Theory727100.00
2817Minimum Absolute Difference Between Elements With ConstraintMediumArray, Binary_Search, Ordered_Set759100.00
2816Double a Number Represented as a Linked ListMediumMath, Stack, Linked_List393100.00
2815Max Pair Sum in an ArrayEasyArray, Hash_Table22382.35
2813Maximum Elegance of a K-Length SubsequenceHardArray, Hash_Table, Sorting, Greedy, Heap_Priority_Queue853100.00
2812Find the Safest Path in a GridMediumArray, Breadth_First_Search, Binary_Search, Matrix, Union_Find902100.00
2811Check if it is Possible to Split ArrayMediumArray, Dynamic_Programming, Greedy180100.00
2810Faulty KeyboardEasyString, Simulation19691.67
2809Minimum Time to Make Array Sum At Most xHardArray, Dynamic_Programming, Sorting325100.00
2808Minimum Seconds to Equalize a Circular ArrayMediumArray, Hash_Table, Greedy84750.00
2807Insert Greatest Common Divisors in Linked ListMediumArray, Math, Linked_List22567.65
2806Account Balance After Rounded PurchaseEasyMath108100.00
2801Count Stepping Numbers in RangeHardString, Dynamic_Programming288100.00
2800Shortest String That Contains Three StringsMediumString, Greedy, Enumeration259100.00
2799Count Complete Subarrays in an ArrayMediumArray, Hash_Table, Sliding_Window20696.97
2798Number of Employees Who Met the TargetEasyArray, Enumeration15392.50
2791Count Paths That Can Form a Palindrome in a TreeHardDynamic_Programming, Depth_First_Search, Tree, Bit_Manipulation, Bitmask683100.00
2790Maximum Number of Groups With Increasing LengthHardArray, Math, Sorting, Greedy, Binary_Search545100.00
2789Largest Element in an Array after Merge OperationsMediumArray, Greedy, Prefix_Sum68373.68
2788Split Strings by SeparatorEasyArray, String31485.45
2787Ways to Express an Integer as Sum of PowersMediumDynamic_Programming152100.00
2786Visit Array Positions to Maximize ScoreMediumArray, Dynamic_Programming62584.00
2785Sort Vowels in a StringMediumString, Sorting233100.00
2784Check if Array is GoodEasyArray, Hash_Table, Sorting17788.89
2781Length of the Longest Valid SubstringHardArray, String, Hash_Table, Sliding_Window647100.00
2780Minimum Index of a Valid SplitMediumArray, Hash_Table, Sorting64091.67
2779Maximum Beauty of an Array After Applying OperationMediumArray, Sorting, Binary_Search, Sliding_Window64996.97
2778Sum of Squares of Special ElementsEasyArray, Simulation18386.44
2772Apply Operations to Make All Array Elements Equal to ZeroMediumArray, Prefix_Sum57897.06
2771Longest Non-decreasing Subarray From Two ArraysMediumArray, Dynamic_Programming66596.88
2770Maximum Number of Jumps to Reach the Last IndexMediumArray, Dynamic_Programming32551.16
2769Find the Maximum Achievable NumberEasyMath13497.89
2768Number of Black BlocksMediumArray, Hash_Table, Enumeration719100.00
2767Partition String Into Minimum Beautiful SubstringsMediumString, Hash_Table, Dynamic_Programming, Backtracking16296.00
2766Relocate MarblesMediumArray, Hash_Table, Sorting, Simulation1038100.00
2765Longest Alternating SubarrayEasyArray, Enumeration19197.92
2763Sum of Imbalance Numbers of All SubarraysHardArray, Hash_Table, Ordered_Set41795.24
2762Continuous SubarraysMediumArray, Heap_Priority_Queue, Sliding_Window, Ordered_Set, Queue, Monotonic_Queue492100.00
2761Prime Pairs With Target SumMediumArray, Math, Enumeration, Number_Theory537100.00
2760Longest Even Odd Subarray With ThresholdEasyArray, Sliding_Window28595.45
2751Robot CollisionsHardArray, Sorting, Stack, Simulation1049100.00
2750Ways to Split Array Into Good SubarraysMediumArray, Dynamic_Programming, Math916100.00
2749Minimum Operations to Make the Integer ZeroMediumBit_Manipulation, Brainteaser13291.67
2748Number of Beautiful PairsEasyArray, Math, Number_Theory227100.00
2747Count Zero Request ServersMediumArray, Hash_Table, Sorting, Sliding_Window991100.00
2746Decremental String ConcatenationMediumArray, String, Dynamic_Programming264100.00
2745Construct the Longest New StringMediumMath, Greedy, Brainteaser14697.37
2744Find Maximum Number of String PairsEasyArray, String, Hash_Table, Simulation16296.81
2742Painting the WallsHardArray, Dynamic_Programming268100.00
2741Special PermutationsMediumArray, Dynamic_Programming, Bit_Manipulation, Bitmask62382.35
2740Find the Value of the PartitionMediumArray, Sorting431100.00
2739Total Distance TraveledEasyMath, Simulation177100.00
2736Maximum Sum QueriesHardArray, Sorting, Binary_Search, Stack, Monotonic_Stack, Segment_Tree, Binary_Indexed_Tree1043100.00
2735Collecting ChocolatesMediumArray, Enumeration237100.00
2734Lexicographically Smallest String After Substring OperationMediumString, Greedy384100.00
2733Neither Minimum nor MaximumEasyArray, Sorting286100.00
2732Find a Good Subset of the MatrixHardArray, Greedy, Matrix, Bit_Manipulation76098.36
2731Movement of RobotsMediumArray, Sorting, Prefix_Sum, Brainteaser414100.00
2730Find the Longest Semi-Repetitive SubstringMediumString, Sliding_Window25184.62
2729Check if The Number is FascinatingEasyHash_Table, Math131100.00
2727Is Object EmptyEasy 4998.24
2726Calculator with Method ChainingEasy 4399.15
2725Interval CancellationEasy 5198.87
2724Sort ByEasy 13296.70
2723Add Two PromisesEasy 5697.63
2722Join Two Arrays by IDMedium 28098.29
2721Execute Asynchronous Functions in ParallelMedium 6399.09
2719Count of IntegersHardString, Dynamic_Programming, Math208100.00
2718Sum of Matrix After QueriesMediumArray, Hash_Table668100.00
2717Semi-Ordered PermutationEasyArray, Simulation186100.00
2716Minimize String LengthEasyString, Hash_Table20497.62
2715Timeout CancellationEasy 5397.68
2713Maximum Strictly Increasing Cells in a MatrixHardArray, Dynamic_Programming, Sorting, Binary_Search, Matrix, Memoization1141100.00
2712Minimum Cost to Make All Characters EqualMediumString, Dynamic_Programming, Greedy200100.00
2711Difference of Number of Distinct Values on DiagonalsMediumArray, Hash_Table, Matrix281100.00
2710Remove Trailing Zeros From a StringEasyString19193.02
2709Greatest Common Divisor TraversalHardArray, Math, Union_Find, Number_Theory89281.82
2708Maximum Strength of a GroupMediumArray, Sorting, Greedy, Backtracking183100.00
2707Extra Characters in a StringMediumArray, String, Hash_Table, Dynamic_Programming, Trie27685.71
2706Buy Two ChocolatesEasyArray, Sorting18796.43
2705Compact ObjectMedium 7899.38
2704To Be Or Not To BeEasy 4997.88
2703Return Length of Arguments PassedEasy 4798.59
2699Modify Graph Edge WeightsHardHeap_Priority_Queue, Graph, Shortest_Path159240.00
2698Find the Punishment Number of an IntegerMediumMath, Backtracking133100.00
2697Lexicographically Smallest PalindromeEasyString, Two_Pointers267100.00
2696Minimum String Length After Removing SubstringsEasyString, Stack, Simulation185100.00
2695Array WrapperEasy 40100.00
2694Event EmitterMedium 4599.58
2693Call Function with Custom ContextMediumArray, Dynamic_Programming, Matrix5197.92
2685Count the Number of Complete ComponentsMediumArray, Dynamic_Programming, Depth_First_Search, Breadth_First_Search, Matrix, Graph436100.00
2684Maximum Number of Moves in a GridMediumArray, Dynamic_Programming, Matrix509100.00
2683Neighboring Bitwise XORMediumArray, Bit_Manipulation988100.00
2682Find the Losers of the Circular GameEasyArray, Hash_Table, Simulation186100.00
2681Power of HeroesHardArray, Math, Sorting, Prefix_Sum45485.71
2680Maximum ORMediumArray, Greedy, Bit_Manipulation, Prefix_Sum59290.91
2679Sum in a MatrixMediumArray, Sorting, Matrix, Heap_Priority_Queue, Simulation581100.00
2678Number of Senior CitizensEasyArray, String16396.30
2677Chunk ArrayEasy 5596.89
2673Make Costs of Paths Equal in a Binary TreeMediumArray, Dynamic_Programming, Greedy, Tree, Binary_Tree64575.00
2672Number of Adjacent Elements With the Same ColorMediumArray1208100.00
2671Frequency TrackerMediumHash_Table, Design110980.00
2670Find the Distinct Difference ArrayEasyArray, Hash_Table32094.74
2667Create Hello World FunctionEasy 4594.20
2666Allow One Function CallEasy 5088.35
2665Counter IIEasy 5494.09
2663Lexicographically Smallest Beautiful StringHardString, Greedy324100.00
2662Minimum Cost of a Path With Special RoadsMediumArray, Heap_Priority_Queue, Graph, Shortest_Path690100.00
2661First Completely Painted Row or ColumnMediumArray, Hash_Table, Matrix901100.00
2660Determine the Winner of a Bowling GameEasyArray, Simulation26385.71
2659Make Array EmptyHardArray, Sorting, Greedy, Binary_Search, Ordered_Set, Segment_Tree, Binary_Indexed_Tree728100.00
2658Maximum Number of Fish in a GridMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find26980.00
2657Find the Prefix Common Array of Two ArraysMediumArray, Hash_Table28888.89
2656Maximum Sum With Exactly K ElementsEasyArray, Greedy24193.94
2654Minimum Number of Operations to Make All Array Elements Equal to 1MediumArray, Math, Number_Theory172100.00
2653Sliding Subarray BeautyMediumArray, Hash_Table, Sliding_Window126466.67
2652Sum MultiplesEasyArray, Math, Number_Theory13697.53
2651Calculate Delayed Arrival TimeEasyMath12988.00
2650Design Cancellable FunctionHard 5893.15
2649Nested Array GeneratorMedium 13886.92
2648Generate Fibonacci SequenceEasy 4298.08
2646Minimize the Total Price of the TripsHardArray, Dynamic_Programming, Depth_First_Search, Tree, Graph264100.00
2645Minimum Additions to Make Valid StringMediumString, Dynamic_Programming, Greedy, Stack154100.00
2644Find the Maximum Divisibility ScoreEasyArray585100.00
2643Row With Maximum OnesEasyArray, Matrix530100.00
2642Design Graph With Shortest Path CalculatorHardDesign, Heap_Priority_Queue, Graph, Shortest_Path789100.00
2641Cousins in Binary Tree IIMediumHash_Table, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree92290.91
2640Find the Score of All Prefixes of an ArrayMediumArray, Prefix_Sum587100.00
2639Find the Width of Columns of a GridEasyArray, Matrix222100.00
2637Promise Time LimitMedium 5784.99
2635Apply Transform Over Each Element in ArrayEasy 4398.46
2634Filter Elements from ArrayEasy 4498.04
2631Group ByMedium 10199.50
2630Memoize IIHard 26498.86
2629Function CompositionEasy 5895.63
2627DebounceMedium 5098.23
2626Array Reduce TransformationEasy 5291.40
2625Flatten Deeply Nested ArrayMedium 8498.71
2624Snail TraversalMedium 15781.82
2623MemoizeMedium 26497.20
2622Cache With Time LimitMedium 5194.82
2621SleepEasy 4099.59
2620CounterEasy 4398.60
2619Array Prototype LastEasy 4198.99
2618Check if Object Instance of ClassMedium 8299.55
2617Minimum Number of Visited Cells in a GridHardArray, Dynamic_Programming, Binary_Search, Stack, Union_Find, Segment_Tree, Binary_Indexed_Tree1255100.00
2616Minimize the Maximum Difference of PairsMediumArray, Greedy, Binary_Search556100.00
2615Sum of DistancesMediumArray, Hash_Table, Prefix_Sum902100.00
2614Prime In DiagonalEasyArray, Math, Matrix, Number_Theory465100.00
2612Minimum Reverse OperationsHardArray, Breadth_First_Search, Ordered_Set923100.00
2611Mice and CheeseMediumArray, Sorting, Greedy, Heap_Priority_Queue554100.00
2610Convert an Array Into a 2D Array With ConditionsMediumArray, Hash_Table24088.24
2609Find the Longest Balanced Substring of a Binary StringEasyString174100.00
2608Shortest Cycle in a GraphHardBreadth_First_Search, Graph1061100.00
2607Make K-Subarray Sums EqualMediumArray, Math, Sorting, Number_Theory1062100.00
2606Find the Substring With Maximum CostMediumArray, String, Hash_Table, Dynamic_Programming238100.00
2605Form Smallest Number From Two Digit ArraysEasyArray, Hash_Table, Enumeration161100.00
2603Collect Coins in a TreeHardArray, Tree, Graph, Topological_Sort986100.00
2602Minimum Operations to Make All Array Elements EqualMediumArray, Sorting, Binary_Search, Prefix_Sum790100.00
2601Prime Subtraction OperationMediumArray, Math, Greedy, Binary_Search, Number_Theory233100.00
2600K Items With the Maximum SumEasyMath, Greedy145100.00
2598Smallest Missing Non-negative Integer After OperationsMediumArray, Hash_Table, Math, Greedy594100.00
2597The Number of Beautiful SubsetsMediumArray, Dynamic_Programming, Backtracking194100.00
2596Check Knight Tour ConfigurationMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Simulation179100.00
2595Number of Even and Odd BitsEasyBit_Manipulation177100.00
2594Minimum Time to Repair CarsMediumArray, Binary_Search416100.00
2593Find Score of an Array After Marking All ElementsMediumArray, Sorting, Heap_Priority_Queue, Simulation738100.00
2592Maximize Greatness of an ArrayMediumArray, Sorting, Greedy, Two_Pointers748100.00
2591Distribute Money to Maximum ChildrenEasyMath, Greedy155100.00
2589Minimum Time to Complete All TasksHardArray, Sorting, Greedy, Binary_Search, Stack422100.00
2588Count the Number of Beautiful SubarraysMediumArray, Hash_Table, Bit_Manipulation, Prefix_Sum785100.00
2587Rearrange Array to Maximize Prefix ScoreMediumArray, Sorting, Greedy, Prefix_Sum612100.00
2586Count the Number of Vowel Strings in RangeEasyArray, String195100.00
2585Number of Ways to Earn PointsHardArray, Dynamic_Programming263100.00
2584Split the Array to Make Coprime ProductsHardArray, Hash_Table, Math, Number_Theory341100.00
2583Kth Largest Sum in a Binary TreeMediumBreadth_First_Search, Tree, Binary_Search55783.33
2582Pass the PillowEasyMath, Simulation12285.71
2581Count Number of Possible Root NodesHardHash_Table, Dynamic_Programming, Depth_First_Search, Tree1352100.00
2580Count Ways to Group Overlapping RangesMediumArray, Sorting669100.00
2579Count Total Number of Colored CellsMediumMath109100.00
2578Split With Minimum SumEasyMath, Sorting, Greedy12175.00
2577Minimum Time to Visit a Cell In a GridHardArray, Breadth_First_Search, Matrix, Heap_Priority_Queue, Graph, Shortest_Path1446100.00
2576Find the Maximum Number of Marked IndicesMediumArray, Sorting, Greedy, Binary_Search, Two_Pointers610100.00
2575Find the Divisibility Array of a StringMediumArray, String, Math507100.00
2574Left and Right Sum DifferencesEasyArray, Prefix_Sum203100.00
2573Find the String with LCPHardString, Dynamic_Programming, Greedy, Union_Find853100.00
2572Count the Number of Square-Free SubsetsMediumArray, Dynamic_Programming, Math, Bit_Manipulation, Bitmask218100.00
2571Minimum Operations to Reduce an Integer to 0MediumDynamic_Programming, Greedy, Bit_Manipulation131100.00
2570Merge Two 2D Arrays by Summing ValuesEasyArray, Hash_Table, Two_Pointers22191.67
2569Handling Sum Queries After UpdateHardArray, Segment_Tree1751100.00
2568Minimum Impossible ORMediumArray, Bit_Manipulation, Brainteaser468100.00
2567Minimum Score by Changing Two ElementsMediumArray, Sorting, Greedy496100.00
2566Maximum Difference by Remapping a DigitEasyMath, Greedy125100.00
2565Subsequence With the Minimum ScoreHardString, Binary_Search, Two_Pointers204100.00
2564Substring XOR QueriesMediumArray, String, Hash_Table, Bit_Manipulation1603100.00
2563Count the Number of Fair PairsMediumArray, Sorting, Binary_Search, Two_Pointers553100.00
2562Find the Array Concatenation ValueEasyArray, Two_Pointers, Simulation175100.00
2561Rearranging FruitsHardArray, Hash_Table, Greedy746100.00
2560House Robber IVMediumArray, Binary_Search467100.00
2559Count Vowel Strings in RangesMediumArray, String, Prefix_Sum638100.00
2558Take Gifts From the Richest PileEasyArray, Heap_Priority_Queue, Simulation169100.00
2556Disconnect Path in a Binary Matrix by at Most One FlipMediumArray, Dynamic_Programming, Depth_First_Search, Breadth_First_Search, Matrix571100.00
2555Maximize Win From Two SegmentsMediumArray, Binary_Search, Sliding_Window388100.00
2554Maximum Number of Integers to Choose From a Range IMediumArray, Hash_Table, Sorting, Greedy, Binary_Search543100.00
2553Separate the Digits in an ArrayEasyArray, Simulation210100.00
2552Count Increasing QuadrupletsHardArray, Dynamic_Programming, Prefix_Sum, Enumeration, Binary_Indexed_Tree26866.67
2551Put Marbles in BagsHardArray, Sorting, Greedy, Heap_Priority_Queue818100.00
2550Count Collisions of Monkeys on a PolygonMediumMath, Recursion111100.00
2549Count Distinct Numbers on BoardEasyArray, Hash_Table, Math, Simulation113100.00
2547Minimum Cost to Split an ArrayHardArray, Hash_Table, Dynamic_Programming, Counting400100.00
2546Apply Bitwise Operations to Make Strings EqualMediumString, Bit_Manipulation246100.00
2545Sort the Students by Their Kth ScoreMediumArray, Sorting, Matrix442100.00
2544Alternating Digit SumEasyMath12260.00
2543Check if Point Is ReachableHardMath, Number_Theory134100.00
2542Maximum Subsequence ScoreMediumArray, Sorting, Greedy, Heap_Priority_Queue, LeetCode_75_Heap/Priority_Queue78081.97
2541Minimum Operations to Make Array Equal IIMediumArray, Math, Greedy521100.00
2540Minimum Common ValueEasyArray, Hash_Table, Binary_Search, Two_Pointers412100.00
2538Difference Between Maximum and Minimum Price SumHardArray, Dynamic_Programming, Depth_First_Search, Tree1054100.00
2537Count the Number of Good SubarraysMediumArray, Hash_Table, Sliding_Window553100.00
2536Increment Submatrices by OneMediumArray, Matrix, Prefix_Sum827100.00
2535Difference Between Element Sum and Digit Sum of an ArrayEasyArray, Math23166.67
2532Time to Cross a BridgeHardArray, Heap_Priority_Queue, Simulation420100.00
2531Make Number of Distinct Characters EqualMediumString, Hash_Table, Counting287100.00
2530Maximal Score After Applying K OperationsMediumArray, Greedy, Heap_Priority_Queue726100.00
2529Maximum Count of Positive Integer and Negative IntegerEasyArray, Binary_Search, Counting21583.33
2528Maximize the Minimum Powered CityHardArray, Greedy, Binary_Search, Prefix_Sum, Sliding_Window, Queue496100.00
2527Find Xor-Beauty of ArrayMediumArray, Math, Bit_Manipulation434100.00
2526Find Consecutive Integers from a Data StreamMediumHash_Table, Design, Counting, Queue, Data_Stream867100.00
2525Categorize Box According to CriteriaEasyMath119100.00
2523Closest Prime Numbers in RangeMediumMath, Number_Theory136100.00
2522Partition String Into Substrings With Values at Most KMediumString, Dynamic_Programming, Greedy174100.00
2521Distinct Prime Factors of Product of ArrayMediumArray, Hash_Table, Math, Number_Theory229100.00
2520Count the Digits That Divide a NumberEasyMath12180.95
2518Number of Great PartitionsHardArray, Dynamic_Programming164100.00
2517Maximum Tastiness of Candy BasketMediumArray, Sorting, Binary_Search54733.33
2516Take K of Each Character From Left and RightMediumString, Hash_Table, Sliding_Window189100.00
2515Shortest Distance to Target String in a Circular ArrayEasyArray, String209100.00
2514Count AnagramsHardString, Hash_Table, Math, Counting, Combinatorics236100.00
2513Minimize the Maximum of Two ArraysMediumMath, Binary_Search, Number_Theory135100.00
2512Reward Top K StudentsMediumArray, String, Hash_Table, Sorting, Heap_Priority_Queue691100.00
2511Maximum Enemy Forts That Can Be CapturedEasyArray, Two_Pointers142100.00
2509Cycle Length Queries in a TreeHardTree, Binary_Tree82575.00
2508Add Edges to Make Degrees of All Nodes EvenHardHash_Table, Graph1045100.00
2507Smallest Value After Replacing With Sum of Prime FactorsMediumMath, Number_Theory149100.00
2506Count Pairs Of Similar StringsEasyArray, String, Hash_Table208100.00
2503Maximum Number of Points From Grid QueriesHardArray, Sorting, Breadth_First_Search, Heap_Priority_Queue, Union_Find581100.00
2502Design Memory AllocatorMediumArray, Hash_Table, Design, Simulation284100.00
2501Longest Square Streak in an ArrayMediumArray, Hash_Table, Dynamic_Programming, Sorting, Binary_Search585100.00
2500Delete Greatest Value in Each RowEasyArray, Sorting, Matrix20480.00
2499Minimum Total Cost to Make Arrays UnequalHardArray, Hash_Table, Greedy, Counting628100.00
2498Frog Jump IIMediumArray, Greedy, Binary_Search482100.00
2497Maximum Star Sum of a GraphMediumArray, Sorting, Greedy, Heap_Priority_Queue, Graph773100.00
2496Maximum Value of a String in an ArrayEasyArray, String138100.00
2493Divide Nodes Into the Maximum Number of GroupsHardBreadth_First_Search, Graph, Union_Find862100.00
2492Minimum Score of a Path Between Two CitiesMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find92991.67
2491Divide Players Into Teams of Equal SkillMediumArray, Hash_Table, Sorting, Two_Pointers459100.00
2490Circular SentenceEasyString152100.00
2488Count Subarrays With Median KHardArray, Hash_Table, Prefix_Sum464100.00
2487Remove Nodes From Linked ListMediumStack, Linked_List, Monotonic_Stack, Recursion77050.00
2486Append Characters to String to Make SubsequenceMediumString, Greedy, Two_Pointers196100.00
2485Find the Pivot IntegerEasyMath, Prefix_Sum134100.00
2484Count Palindromic SubsequencesHardString, Dynamic_Programming494100.00
2483Minimum Penalty for a ShopMediumString, Prefix_Sum21066.67
2482Difference Between Ones and Zeros in Row and ColumnMediumArray, Matrix, Simulation1061100.00
2481Minimum Cuts to Divide a CircleEasyMath, Geometry12850.00
2478Number of Beautiful PartitionsHardString, Dynamic_Programming230100.00
2477Minimum Fuel Cost to Report to the CapitalMediumDepth_First_Search, Breadth_First_Search, Tree, Graph969100.00
2476Closest Nodes Queries in a Binary Search TreeMediumArray, Depth_First_Search, Tree, Binary_Search, Binary_Tree140433.33
2475Number of Unequal Triplets in ArrayEasyArray, Hash_Table143100.00
2472Maximum Number of Non-overlapping Palindrome SubstringsHardString, Dynamic_Programming183100.00
2471Minimum Number of Operations to Sort a Binary Tree by LevelMediumBreadth_First_Search, Tree, Binary_Tree789100.00
2470Number of Subarrays With LCM Equal to KMediumArray, Math, Number_Theory232100.00
2469Convert the TemperatureEasyMath130100.00
2468Split Message Based on LimitHardString, Binary_Search427100.00
2467Most Profitable Path in a TreeMediumArray, Depth_First_Search, Breadth_First_Search, Tree, Graph850100.00
2466Count Ways To Build Good StringsMediumDynamic_Programming15075.00
2465Number of Distinct AveragesEasyArray, Hash_Table, Sorting, Two_Pointers14189.47
2463Minimum Total Distance TraveledHardArray, Dynamic_Programming, Sorting153100.00
2462Total Cost to Hire K WorkersMediumArray, Two_Pointers, Heap_Priority_Queue, Simulation, LeetCode_75_Heap/Priority_Queue58881.43
2461Maximum Sum of Distinct Subarrays With Length KMediumArray, Hash_Table, Sliding_Window63862.50
2460Apply Operations to an ArrayEasyArray, Simulation165100.00
2458Height of Binary Tree After Subtree Removal QueriesHardArray, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree95180.00
2457Minimum Addition to Make Integer BeautifulMediumMath, Greedy13266.67
2456Most Popular Video CreatorMediumArray, String, Hash_Table, Sorting, Heap_Priority_Queue1162100.00
2455Average Value of Even Numbers That Are Divisible by ThreeEasyArray, Math19680.00
2454Next Greater Element IVHardArray, Sorting, Binary_Search, Stack, Heap_Priority_Queue, Monotonic_Stack749100.00
2453Destroy Sequential TargetsMediumArray, Hash_Table, Counting681100.00
2452Words Within Two Edits of DictionaryMediumArray, String256100.00
2451Odd String DifferenceEasyString, Hash_Table, Math141100.00
2449Minimum Number of Operations to Make Arrays SimilarHardArray, Sorting, Greedy791100.00
2448Minimum Cost to Make Array EqualHardArray, Sorting, Binary_Search, Prefix_Sum38780.40
2447Number of Subarrays With GCD Equal to KMediumArray, Math, Number_Theory180100.00
2446Determine if Two Events Have ConflictEasyArray, String14087.50
2444Count Subarrays With Fixed BoundsHardArray, Sliding_Window, Queue, Monotonic_Queue469100.00
2443Sum of Number and Its ReverseMediumMath, Enumeration216100.00
2442Count Number of Distinct Integers After Reverse OperationsMediumArray, Hash_Table, Math65283.33
2441Largest Positive Integer That Exists With Its NegativeEasyArray, Hash_Table26666.67
2440Create Components With Same ValueHardArray, Math, Depth_First_Search, Tree, Enumeration751100.00
2439Minimize Maximum of ArrayMediumArray, Dynamic_Programming, Greedy, Binary_Search, Prefix_Sum508100.00
2438Range Product Queries of PowersMediumArray, Bit_Manipulation, Prefix_Sum1115100.00
2437Number of Valid Clock TimesEasyString, Enumeration13364.29
2435Paths in Matrix Whose Sum Is Divisible by KHardArray, Dynamic_Programming, Matrix752100.00
2434Using a Robot to Print the Lexicographically Smallest StringMediumString, Hash_Table, Greedy, Stack319100.00
2433Find The Original Array of Prefix XorMediumArray, Bit_Manipulation61880.00
2432The Employee That Worked on the Longest TaskEasyArray250100.00
2430Maximum Deletions on a StringHardString, Dynamic_Programming, Hash_Function, String_Matching, Rolling_Hash280100.00
2429Minimize XORMediumGreedy, Bit_Manipulation117100.00
2428Maximum Sum of an HourglassMediumArray, Matrix, Prefix_Sum27450.00
2427Number of Common FactorsEasyMath, Enumeration, Number_Theory127100.00
2426Number of Pairs Satisfying InequalityHardArray, Binary_Search, Ordered_Set, Divide_and_Conquer, Segment_Tree, Binary_Indexed_Tree, Merge_Sort490100.00
2425Bitwise XOR of All PairingsMediumArray, Bit_Manipulation, Brainteaser424100.00
2424Longest Uploaded PrefixMediumBinary_Search, Design, Heap_Priority_Queue, Union_Find, Ordered_Set, Segment_Tree, Binary_Indexed_Tree897100.00
2423Remove Letter To Equalize FrequencyEasyString, Hash_Table, Counting135100.00
2421Number of Good PathsHardArray, Tree, Graph, Union_Find909100.00
2420Find All Good IndicesMediumArray, Dynamic_Programming, Prefix_Sum621100.00
2419Longest Subarray With Maximum Bitwise ANDMediumArray, Bit_Manipulation, Brainteaser487100.00
2418Sort the PeopleEasyArray, String, Hash_Table, Sorting248100.00
2416Sum of Prefix Scores of StringsHardArray, String, Counting, Trie206250.00
2415Reverse Odd Levels of Binary TreeMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree49987.50
2414Length of the Longest Alphabetical Continuous SubstringMediumString235100.00
2413Smallest Even MultipleEasyMath, Number_Theory12185.71
2412Minimum Money Required Before TransactionsHardArray, Sorting, Greedy965100.00
2411Smallest Subarrays With Maximum Bitwise ORMediumArray, Binary_Search, Bit_Manipulation, Sliding_Window562100.00
2410Maximum Matching of Players With TrainersMediumArray, Sorting, Greedy, Two_Pointers56583.33
2409Count Days Spent TogetherEasyString, Math14360.00
2407Longest Increasing Subsequence IIHardArray, Dynamic_Programming, Divide_and_Conquer, Queue, Segment_Tree, Binary_Indexed_Tree, Monotonic_Queue518100.00
2406Divide Intervals Into Minimum Number of GroupsMediumArray, Sorting, Greedy, Two_Pointers, Heap_Priority_Queue, Prefix_Sum772100.00
2405Optimal Partition of StringMediumString, Hash_Table, Greedy185100.00
2404Most Frequent Even ElementEasyArray, Hash_Table, Counting34990.91
2402Meeting Rooms IIIHardArray, Sorting, Heap_Priority_Queue976100.00
2401Longest Nice SubarrayMediumArray, Bit_Manipulation, Sliding_Window507100.00
2400Number of Ways to Reach a Position After Exactly k StepsMediumDynamic_Programming, Math, Combinatorics126100.00
2399Check Distances Between Same LettersEasyArray, String, Hash_Table17366.67
2398Maximum Number of Robots Within BudgetHardArray, Binary_Search, Heap_Priority_Queue, Prefix_Sum, Sliding_Window, Queue507100.00
2397Maximum Rows Covered by ColumnsMediumArray, Matrix, Bit_Manipulation, Backtracking, Enumeration154100.00
2396Strictly Palindromic NumberMediumMath, Two_Pointers, Brainteaser13058.06
2395Find Subarrays With Equal SumEasyArray, Hash_Table143100.00
2392Build a Matrix With ConditionsHardArray, Matrix, Graph, Topological_Sort706100.00
2391Minimum Amount of Time to Collect GarbageMediumArray, String, Prefix_Sum537100.00
2390Removing Stars From a StringMediumString, Stack, Simulation, LeetCode_75_Stack33762.92
2389Longest Subsequence With Limited SumEasyArray, Sorting, Greedy, Binary_Search, Prefix_Sum25780.00
2386Find the K-Sum of an ArrayHardArray, Sorting, Heap_Priority_Queue675100.00
2385Amount of Time for Binary Tree to Be InfectedMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree609100.00
2384Largest Palindromic NumberMediumString, Hash_Table, Greedy252100.00
2383Minimum Hours of Training to Win a CompetitionEasyArray, Greedy156100.00
2382Maximum Segment Sum After RemovalsHardArray, Prefix_Sum, Union_Find, Ordered_Set85750.00
2381Shifting Letters IIMediumArray, String, Prefix_Sum669100.00
2380Time Needed to Rearrange a Binary StringMediumString, Dynamic_Programming, Simulation149100.00
2379Minimum Recolors to Get K Consecutive Black BlocksEasyString, Sliding_Window13295.24
2376Count Special IntegersHardDynamic_Programming, Math125100.00
2375Construct Smallest Number From DI StringMediumString, Greedy, Stack, Backtracking15666.67
2374Node With Highest Edge ScoreMediumHash_Table, Graph673100.00
2373Largest Local Values in a MatrixEasyArray, Matrix264100.00
2370Longest Ideal SubsequenceMediumString, Hash_Table, Dynamic_Programming255100.00
2369Check if There is a Valid Partition For The ArrayMediumArray, Dynamic_Programming533100.00
2368Reachable Nodes With RestrictionsMediumArray, Hash_Table, Depth_First_Search, Breadth_First_Search, Tree, Graph119976.92
2367Number of Arithmetic TripletsEasyArray, Hash_Table, Two_Pointers, Enumeration14691.18
2366Minimum Replacements to Sort the ArrayHardArray, Math, Greedy4100.00
2365Task Scheduler IIMediumArray, Hash_Table, Simulation595100.00
2364Count Number of Bad PairsMediumArray, Hash_Table590100.00
2363Merge Similar ItemsEasyArray, Hash_Table, Sorting, Ordered_Set320100.00
2360Longest Cycle in a GraphHardDepth_First_Search, Graph, Topological_Sort51780.00
2359Find Closest Node to Given Two NodesMediumDepth_First_Search, Graph55240.00
2358Maximum Number of Groups Entering a CompetitionMediumArray, Math, Greedy, Binary_Search441100.00
2357Make Array Zero by Subtracting Equal AmountsEasyArray, Hash_Table, Sorting, Heap_Priority_Queue, Simulation15678.95
2356Number of Unique Subjects Taught by Each TeacherEasyDatabase83996.77
2354Number of Excellent PairsHardArray, Hash_Table, Binary_Search, Bit_Manipulation700100.00
2353Design a Food Rating SystemMediumHash_Table, Design, Heap_Priority_Queue, Ordered_Set1204100.00
2352Equal Row and Column PairsMediumArray, Hash_Table, Matrix, Simulation, LeetCode_75_Hash_Map/Set339100.00
2351First Letter to Appear TwiceEasyString, Hash_Table, Counting122100.00
2350Shortest Impossible Sequence of RollsHardArray, Hash_Table, Greedy495100.00
2349Design a Number Container SystemMediumHash_Table, Design, Heap_Priority_Queue, Ordered_Set1011100.00
2348Number of Zero-Filled SubarraysMediumArray, Math55980.00
2347Best Poker HandEasyArray, Hash_Table, Counting14633.33
2344Minimum Deletions to Make Array DivisibleHardArray, Math, Sorting, Heap_Priority_Queue, Number_Theory542100.00
2343Query Kth Smallest Trimmed NumberMediumArray, String, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, Radix_Sort382100.00
2342Max Sum of a Pair With Equal Sum of DigitsMediumArray, Hash_Table, Sorting, Heap_Priority_Queue63683.33
2341Maximum Number of Pairs in ArrayEasyArray, Hash_Table, Sorting160100.00
2338Count the Number of Ideal ArraysHardDynamic_Programming, Math, Number_Theory, Combinatorics201100.00
2337Move Pieces to Obtain a StringMediumString, Two_Pointers261100.00
2336Smallest Number in Infinite SetMediumHash_Table, Design, Heap_Priority_Queue, LeetCode_75_Heap/Priority_Queue30895.45
2335Minimum Amount of Time to Fill CupsEasyArray, Greedy, Heap_Priority_Queue140100.00
2334Subarray With Elements Greater Than Varying ThresholdHardArray, Stack, Union_Find, Monotonic_Stack889100.00
2333Minimum Sum of Squared DifferenceMediumArray, Math, Sorting, Heap_Priority_Queue502100.00
2332The Latest Time to Catch a BusMediumArray, Sorting, Binary_Search, Two_Pointers52275.00
2331Evaluate Boolean Binary TreeEasyDepth_First_Search, Tree, Binary_Search19991.67
2328Number of Increasing Paths in a GridHardArray, Dynamic_Programming, Depth_First_Search, Breadth_First_Search, Matrix, Graph, Memoization, Topological_Sort68979.53
2327Number of People Aware of a SecretMediumDynamic_Programming, Simulation, Queue121100.00
2326Spiral Matrix IVMediumArray, Matrix, Simulation, Linked_List90866.67
2325Decode the MessageEasyString, Hash_Table16996.88
2322Minimum Score After Removals on a TreeHardArray, Depth_First_Search, Tree, Bit_Manipulation412100.00
2321Maximum Score Of Spliced ArrayHardArray, Dynamic_Programming49750.00
2320Count Number of Ways to Place HousesMediumDynamic_Programming122100.00
2319Check if Matrix Is X-MatrixEasyArray, Matrix247100.00
2318Number of Distinct Roll SequencesHardDynamic_Programming, Memoization441100.00
2317Maximum XOR After OperationsMediumArray, Math, Bit_Manipulation373100.00
2316Count Unreachable Pairs of Nodes in an Undirected GraphMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find98187.50
2315Count AsterisksEasyString13794.44
2312Selling Pieces of WoodHardBacktracking396100.00
2311Longest Binary Subsequence Less Than or Equal to KMediumString, Dynamic_Programming, Greedy, Memoization140100.00
2310Sum of Numbers With Units Digit KMediumMath133100.00
2309Greatest English Letter in Upper and Lower CaseEasyArray15487.50
2306Naming a CompanyHardArray, String, Hash_Table, Bit_Manipulation, Enumeration590100.00
2305Fair Distribution of CookiesMediumArray, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask255100.00
2304Minimum Path Cost in a GridMediumArray, Dynamic_Programming, Matrix1048100.00
2303Calculate Amount Paid in TaxesEasyArray, Simulation213100.00
2302Count Subarrays With Score Less Than KHardArray, Binary_Search, Prefix_Sum, Sliding_Window556100.00
2301Match Substring After ReplacementHardArray, String, Hash_Table, String_Matching343100.00
2300Successful Pairs of Spells and PotionsMediumArray, Sorting, Binary_Search, Two_Pointers, LeetCode_75_Binary_Search81872.22
2299Strong Password Checker IIEasyString139100.00
2296Design a Text EditorHardString, Stack, Design, Simulation, Linked_List, Doubly_Linked_List1268100.00
2295Replace Elements in an ArrayMediumArray, Hash_Table, Simulation913100.00
2294Partition Array Such That Maximum Difference Is KMediumArray, Sorting, Greedy74733.33
2293Min Max GameEasyArray, Simulation183100.00
2290Minimum Obstacle Removal to Reach CornerHardArray, Breadth_First_Search, Matrix, Heap_Priority_Queue, Graph, Shortest_Path765100.00
2289Steps to Make Array Non-decreasingMediumArray, Stack, Linked_List, Monotonic_Stack50950.00
2288Apply Discount to PricesMediumString465100.00
2287Rearrange Characters to Make Target StringEasyString, Hash_Table, Counting122100.00
2286Booking Concert Tickets in GroupsHardBinary_Search, Design, Segment_Tree, Binary_Indexed_Tree1292100.00
2285Maximum Total Importance of RoadsMediumSorting, Greedy, Heap_Priority_Queue, Graph947100.00
2284Sender With Largest Word CountMediumArray, String, Hash_Table, Counting672100.00
2283Check if Number Has Equal Digit Count and Digit ValueEasyString, Hash_Table, Counting136100.00
2281Sum of Total Strength of WizardsHardArray, Stack, Prefix_Sum, Monotonic_Stack673100.00
2280Minimum Lines to Represent a Line ChartMediumArray, Math, Sorting, Geometry, Number_Theory765100.00
2279Maximum Bags With Full Capacity of RocksMediumArray, Sorting, Greedy55180.00
2278Percentage of Letter in StringEasyString122100.00
2276Count Integers in IntervalsHardDesign, Ordered_Set, Segment_Tree1256100.00
2275Largest Combination With Bitwise AND Greater Than ZeroMediumArray, Hash_Table, Bit_Manipulation, Counting426100.00
2274Maximum Consecutive Floors Without Special FloorsMediumArray, Sorting532100.00
2273Find Resultant Array After Removing AnagramsEasyArray, String, Hash_Table, Sorting20093.75
2272Substring With Largest VarianceHardArray, Dynamic_Programming338100.00
2271Maximum White Tiles Covered by a CarpetMediumArray, Sorting, Greedy, Binary_Search, Prefix_Sum692100.00
2270Number of Ways to Split ArrayMediumArray, Prefix_Sum62736.36
2269Find the K-Beauty of a NumberEasyString, Math, Sliding_Window123100.00
2267Check if There Is a Valid Parentheses String PathHardArray, Dynamic_Programming, Matrix408100.00
2266Count Number of TextsMediumString, Hash_Table, Dynamic_Programming, Math216100.00
2265Count Nodes Equal to Average of SubtreeMediumDepth_First_Search, Tree, Binary_Tree174100.00
2264Largest 3-Same-Digit Number in StringEasyString145100.00
2262Total Appeal of A StringHardString, Hash_Table, Dynamic_Programming202100.00
2261K Divisible Elements SubarraysMediumArray, Hash_Table, Trie, Enumeration, Hash_Function, Rolling_Hash263100.00
2260Minimum Consecutive Cards to Pick UpMediumArray, Hash_Table, Sliding_Window64633.33
2259Remove Digit From Number to Maximize ResultEasyString, Greedy, Enumeration137100.00
2258Escape the Spreading FireHardArray, Breadth_First_Search, Binary_Search, Matrix304100.00
2257Count Unguarded Cells in the GridMediumArray, Matrix, Simulation901100.00
2256Minimum Average DifferenceMediumArray, Prefix_Sum527100.00
2255Count Prefixes of a Given StringEasyArray, String162100.00
2251Number of Flowers in Full BloomHardArray, Hash_Table, Sorting, Binary_Search, Prefix_Sum, Ordered_Set973100.00
2250Count Number of Rectangles Containing Each PointMediumArray, Sorting, Binary_Search, Binary_Indexed_Tree967100.00
2249Count Lattice Points Inside a CircleMediumArray, Hash_Table, Math, Enumeration, Geometry204100.00
2248Intersection of Multiple ArraysEasyArray, Hash_Table, Counting197100.00
2246Longest Path With Different Adjacent CharactersHardArray, String, Depth_First_Search, Tree, Graph, Topological_Sort828100.00
2245Maximum Trailing Zeros in a Cornered PathMediumArray, Matrix, Prefix_Sum888100.00
2244Minimum Rounds to Complete All TasksMediumArray, Hash_Table, Greedy, Counting58473.68
2243Calculate Digit Sum of a StringEasyString, Simulation141100.00
2242Maximum Score of a Node SequenceHardArray, Sorting, Graph, Enumeration844100.00
2241Design an ATM MachineMediumArray, Greedy, Design764100.00
2240Number of Ways to Buy Pens and PencilsMediumMath, Enumeration143100.00
2239Find Closest Number to ZeroEasyArray24566.67
2236Root Equals Sum of ChildrenEasyTree, Binary_Tree14186.73
2235Add Two IntegersEasyMath13165.81
2234Maximum Total Beauty of the GardensHardArray, Sorting, Greedy, Binary_Search, Two_Pointers699100.00
2233Maximum Product After K IncrementsMediumArray, Greedy, Heap_Priority_Queue766100.00
2232Minimize Result by Adding Parentheses to ExpressionMediumString, Enumeration191100.00
2231Largest Number After Digit Swaps by ParityEasySorting, Heap_Priority_Queue124100.00
2227Encrypt and Decrypt StringsHardArray, String, Hash_Table, Design, Trie48375.00
2226Maximum Candies Allocated to K ChildrenMediumArray, Binary_Search54466.67
2225Find Players With Zero or One LossesMediumArray, Hash_Table, Sorting, Counting132365.79
2224Minimum Number of Operations to Convert TimeEasyString, Greedy15566.67
2223Sum of Scores of Built StringsHardString, Binary_Search, Hash_Function, String_Matching, Rolling_Hash, Suffix_Array264100.00
2222Number of Ways to Select BuildingsMediumString, Dynamic_Programming, Prefix_Sum261100.00
2221Find Triangular Sum of an ArrayMediumArray, Math, Simulation, Combinatorics257100.00
2220Minimum Bit Flips to Convert NumberEasyBit_Manipulation13170.59
2218Maximum Value of K Coins From PilesHardArray, Dynamic_Programming, Prefix_Sum313100.00
2217Find Palindrome With Fixed LengthMediumArray, Math541100.00
2216Minimum Deletions to Make Array BeautifulMediumArray, Greedy, Stack56766.67
2215Find the Difference of Two ArraysEasyArray, Hash_Table, LeetCode_75_Hash_Map/Set35298.63
2213Longest Substring of One Repeating CharacterHardArray, String, Ordered_Set, Segment_Tree73100.00
2212Maximum Points in an Archery CompetitionMediumArray, Bit_Manipulation, Recursion, Enumeration210100.00
2211Count Collisions on a RoadMediumString, Stack325100.00
2210Count Hills and Valleys in an ArrayEasyArray15380.00
2209Minimum White Tiles After Covering With CarpetsHardString, Dynamic_Programming, Prefix_Sum373100.00
2208Minimum Operations to Halve Array SumMediumArray, Greedy, Heap_Priority_Queue62833.33
2207Maximize Number of Subsequences in a StringMediumString, Greedy, Prefix_Sum295100.00
2206Divide Array Into Equal PairsEasyArray, Hash_Table, Bit_Manipulation, Counting22171.43
2203Minimum Weighted Subgraph With the Required PathsHardGraph, Shortest_Path1126100.00
2202Maximize the Topmost Element After K MovesMediumArray, Greedy49150.00
2201Count Artifacts That Can Be ExtractedMediumArray, Hash_Table, Simulation1011100.00
2200Find All K-Distant Indices in an ArrayEasyArray200100.00
2197Replace Non-Coprime Numbers in ArrayHardArray, Math, Stack, Number_Theory917100.00
2196Create Binary Tree From DescriptionsMediumArray, Hash_Table, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree933100.00
2195Append K Integers With Minimal SumMediumArray, Math, Sorting, Greedy542100.00
2194Cells in a Range on an Excel SheetEasyString176100.00
2193Minimum Number of Moves to Make PalindromeHardString, Greedy, Two_Pointers, Binary_Indexed_Tree176100.00
2192All Ancestors of a Node in a Directed Acyclic GraphMediumDepth_First_Search, Breadth_First_Search, Graph, Topological_Sort841100.00
2191Sort the Jumbled NumbersMediumArray, Sorting821100.00
2190Most Frequent Number Following Key In an ArrayEasyArray, Hash_Table, Counting188100.00
2188Minimum Time to Finish the RaceHardArray, Dynamic_Programming1220100.00
2187Minimum Time to Complete TripsMediumArray, Binary_Search66090.91
2186Minimum Number of Steps to Make Two Strings Anagram IIMediumString, Hash_Table, Counting304100.00
2185Counting Words With a Given PrefixEasyArray, String172100.00
2183Count Array Pairs Divisible by KHardArray, Math, Number_Theory756100.00
2182Construct String With Repeat LimitMediumString, Greedy, Heap_Priority_Queue, Counting311100.00
2181Merge Nodes in Between ZerosMediumSimulation, Linked_List794100.00
2180Count Integers With Even Digit SumEasyMath, Simulation126100.00
2179Count Good Triplets in an ArrayHardArray, Binary_Search, Ordered_Set, Divide_and_Conquer, Segment_Tree, Binary_Indexed_Tree, Merge_Sort563100.00
2178Maximum Split of Positive Even IntegersMediumMath, Greedy48655.56
2177Find Three Consecutive Integers That Sum to a Given NumberMediumMath, Simulation160100.00
2176Count Equal and Divisible Pairs in an ArrayEasyArray17969.23
2172Maximum AND Sum of ArrayHardArray, Dynamic_Programming, Bit_Manipulation, Bitmask165100.00
2171Removing Minimum Number of Magic BeansMediumArray, Sorting, Prefix_Sum728100.00
2170Minimum Operations to Make the Array AlternatingMediumArray, Hash_Table, Greedy, Counting531100.00
2169Count Operations to Obtain ZeroEasyMath, Simulation12777.78
2167Minimum Time to Remove All Cars Containing Illegal GoodsHardString, Dynamic_Programming312100.00
2166Design BitsetMediumArray, Hash_Table, Design1036100.00
2165Smallest Value of the Rearranged NumberMediumMath, Sorting129100.00
2164Sort Even and Odd Indices IndependentlyEasyArray, Sorting200100.00
2163Minimum Difference in Sums After Removal of ElementsHardArray, Dynamic_Programming, Heap_Priority_Queue854100.00
2162Minimum Cost to Set Cooking TimeMediumMath, Enumeration134100.00
2161Partition Array According to Given PivotMediumArray, Two_Pointers, Simulation85946.15
2160Minimum Sum of Four Digit Number After Splitting DigitsEasyMath, Sorting, Greedy13388.24
2157Groups of StringsHardString, Bit_Manipulation, Union_Find930100.00
2156Find Substring With Given Hash ValueHardString, Sliding_Window, Hash_Function, Rolling_Hash248100.00
2155All Divisions With the Highest Score of a Binary ArrayMediumArray1171100.00
2154Keep Multiplying Found Values by TwoEasyArray, Hash_Table, Sorting, Simulation18385.71
2151Maximum Good People Based on StatementsHardArray, Bit_Manipulation, Backtracking, Enumeration308100.00
2150Find All Lonely Numbers in the ArrayMediumArray, Hash_Table, Counting104550.00
2149Rearrange Array Elements by SignMediumArray, Two_Pointers, Simulation87342.86
2148Count Elements With Strictly Smaller and Greater ElementsEasyArray, Sorting14883.33
2147Number of Ways to Divide a Long CorridorHardString, Dynamic_Programming, Math361100.00
2146K Highest Ranked Items Within a Price RangeMediumArray, Sorting, Breadth_First_Search, Matrix, Heap_Priority_Queue1373100.00
2145Count the Hidden SequencesMediumArray, Prefix_Sum641100.00
2144Minimum Cost of Buying Candies With DiscountEasyArray, Sorting, Greedy16975.00
2141Maximum Running Time of N ComputersHardArray, Sorting, Greedychch
2140Solving Questions With BrainpowerMediumArray, Dynamic_Programming75366.97
2139Minimum Moves to Reach Target ScoreMediumMath, Greedy123100.00
2138Divide a String Into Groups of Size kEasyString, Simulation17375.00
2136Earliest Possible Day of Full BloomHardArray, Sorting, Greedy968100.00
2135Count Words Obtained After Adding a LetterMediumArray, String, Hash_Table, Sorting, Bit_Manipulation556100.00
2134Minimum Swaps to Group All 1’s Together IIMediumArray, Sliding_Window46533.33
2133Check if Every Row and Column Contains All NumbersEasyArray, Hash_Table, Matrix404100.00
2132Stamping the GridHardArray, Greedy, Matrix, Prefix_Sum1158100.00
2131Longest Palindrome by Concatenating Two Letter WordsMediumArray, String, Hash_Table, Greedy, Counting, Level_2_Day_5_Greedy60790.00
2130Maximum Twin Sum of a Linked ListMediumTwo_Pointers, Stack, Linked_List, LeetCode_75_LinkedList45893.88
2129Capitalize the TitleEasyString140100.00
2127Maximum Employees to Be Invited to a MeetingHardDepth_First_Search, Graph, Topological_Sort572100.00
2126Destroying AsteroidsMediumArray, Sorting, Greedy560100.00
2125Number of Laser Beams in a BankMediumArray, String, Math, Matrix297100.00
2124Check if All A’s Appears Before All B’sEasyString13687.50
2122Recover the Original ArrayHardArray, Hash_Table, Sorting, Enumeration299100.00
2121Intervals Between Identical ElementsMediumArray, Hash_Table, Prefix_Sum1022100.00
2120Execution of All Suffix Instructions Staying in a GridMediumString, Simulation215100.00
2119A Number After a Double ReversalEasyMath12789.47
2117Abbreviating the Product of a RangeHardMath232100.00
2116Check if a Parentheses String Can Be ValidMediumString, Greedy, Stack31542.86
2115Find All Possible Recipes from Given SuppliesMediumArray, String, Hash_Table, Graph, Topological_Sort514100.00
2114Maximum Number of Words Found in SentencesEasyArray, String18388.64
2111Minimum Operations to Make the Array K-IncreasingHardArray, Binary_Search558100.00
2110Number of Smooth Descent Periods of a StockMediumArray, Dynamic_Programming, Math582100.00
2109Adding Spaces to a StringMediumArray, String, Simulation624100.00
2108Find First Palindromic String in the ArrayEasyArray, String, Two_Pointers242100.00
2106Maximum Fruits Harvested After at Most K StepsHardArray, Binary_Search, Prefix_Sum, Sliding_Window816100.00
2105Watering Plants IIMediumArray, Two_Pointers, Simulation53150.00
2104Sum of Subarray RangesMediumArray, Stack, Monotonic_Stack212100.00
2103Rings and RodsEasyString, Hash_Table13189.47
2102Sequentially Ordinal Rank TrackerHardDesign, Heap_Priority_Queue, Ordered_Set, Data_Stream1208100.00
2101Detonate the Maximum BombsMediumArray, Math, Depth_First_Search, Breadth_First_Search, Graph, Geometry26298.96
2100Find Good Days to Rob the BankMediumArray, Dynamic_Programming, Prefix_Sum695100.00
2099Find Subsequence of Length K With the Largest SumEasyArray, Hash_Table, Sorting, Heap_Priority_Queue203100.00
2097Valid Arrangement of PairsHardDepth_First_Search, Graph, Eulerian_Circuit2120100.00
2096Step-By-Step Directions From a Binary Tree Node to AnotherMediumString, Depth_First_Search, Tree, Binary_Tree69093.33
2095Delete the Middle Node of a Linked ListMediumTwo_Pointers, Linked_List, LeetCode_75_LinkedList111550.00
2094Finding 3-Digit Even NumbersEasyArray, Hash_Table, Sorting, Enumeration181100.00
2092Find All People With SecretHardSorting, Depth_First_Search, Breadth_First_Search, Graph, Union_Find1086100.00
2091Removing Minimum and Maximum From ArrayMediumArray, Greedy607100.00
2090K Radius Subarray AveragesMediumArray, Sliding_Window87485.63
2089Find Target Indices After Sorting ArrayEasyArray, Sorting, Binary_Search18090.48
2088Count Fertile Pyramids in a LandHardArray, Dynamic_Programming, Matrix489100.00
2087Minimum Cost Homecoming of a Robot in a GridMediumArray, Greedy, Matrix672100.00
2086Minimum Number of Buckets Required to Collect Rainwater from HousesMediumString, Dynamic_Programming, Greedy208100.00
2085Count Common Words With One OccurrenceEasyArray, String, Hash_Table, Counting192100.00
2081Sum of k-Mirror NumbersHardMath, Enumeration455100.00
2080Range Frequency QueriesMediumArray, Hash_Table, Binary_Search, Design, Segment_Tree1102100.00
2079Watering PlantsMediumArray157100.00
2078Two Furthest Houses With Different ColorsEasyArray, Greedy131100.00
2076Process Restricted Friend RequestsHardGraph, Union_Find355100.00
2075Decode the Slanted CiphertextMediumString, Simulation418100.00
2074Reverse Nodes in Even Length GroupsMediumLinked_List119750.00
2073Time Needed to Buy TicketsEasyArray, Simulation, Queue145100.00
2071Maximum Number of Tasks You Can AssignHardArray, Sorting, Greedy, Binary_Search, Queue, Monotonic_Queue747100.00
2070Most Beautiful Item for Each QueryMediumArray, Sorting, Binary_Search747100.00
2069Walking Robot Simulation IIMediumDesign, Simulation636100.00
2068Check Whether Two Strings are Almost EquivalentEasyString, Hash_Table, Counting131100.00
2065Maximum Path Quality of a GraphHardArray, Graph, Backtracking429100.00
2064Minimized Maximum of Products Distributed to Any StoreMediumArray, Binary_Search609100.00
2063Vowels of All SubstringsMediumString, Dynamic_Programming, Math, Combinatorics206100.00
2062Count Vowel Substrings of a StringEasyString, Hash_Table21660.00
2060Check if an Original String Exists Given Two Encoded StringsHardString, Dynamic_Programming1219100.00
2059Minimum Operations to Convert NumberMediumArray, Breadth_First_Search28566.67
2058Find the Minimum and Maximum Number of Nodes Between Critical PointsMediumLinked_List60250.00
2057Smallest Index With Equal ValueEasyArray178100.00
2056Number of Valid Move Combinations On ChessboardHardArray, String, Simulation, Backtracking600100.00
2055Plates Between CandlesMediumArray, String, Binary_Search, Prefix_Sum831100.00
2054Two Best Non-Overlapping EventsMediumArray, Dynamic_Programming, Sorting, Binary_Search, Heap_Priority_Queue851100.00
2053Kth Distinct String in an ArrayEasyArray, String, Hash_Table, Counting18190.00
2050Parallel Courses IIIHardDynamic_Programming, Graph, Topological_Sort974100.00
2049Count Nodes With the Highest ScoreMediumArray, Depth_First_Search, Tree, Binary_Tree483100.00
2048Next Greater Numerically Balanced NumberMediumMath, Backtracking, Enumeration138100.00
2047Number of Valid Words in a SentenceEasyString202100.00
2045Second Minimum Time to Reach DestinationHardBreadth_First_Search, Graph, Shortest_Path862100.00
2044Count Number of Maximum Bitwise-OR SubsetsMediumArray, Bit_Manipulation, Backtracking140100.00
2043Simple Bank SystemMediumArray, Hash_Table, Design, Simulation968100.00
2042Check if Numbers Are Ascending in a SentenceEasyString16164.29
2040Kth Smallest Product of Two Sorted ArraysHardArray, Binary_Search1001100.00
2039The Time When the Network Becomes IdleMediumArray, Breadth_First_Search, Graph1197100.00
2038Remove Colored Pieces if Both Neighbors are the Same ColorMediumString, Math, Greedy, Game_Theory21674.36
2037Minimum Number of Moves to Seat EveryoneEasyArray, Sorting18980.00
2035Partition Array Into Two Arrays to Minimize Sum DifferenceHardArray, Dynamic_Programming, Binary_Search, Two_Pointers, Bit_Manipulation, Ordered_Set, Bitmask1318100.00
2034Stock Price FluctuationMediumHash_Table, Design, Heap_Priority_Queue, Ordered_Set, Data_Stream985100.00
2033Minimum Operations to Make a Uni-Value GridMediumArray, Math, Sorting, Matrix744100.00
2032Two Out of ThreeEasyArray, Hash_Table25183.33
2030Smallest K-Length Subsequence With Occurrences of a LetterHardString, Greedy, Stack, Monotonic_Stack501100.00
2029Stone Game IXMediumArray, Math, Greedy, Counting, Game_Theory574100.00
2028Find Missing ObservationsMediumArray, Math, Simulation65433.33
2027Minimum Moves to Convert StringEasyString, Greedy142100.00
2025Maximum Number of Ways to Partition an ArrayHardArray, Hash_Table, Prefix_Sum, Counting, Enumeration1163100.00
2024Maximize the Confusion of an ExamMediumString, Binary_Search, Prefix_Sum, Sliding_Window22383.33
2023Number of Pairs of Strings With Concatenation Equal to TargetMediumArray, String22840.00
2022Convert 1D Array Into 2D ArrayEasyArray, Matrix, Simulation631100.00
2019The Score of Students Solving Math ExpressionHardArray, String, Dynamic_Programming, Math, Stack, Memoization1497100.00
2018Check if Word Can Be Placed In CrosswordMediumArray, Matrix, Enumeration698100.00
2017Grid GameMediumArray, Matrix, Prefix_Sum57887.50
2016Maximum Difference Between Increasing ElementsEasyArray140100.00
2014Longest Subsequence Repeated k TimesHardString, Greedy, Backtracking, Counting, Enumeration333100.00
2013Detect SquaresMediumArray, Hash_Table, Design, Counting511100.00
2012Sum of Beauty in the ArrayMediumArray511100.00
2011Final Value of Variable After Performing OperationsEasyArray, String, Simulation17844.55
2009Minimum Number of Operations to Make Array ContinuousHardArray, Binary_Search603100.00
2008Maximum Earnings From TaxiMediumArray, Dynamic_Programming, Sorting, Binary_Search1008100.00
2007Find Original Array From Doubled ArrayMediumArray, Hash_Table, Sorting, Greedy753100.00
2006Count Number of Pairs With Absolute Difference KEasyArray, Hash_Table, Counting186100.00
2003Smallest Missing Genetic Value in Each SubtreeHardDynamic_Programming, Depth_First_Search, Tree, Union_Find984100.00
2002Maximum Product of the Length of Two Palindromic SubsequencesMediumString, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask389100.00
2001Number of Pairs of Interchangeable RectanglesMediumArray, Hash_Table, Math, Counting, Number_Theory797100.00
2000Reverse Prefix of WordEasyString, Two_Pointers16431.25
1998GCD Sort of an ArrayHardArray, Math, Sorting, Union_Find437100.00
1997First Day Where You Have Been in All the RoomsMediumArray, Dynamic_Programming572100.00
1996The Number of Weak Characters in the GameMediumArray, Sorting, Greedy, Stack, Monotonic_Stack1234100.00
1995Count Special QuadrupletsEasyArray, Enumeration146100.00
1994The Number of Good SubsetsHardArray, Dynamic_Programming, Math, Bit_Manipulation, Bitmask737100.00
1993Operations on TreeMediumHash_Table, Depth_First_Search, Breadth_First_Search, Tree, Design1117100.00
1992Find All Groups of FarmlandMediumArray, Depth_First_Search, Breadth_First_Search, Matrix768100.00
1991Find the Middle Index in ArrayEasyArray, Prefix_Sum142100.00
1987Number of Unique Good SubsequencesHardString, Dynamic_Programming248100.00
1986Minimum Number of Work Sessions to Finish the TasksMediumArray, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask153100.00
1985Find the Kth Largest Integer in the ArrayMediumArray, String, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect397100.00
1984Minimum Difference Between Highest and Lowest of K ScoresEasyArray, Sorting, Sliding_Window22783.33
1982Find Array Given Subset SumsHardArray, Divide_and_Conquer640100.00
1981Minimize the Difference Between Target and Chosen ElementsMediumArray, Dynamic_Programming, Matrix588100.00
1980Find Unique Binary StringMediumArray, String, Backtracking18650.00
1979Find Greatest Common Divisor of ArrayEasyArray, Math, Number_Theory172100.00
1978Employees Whose Manager Left the CompanyEasyDatabase68664.74
1977Number of Ways to Separate NumbersHardString, Dynamic_Programming, Suffix_Array199100.00
1976Number of Ways to Arrive at DestinationMediumDynamic_Programming, Graph, Topological_Sort, Shortest_Path282100.00
1975Maximum Matrix SumMediumArray, Greedy, Matrix535100.00
1974Minimum Time to Type Word Using Special TypewriterEasyString, Greedy13971.43
1971Find if Path Exists in GraphEasyDepth_First_Search, Breadth_First_Search, Graph94986.89
1970Last Day Where You Can Still CrossHardArray, Depth_First_Search, Breadth_First_Search, Binary_Search, Matrix, Union_Find703100.00
1969Minimum Non-Zero Product of the Array ElementsMediumMath, Greedy, Recursion131100.00
1968Array With Elements Not Equal to Average of NeighborsMediumArray, Sorting, Greedy97383.33
1967Number of Strings That Appear as Substrings in WordEasyString157100.00
1965Employees With Missing InformationEasyDatabase, SQL_I_Day_4_Union_and_Select94988.66
1964Find the Longest Valid Obstacle Course at Each PositionHardArray, Binary_Search, Binary_Indexed_Tree84640.00
1963Minimum Number of Swaps to Make the String BalancedMediumString, Greedy, Two_Pointers, Stack29153.85
1962Remove Stones to Minimize the TotalMediumArray, Heap_Priority_Queue88868.42
1961Check If String Is a Prefix of ArrayEasyArray, String162100.00
1960Maximum Product of the Length of Two Palindromic SubstringsHardString, Hash_Function, Rolling_Hash247100.00
1959Minimum Total Space Wasted With K Resizing OperationsMediumArray, Dynamic_Programming225100.00
1958Check if Move is LegalMediumArray, Matrix, Enumeration169100.00
1957Delete Characters to Make Fancy StringEasyString37750.00
1955Count Number of Special SubsequencesHardArray, Dynamic_Programming620100.00
1954Minimum Garden Perimeter to Collect Enough ApplesMediumMath, Binary_Search132100.00
1953Maximum Number of Weeks for Which You Can WorkMediumArray, Greedy461100.00
1952Three DivisorsEasyMath14133.33
1948Delete Duplicate Folders in SystemHardArray, String, Hash_Table, Trie, Hash_Function1420100.00
1947Maximum Compatibility Score SumMediumArray, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask179100.00
1946Largest Number After Mutating SubstringMediumArray, String, Greedy346100.00
1945Sum of Digits of String After ConvertEasyString, Simulation14675.00
1944Number of Visible People in a QueueHardArray, Stack, Monotonic_Stack60590.00
1943Describe the PaintingMediumArray, Prefix_Sum951100.00
1942The Number of the Smallest Unoccupied ChairMediumArray, Heap_Priority_Queue, Ordered_Set549100.00
1941Check if All Characters Have Equal Number of OccurrencesEasyString, Hash_Table, Counting16778.57
1938Maximum Genetic Difference QueryHardArray, Bit_Manipulation, Trie855100.00
1937Maximum Number of Points with CostMediumArray, Dynamic_Programming886100.00
1936Add Minimum Number of RungsMediumArray, Greedy405100.00
1935Maximum Number of Words You Can TypeEasyString, Hash_Table17837.50
1934Confirmation RateMediumDatabase160235.78
1932Merge BSTs to Create Single BSTHardHash_Table, Depth_First_Search, Tree, Binary_Search, Binary_Tree1146100.00
1931Painting a Grid With Three Different ColorsHardDynamic_Programming135100.00
1930Unique Length-3 Palindromic SubsequencesMediumString, Hash_Table, Prefix_Sum273100.00
1929Concatenation of ArrayEasyArray22094.47
1928Minimum Cost to Reach Destination in TimeHardDynamic_Programming, Graph414100.00
1927Sum GameMediumMath, Greedy, Game_Theory211100.00
1926Nearest Exit from Entrance in MazeMediumArray, Breadth_First_Search, Matrix, LeetCode_75_Graphs/BFS, Graph_Theory_I_Day_6_Matrix_Related_Problems35194.44
1925Count Square Sum TriplesEasyMath, Enumeration16140.00
1923Longest Common SubpathHardArray, Binary_Search, Hash_Function, Rolling_Hash, Suffix_Array1142100.00
1922Count Good NumbersMediumMath, Recursion135100.00
1921Eliminate Maximum Number of MonstersMediumArray, Sorting, Greedy507100.00
1920Build Array from PermutationEasyArray, Simulation25281.25
1916Count Ways to Build Rooms in an Ant ColonyHardDynamic_Programming, Math, Tree, Graph, Topological_Sort, Combinatorics2564100.00
1915Number of Wonderful SubstringsMediumString, Hash_Table, Bit_Manipulation, Prefix_Sum267100.00
1914Cyclically Rotating a GridMediumArray, Matrix, Simulation282100.00
1913Maximum Product Difference Between Two PairsEasyArray, Sorting261100.00
1912Design Movie Rental SystemHardArray, Hash_Table, Design, Heap_Priority_Queue, Ordered_Set3005100.00
1911Maximum Alternating Subsequence SumMediumArray, Dynamic_Programming531100.00
1910Remove All Occurrences of a SubstringMediumString177100.00
1909Remove One Element to Make the Array Strictly IncreasingEasyArray17650.00
1907Count Salary CategoriesMediumDatabase228389.29
1906Minimum Absolute Difference QueriesMediumArray, Hash_Table106950.00
1905Count Sub IslandsMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Graph_Theory_I_Day_3_Matrix_Related_Problems866100.00
1904The Number of Full Rounds You Have PlayedMediumString, Math149100.00
1903Largest Odd Number in StringEasyString, Math, Greedy25675.00
1901Find a Peak Element IIMediumArray, Binary_Search, Matrix, Divide_and_Conquer, Binary_Search_II_Day_17726100.00
1900The Earliest and Latest Rounds Where Players CompeteHardDynamic_Programming, Memoization142100.00
1899Merge Triplets to Form Target TripletMediumArray, Greedy95471.43
1898Maximum Number of Removable CharactersMediumArray, String, Binary_Search, Binary_Search_II_Day_6636100.00
1897Redistribute Characters to Make All Strings EqualEasyString, Hash_Table, Counting179100.00
1896Minimum Cost to Change the Final Value of ExpressionHardString, Dynamic_Programming, Math, Stack252100.00
1895Largest Magic SquareMediumArray, Matrix, Prefix_Sum202100.00
1894Find the Student that Will Replace the ChalkMediumArray, Binary_Search, Simulation, Prefix_Sum, Binary_Search_II_Day_252050.00
1893Check if All the Integers in a Range Are CoveredEasyArray, Hash_Table, Prefix_Sum140100.00
1890The Latest Login in 2020EasyDatabase, SQL_I_Day_8_Function128043.62
1889Minimum Space Wasted From PackagingHardArray, Sorting, Binary_Search, Prefix_Sum910100.00
1888Minimum Number of Flips to Make the Binary String AlternatingMediumString, Greedy25987.50
1887Reduction Operations to Make the Array Elements EqualMediumArray, Sorting457100.00
1886Determine Whether Matrix Can Be Obtained By RotationEasyArray, Matrix, Programming_Skills_II_Day_714785.71
1884Egg Drop With 2 Eggs and N FloorsMediumDynamic_Programming, Math130100.00
1883Minimum Skips to Arrive at Meeting On TimeHardArray, Dynamic_Programming278100.00
1882Process Tasks Using ServersMediumArray, Heap_Priority_Queue1085100.00
1881Maximum Value after InsertionMediumString, Greedy362100.00
1880Check if Word Equals Summation of Two WordsEasyString13980.00
1879Minimum XOR Sum of Two ArraysHardArray, Dynamic_Programming, Bit_Manipulation, Bitmask173100.00
1878Get Biggest Three Rhombus Sums in a GridMediumArray, Math, Sorting, Matrix, Heap_Priority_Queue, Prefix_Sum326100.00
1877Minimize Maximum Pair Sum in ArrayMediumArray, Sorting, Greedy, Two_Pointers66850.00
1876Substrings of Size Three with Distinct CharactersEasyString, Hash_Table, Counting, Sliding_Window14491.67
1873Calculate Special BonusEasyDatabase, SQL_I_Day_2_Select_and_Order132133.12
1872Stone Game VIIIHardArray, Dynamic_Programming, Math, Prefix_Sum, Game_Theory569100.00
1871Jump Game VIIMediumString, Two_Pointers, Prefix_Sum247100.00
1870Minimum Speed to Arrive on TimeMediumArray, Binary_Search, Binary_Search_II_Day_662850.00
1869Longer Contiguous Segments of Ones than ZerosEasyString118100.00
1866Number of Ways to Rearrange Sticks With K Sticks VisibleHardDynamic_Programming, Math, Combinatorics188100.00
1865Finding Pairs With a Certain SumMediumArray, Hash_Table, Design1050100.00
1864Minimum Number of Swaps to Make the Binary String AlternatingMediumString, Greedy140100.00
1863Sum of All Subset XOR TotalsEasyArray, Math, Bit_Manipulation, Backtracking, Combinatorics12880.00
1862Sum of Floored PairsHardArray, Math, Binary_Search, Prefix_Sum710100.00
1861Rotating the BoxMediumArray, Matrix, Two_Pointers88260.00
1860Incremental Memory LeakMediumSimulation161100.00
1859Sorting the SentenceEasyString, Sorting15589.29
1857Largest Color Value in a Directed GraphHardHash_Table, Dynamic_Programming, Graph, Counting, Memoization, Topological_Sort100560.00
1856Maximum Subarray Min-ProductMediumArray, Stack, Prefix_Sum, Monotonic_Stack51766.67
1855Maximum Distance Between a Pair of ValuesMediumArray, Greedy, Binary_Search, Two_Pointers, Binary_Search_I_Day_11458100.00
1854Maximum Population YearEasyArray, Counting14890.00
1851Minimum Interval to Include Each QueryHardArray, Sorting, Binary_Search, Heap_Priority_Queue, Line_Sweep161287.50
1850Minimum Adjacent Swaps to Reach the Kth Smallest NumberMediumString, Greedy, Two_Pointers193100.00
1849Splitting a String Into Descending Consecutive ValuesMediumString, Backtracking136100.00
1848Minimum Distance to the Target ElementEasyArray17280.00
1847Closest RoomHardArray, Sorting, Binary_Search1179100.00
1846Maximum Element After Decreasing and RearrangingMediumArray, Sorting, Greedy412100.00
1845Seat Reservation ManagerMediumDesign, Heap_Priority_Queue, Programming_Skills_II_Day_17834100.00
1844Replace All Digits with CharactersEasyString137100.00
1840Maximum Building HeightHardArray, Math1210100.00
1839Longest Substring Of All Vowels in OrderMediumString, Sliding_Window29080.00
1838Frequency of the Most Frequent ElementMediumArray, Sorting, Greedy, Binary_Search, Prefix_Sum, Sliding_Window, Binary_Search_II_Day_956488.89
1837Sum of Digits in Base KEasyMath120100.00
1835Find XOR Sum of All Pairs Bitwise ANDHardArray, Math, Bit_Manipulation604100.00
1834Single-Threaded CPUMediumArray, Sorting, Heap_Priority_Queue1050100.00
1833Maximum Ice Cream BarsMediumArray, Sorting, Greedy439100.00
1832Check if the Sentence Is PangramEasyString, Hash_Table12798.00
1830Minimum Number of Operations to Make String SortedHardString, Math, Combinatorics226100.00
1829Maximum XOR for Each QueryMediumArray, Bit_Manipulation, Prefix_Sum680100.00
1828Queries on Number of Points Inside a CircleMediumArray, Math, Geometry284100.00
1827Minimum Operations to Make the Array IncreasingEasyArray, Greedy208100.00
1825Finding MK AverageHardDesign, Heap_Priority_Queue, Ordered_Set, Queue69100.00
1824Minimum Sideway JumpsMediumArray, Dynamic_Programming, Greedy726100.00
1823Find the Winner of the Circular GameMediumArray, Math, Simulation, Recursion, Queue, Data_Structure_II_Day_14_Stack_Queue11987.50
1822Sign of the Product of an ArrayEasyArray, Math, Programming_Skills_I_Day_4_Loop17092.51
1819Number of Different Subsequences GCDsHardArray, Math, Counting, Number_Theory624100.00
1818Minimum Absolute Sum DifferenceMediumArray, Sorting, Binary_Search, Ordered_Set, Binary_Search_II_Day_7447100.00
1817Finding the Users Active MinutesMediumArray, Hash_Table652100.00
1816Truncate SentenceEasyArray, String14794.74
1815Maximum Number of Groups Getting Fresh DonutsHardArray, Dynamic_Programming, Bit_Manipulation, Bitmask, Memoization1073100.00
1814Count Nice Pairs in an ArrayMediumArray, Hash_Table, Math, Counting520100.00
1813Sentence Similarity IIIMediumArray, String, Two_Pointers162100.00
1812Determine Color of a Chessboard SquareEasyString, Math12792.86
1808Maximize Number of Nice DivisorsHardMath, Recursion135100.00
1807Evaluate the Bracket Pairs of a StringMediumArray, String, Hash_Table689100.00
1806Minimum Number of Operations to Reinitialize a PermutationMediumArray, Math, Simulation117100.00
1805Number of Different Integers in a StringEasyString, Hash_Table162100.00
1803Count Pairs With XOR in a RangeHardArray, Bit_Manipulation, Trie427100.00
1802Maximum Value at a Given Index in a Bounded ArrayMediumGreedy, Binary_Search, Binary_Search_II_Day_17118100.00
1801Number of Orders in the BacklogMediumArray, Heap_Priority_Queue, Simulation668100.00
1800Maximum Ascending Subarray SumEasyArray139100.00
1799Maximize Score After N OperationsHardArray, Dynamic_Programming, Math, Bit_Manipulation, Backtracking, Bitmask, Number_Theory34773.17
1798Maximum Number of Consecutive Values You Can MakeMediumArray, Greedy414100.00
1797Design Authentication ManagerMediumHash_Table, Design, Programming_Skills_II_Day_19334100.00
1796Second Largest Digit in a StringEasyString, Hash_Table148100.00
1795Rearrange Products TableEasyDatabase, SQL_I_Day_4_Union_and_Select102767.57
1793Maximum Score of a Good SubarrayHardArray, Binary_Search, Two_Pointers, Stack, Monotonic_Stack568100.00
1792Maximum Average Pass RatioMediumArray, Greedy, Heap_Priority_Queue111175.00
1791Find Center of Star GraphEasyGraph47691.67
1790Check if One String Swap Can Make Strings EqualEasyString, Hash_Table, Counting, Programming_Skills_I_Day_4_Loop138100.00
1789Primary Department for Each EmployeeEasyDatabase112274.47
1787Make the XOR of All Segments Equal to ZeroHardArray, Dynamic_Programming, Bit_Manipulation374100.00
1786Number of Restricted Paths From First to Last NodeMediumDynamic_Programming, Heap_Priority_Queue, Graph, Topological_Sort, Shortest_Path977100.00
1785Minimum Elements to Add to Form a Given SumMediumArray, Greedy595100.00
1784Check if Binary String Has at Most One Segment of OnesEasyString13585.71
1782Count Pairs Of NodesHardBinary_Search, Two_Pointers, Graph1441100.00
1781Sum of Beauty of All SubstringsMediumString, Hash_Table, Counting172100.00
1780Check if Number is a Sum of Powers of ThreeMediumMath13366.67
1779Find Nearest Point That Has the Same X or Y CoordinateEasyArray, Programming_Skills_I_Day_3_Conditional_Statements364100.00
1776Car Fleet IIHardArray, Math, Stack, Heap_Priority_Queue, Monotonic_Stack2049100.00
1775Equal Sum Arrays With Minimum Number of OperationsMediumArray, Hash_Table, Greedy, Counting529100.00
1774Closest Dessert CostMediumArray, Dynamic_Programming, Backtracking147100.00
1773Count Items Matching a RuleEasyArray, String22797.50
1771Maximize Palindrome Length From SubsequencesHardString, Dynamic_Programming248100.00
1770Maximum Score from Performing Multiplication OperationsHardArray, Dynamic_Programming43691.67
1769Minimum Number of Operations to Move All Balls to Each BoxMediumArray, String21775.00
1768Merge Strings AlternatelyEasyString, Two_Pointers, LeetCode_75_Array/String, Programming_Skills_I_Day_8_String13893.81
1766Tree of CoprimesHardMath, Depth_First_Search, Breadth_First_Search, Tree991100.00
1765Map of Highest PeakMediumArray, Breadth_First_Search, Matrix1087100.00
1764Form Array by Concatenating Subarrays of Another ArrayMediumArray, Greedy, String_Matching206100.00
1763Longest Nice SubstringEasyString, Hash_Table, Bit_Manipulation, Sliding_Window15891.67
1761Minimum Degree of a Connected Trio in a GraphHardGraph59050.00
1760Minimum Limit of Balls in a BagMediumArray, Binary_Search, Binary_Search_II_Day_3460100.00
1759Count Number of Homogenous SubstringsMediumString, Math230100.00
1758Minimum Changes To Make Alternating Binary StringEasyString153100.00
1757Recyclable and Low Fat ProductsEasyDatabase, SQL_I_Day_1_Select123734.20
1755Closest Subsequence SumHardArray, Dynamic_Programming, Two_Pointers, Bit_Manipulation, Bitmask620100.00
1754Largest Merge Of Two StringsMediumString, Greedy, Two_Pointers217100.00
1753Maximum Score From Removing StonesMediumMath, Greedy, Heap_Priority_Queue141100.00
1752Check if Array Is Sorted and RotatedEasyArray13385.71
1751Maximum Number of Events That Can Be Attended IIHardArray, Dynamic_Programming, Binary_Search608100.00
1750Minimum Length of String After Deleting Similar EndsMediumString, Two_Pointers215100.00
1749Maximum Absolute Sum of Any SubarrayMediumArray, Dynamic_Programming367100.00
1748Sum of Unique ElementsEasyArray, Hash_Table, Counting14382.35
1745Palindrome Partitioning IVHardString, Dynamic_Programming179100.00
1744Can You Eat Your Favorite Candy on Your Favorite Day?MediumArray, Prefix_Sum809100.00
1743Restore the Array From Adjacent PairsMediumArray, Hash_Table1018100.00
1742Maximum Number of Balls in a BoxEasyHash_Table, Math, Counting125100.00
1741Find Total Time Spent by Each EmployeeEasyDatabase, SQL_I_Day_8_Function110151.40
1739Building BoxesHardMath, Greedy, Binary_Search133100.00
1738Find Kth Largest XOR Coordinate ValueMediumArray, Matrix, Bit_Manipulation, Heap_Priority_Queue, Prefix_Sum, Divide_and_Conquer, Quickselect936100.00
1737Change Minimum Characters to Satisfy One of Three ConditionsMediumString, Hash_Table, Prefix_Sum, Counting240100.00
1736Latest Time by Replacing Hidden DigitsEasyString, Greedy161100.00
1735Count Ways to Make Array With ProductHardArray, Dynamic_Programming, Math394100.00
1734Decode XORed PermutationMediumArray, Bit_Manipulation684100.00
1733Minimum Number of People to TeachMediumArray, Greedy580100.00
1732Find the Highest AltitudeEasyArray, Prefix_Sum, LeetCode_75_Prefix_Sum13990.70
1731The Number of Employees Which Report to Each EmployeeEasyDatabase138539.02
1729Find Followers CountEasyDatabase, SQL_I_Day_7_Function122838.04
1728Cat and Mouse IIHardArray, Dynamic_Programming, Math, Matrix, Graph, Memoization, Topological_Sort, Game_Theory193100.00
1727Largest Submatrix With RearrangementsMediumArray, Sorting, Greedy, Matrix650100.00
1726Tuple with Same ProductMediumArray, Hash_Table762100.00
1725Number Of Rectangles That Can Form The Largest SquareEasyArray244100.00
1723Find Minimum Time to Finish All JobsHardArray, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask167100.00
1722Minimize Hamming Distance After Swap OperationsMediumArray, Depth_First_Search, Union_Find843100.00
1721Swapping Nodes in a Linked ListMediumTwo_Pointers, Linked_List72691.30
1720Decode XORed ArrayEasyArray, Bit_Manipulation30495.00
1719Number Of Ways To Reconstruct A TreeHardTree, Graph, Topological_Sort1015100.00
1718Construct the Lexicographically Largest Valid SequenceMediumArray, Backtracking140100.00
1717Maximum Score From Removing SubstringsMediumString, Greedy, Stack265100.00
1716Calculate Money in Leetcode BankEasyMath11966.67
1713Minimum Operations to Make a SubsequenceHardArray, Hash_Table, Greedy, Binary_Search862100.00
1712Ways to Split Array Into Three SubarraysMediumArray, Binary_Search, Two_Pointers, Prefix_Sum, Binary_Search_II_Day_10486100.00
1711Count Good MealsMediumArray, Hash_Table549100.00
1710Maximum Units on a TruckEasyArray, Sorting, Greedy228100.00
1707Maximum XOR With an Element From ArrayHardArray, Bit_Manipulation, Trie1295100.00
1706Where Will the Ball FallMediumArray, Dynamic_Programming, Depth_First_Search, Matrix, Simulation, Level_2_Day_1_Implementation/Simulation27067.86
1705Maximum Number of Eaten ApplesMediumArray, Greedy, Heap_Priority_Queue428100.00
1704Determine if String Halves Are AlikeEasyString, Counting16283.33
1703Minimum Adjacent Swaps for K Consecutive OnesHardArray, Greedy, Prefix_Sum, Sliding_Window518100.00
1702Maximum Binary String After ChangeMediumString, Greedy343100.00
1701Average Waiting TimeMediumArray, Simulation654100.00
1700Number of Students Unable to Eat LunchEasyArray, Stack, Simulation, Queue143100.00
1697Checking Existence of Edge Length Limited PathsHardArray, Sorting, Graph, Union_Find141172.90
1696Jump Game VIMediumArray, Dynamic_Programming, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue497100.00
1695Maximum Erasure ValueMediumArray, Hash_Table, Sliding_Window478100.00
1694Reformat Phone NumberEasyString142100.00
1693Daily Leads and PartnersEasyDatabase, SQL_I_Day_7_Function111552.84
1691Maximum Height by Stacking CuboidsHardArray, Dynamic_Programming, Sorting187100.00
1690Stone Game VIIMediumArray, Dynamic_Programming, Math, Game_Theory196100.00
1689Partitioning Into Minimum Number Of Deci-Binary NumbersMediumString, Greedy22684.44
1688Count of Matches in TournamentEasyMath, Simulation12483.33
1687Delivering Boxes from Storage to PortsHardArray, Dynamic_Programming, Heap_Priority_Queue, Queue, Segment_Tree, Monotonic_Queue778100.00
1686Stone Game VIMediumArray, Math, Sorting, Greedy, Heap_Priority_Queue, Game_Theory702100.00
1685Sum of Absolute Differences in a Sorted ArrayMediumArray, Math, Prefix_Sum612100.00
1684Count the Number of Consistent StringsEasyArray, String, Hash_Table, Bit_Manipulation234100.00
1683Invalid TweetsEasyDatabase126353.93
1681Minimum IncompatibilityHardArray, Dynamic_Programming, Bit_Manipulation, Bitmask162100.00
1680Concatenation of Consecutive Binary NumbersMediumMath, Bit_Manipulation, Simulation175100.00
1679Max Number of K-Sum PairsMediumArray, Hash_Table, Sorting, Two_Pointers, LeetCode_75_Two_Pointers46892.86
1678Goal Parser InterpretationEasyString, Programming_Skills_I_Day_8_String13688.24
1675Minimize Deviation in ArrayHardArray, Greedy, Heap_Priority_Queue, Ordered_Set769100.00
1674Minimum Moves to Make Array ComplementaryMediumArray, Hash_Table, Prefix_Sum522100.00
1673Find the Most Competitive SubsequenceMediumArray, Greedy, Stack, Monotonic_Stack741100.00
1672Richest Customer WealthEasyArray, Matrix, Programming_Skills_I_Day_6_Array15594.54
1671Minimum Number of Removals to Make Mountain ArrayHardArray, Dynamic_Programming, Greedy, Binary_Search264100.00
1670Design Front Middle Back QueueMediumArray, Design, Linked_List, Queue, Data_Stream267100.00
1669Merge In Between Linked ListsMediumLinked_List53166.67
1668Maximum Repeating SubstringEasyString, String_Matching170100.00
1667Fix Names in a TableEasyDatabase, SQL_I_Day_3_String_Processing_Functions119661.40
1665Minimum Initial Energy to Finish TasksHardArray, Sorting, Greedy823100.00
1664Ways to Make a Fair ArrayMediumArray, Dynamic_Programming475100.00
1663Smallest String With A Given Numeric ValueMediumString, Greedy202100.00
1662Check If Two String Arrays are EquivalentEasyArray, String14486.84
1661Average Time of Process per MachineEasyDatabase42971.35
1659Maximize Grid HappinessHardDynamic_Programming, Bit_Manipulation, Bitmask, Memoization44100.00
1658Minimum Operations to Reduce X to ZeroMediumArray, Hash_Table, Binary_Search, Prefix_Sum, Sliding_Window53250.00
1657Determine if Two Strings Are CloseMediumString, Hash_Table, Sorting, LeetCode_75_Hash_Map/Set287100.00
1656Design an Ordered StreamEasyArray, Hash_Table, Design, Data_Stream48791.67
1655Distribute Repeating IntegersHardArray, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask445100.00
1654Minimum Jumps to Reach HomeMediumArray, Dynamic_Programming, Breadth_First_Search, Graph_Theory_I_Day_11_Breadth_First_Search192100.00
1653Minimum Deletions to Make String BalancedMediumString, Dynamic_Programming, Stack291100.00
1652Defuse the BombEasyArray160100.00
1649Create Sorted Array through InstructionsHardArray, Binary_Search, Ordered_Set, Divide_and_Conquer, Segment_Tree, Binary_Indexed_Tree, Merge_Sort571100.00
1648Sell Diminishing-Valued Colored BallsMediumArray, Math, Sorting, Greedy, Binary_Search, Heap_Priority_Queue, Binary_Search_II_Day_19509100.00
1647Minimum Deletions to Make Character Frequencies UniqueMediumString, Sorting, Greedy252100.00
1646Get Maximum in Generated ArrayEasyArray, Dynamic_Programming, Simulation142100.00
1643Kth Smallest InstructionsHardArray, Dynamic_Programming, Math, Combinatorics171100.00
1642Furthest Building You Can ReachMediumArray, Greedy, Heap_Priority_Queue45771.43
1641Count Sorted Vowel StringsMediumDynamic_Programming14142.86
1640Check Array Formation Through ConcatenationEasyArray, Hash_Table154100.00
1639Number of Ways to Form a Target String Given a DictionaryHardArray, String, Dynamic_Programming408100.00
1638Count Substrings That Differ by One CharacterMediumString, Hash_Table, Dynamic_Programming143100.00
1637Widest Vertical Area Between Two Points Containing No PointsEasyArray, Sorting616100.00
1636Sort Array by Increasing FrequencyEasyArray, Hash_Table, Sorting22295.65
1633Percentage of Users Attended a ContestEasyDatabase155693.74
1632Rank Transform of a MatrixHardArray, Greedy, Matrix, Graph, Union_Find, Topological_Sort807100.00
1631Path With Minimum EffortMediumArray, Depth_First_Search, Breadth_First_Search, Binary_Search, Matrix, Heap_Priority_Queue, Union_Find384100.00
1630Arithmetic SubarraysMediumArray, Sorting, Programming_Skills_II_Day_9264100.00
1629Slowest KeyEasyArray, String20075.00
1627Graph Connectivity With ThresholdHardArray, Math, Union_Find703100.00
1626Best Team With No ConflictsMediumArray, Dynamic_Programming, Sorting370100.00
1625Lexicographically Smallest String After Applying OperationsMediumString, Breadth_First_Search415100.00
1624Largest Substring Between Two Equal CharactersEasyString, Hash_Table132100.00
1622Fancy SequenceHardMath, Design, Segment_Tree1050100.00
1621Number of Sets of K Non-Overlapping Line SegmentsMediumDynamic_Programming, Math147100.00
1620Coordinate With Maximum Network QualityMediumArray, Enumeration233100.00
1619Mean of Array After Removing Some ElementsEasyArray, Sorting178100.00
1617Count Subtrees With Max Distance Between CitiesHardDynamic_Programming, Tree, Bit_Manipulation, Bitmask, Enumeration297100.00
1616Split Two Strings to Make PalindromeMediumString, Greedy, Two_Pointers277100.00
1615Maximal Network RankMediumGraph, Graph_Theory_I_Day_14_Graph_Theory282100.00
1614Maximum Nesting Depth of the ParenthesesEasyString, Stack13081.25
1611Minimum One Bit Operations to Make Integers ZeroHardDynamic_Programming, Bit_Manipulation, Memoization127100.00
1610Maximum Number of Visible PointsHardArray, Math, Sorting, Sliding_Window, Geometry1343100.00
1609Even Odd TreeMediumBreadth_First_Search, Tree, Binary_Tree497100.00
1608Special Array With X Elements Greater Than or Equal XEasyArray, Sorting, Binary_Search, Binary_Search_I_Day_714781.82
1606Find Servers That Handled Most Number of RequestsHardArray, Greedy, Heap_Priority_Queue, Ordered_Set97333.33
1605Find Valid Matrix Given Row and Column SumsMediumArray, Greedy, Matrix574100.00
1604Alert Using Same Key-Card Three or More Times in a One Hour PeriodMediumArray, String, Hash_Table, Sorting70483.33
1603Design Parking SystemEasyDesign, Simulation, Counting, Programming_Skills_I_Day_12_Class_and_Object37631.83
1601Maximum Number of Achievable Transfer RequestsHardArray, Bit_Manipulation, Backtracking, Enumeration206100.00
1600Throne InheritanceMediumHash_Table, Depth_First_Search, Tree, Design1847100.00
1599Maximum Profit of Operating a Centennial WheelMediumArray, Simulation593100.00
1598Crawler Log FolderEasyArray, String, Stack15092.31
1595Minimum Cost to Connect Two Groups of PointsHardArray, Dynamic_Programming, Matrix, Bit_Manipulation, Bitmask278100.00
1594Maximum Non Negative Product in a MatrixMediumArray, Dynamic_Programming, Matrix224100.00
1593Split a String Into the Max Number of Unique SubstringsMediumString, Hash_Table, Backtracking161100.00
1592Rearrange Spaces Between WordsEasyString18275.00
1591Strange Printer IIHardArray, Matrix, Graph, Topological_Sort321100.00
1590Make Sum Divisible by PMediumArray, Hash_Table, Prefix_Sum464100.00
1589Maximum Sum Obtained of Any PermutationMediumArray, Sorting, Greedy, Prefix_Sum86766.67
1588Sum of All Odd Length SubarraysEasyArray, Math, Prefix_Sum, Programming_Skills_I_Day_6_Array15764.00
1587Bank Account Summary IIEasyDatabase, SQL_I_Day_10_Where158252.96
1585Check If String Is Transformable With Substring Sort OperationsHardString, Sorting, Greedy271100.00
1584Min Cost to Connect All PointsMediumArray, Union_Find, Minimum_Spanning_Tree33195.12
1583Count Unhappy FriendsMediumArray, Simulation324100.00
1582Special Positions in a Binary MatrixEasyArray, Matrix21260.00
1581Customer Who Visited but Did Not Make Any TransactionsEasyDatabase, SQL_I_Day_5_Union277154.68
1579Remove Max Number of Edges to Keep Graph Fully TraversableHardGraph, Union_Find94232.52
1578Minimum Time to Make Rope ColorfulMediumArray, String, Dynamic_Programming, Greedy577100.00
1577Number of Ways Where Square of Number Is Equal to Product of Two NumbersMediumArray, Hash_Table, Math, Two_Pointers209100.00
1576Replace All ?’s to Avoid Consecutive Repeating CharactersEasyString18037.50
1575Count All Possible RoutesHardArray, Dynamic_Programming, Memoization246100.00
1574Shortest Subarray to be Removed to Make Array SortedMediumArray, Binary_Search, Two_Pointers, Stack, Monotonic_Stack, Binary_Search_II_Day_1447750.00
1573Number of Ways to Split a StringMediumString, Math247100.00
1572Matrix Diagonal SumEasyArray, Matrix, Programming_Skills_I_Day_7_Array, Udemy_2D_Arrays/Matrix22167.61
1569Number of Ways to Reorder Array to Get Same BSTHardArray, Dynamic_Programming, Math, Tree, Binary_Tree, Union_Find, Binary_Search_Tree, Divide_and_Conquer, Memoization, Combinatorics256100.00
1568Minimum Number of Days to Disconnect IslandHardArray, Depth_First_Search, Breadth_First_Search, Matrix, Strongly_Connected_Component210100.00
1567Maximum Length of Subarray With Positive ProductMediumArray, Dynamic_Programming, Greedy, Dynamic_Programming_I_Day_646833.33
1566Detect Pattern of Length M Repeated K or More TimesEasyArray, Enumeration16833.33
1563Stone Game VHardArray, Dynamic_Programming, Math, Game_Theory371100.00
1562Find Latest Group of Size MMediumArray, Binary_Search, Simulation, Binary_Search_II_Day_19534100.00
1561Maximum Number of Coins You Can GetMediumArray, Math, Sorting, Greedy, Game_Theory51550.00
1560Most Visited Sector in a Circular TrackEasyArray, Simulation230100.00
1559Detect Cycles in 2D GridMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find87133.33
1558Minimum Numbers of Function Calls to Make Target ArrayMediumArray, Greedy34750.00
1557Minimum Number of Vertices to Reach All NodesMediumGraph, Data_Structure_II_Day_19_Graph, Graph_Theory_I_Day_13_Graph_Theory79299.29
1556Thousand SeparatorEasyString131100.00
1553Minimum Number of Days to Eat N OrangesHardDynamic_Programming, Memoization153100.00
1552Magnetic Force Between Two BallsMediumArray, Sorting, Binary_Search, Binary_Search_II_Day_4636100.00
1551Minimum Operations to Make Array EqualMediumMath119100.00
1550Three Consecutive OddsEasyArray15490.00
1547Minimum Cost to Cut a StickHardArray, Dynamic_Programming18792.00
1546Maximum Number of Non-Overlapping Subarrays With Sum Equals TargetMediumArray, Hash_Table, Greedy, Prefix_Sum560100.00
1545Find Kth Bit in Nth Binary StringMediumString, Recursion141100.00
1544Make The String GreatEasyString, Stack16492.16
1542Find Longest Awesome SubstringHardString, Hash_Table, Bit_Manipulation239100.00
1541Minimum Insertions to Balance a Parentheses StringMediumString, Greedy, Stack24080.00
1540Can Convert String in K MovesMediumString, Hash_Table27275.00
1539Kth Missing Positive NumberEasyArray, Binary_Search, Binary_Search_I_Day_6153100.00
1537Get the Maximum ScoreHardArray, Dynamic_Programming, Greedy, Two_Pointers453100.00
1536Minimum Swaps to Arrange a Binary GridMediumArray, Greedy, Matrix336100.00
1535Find the Winner of an Array GameMediumArray, Simulation460100.00
1534Count Good TripletsEasyArray, Enumeration17566.67
1531String Compression IIHardString, Dynamic_Programming207100.00
1530Number of Good Leaf Nodes PairsMediumDepth_First_Search, Tree, Binary_Tree242100.00
1529Minimum Suffix FlipsMediumString, Greedy200100.00
1528Shuffle StringEasyArray, String18089.23
1527Patients With a ConditionEasyDatabase, SQL_I_Day_3_String_Processing_Functions70848.23
1526Minimum Number of Increments on Subarrays to Form a Target ArrayHardArray, Dynamic_Programming, Greedy, Stack, Monotonic_Stack466100.00
1525Number of Good Ways to Split a StringMediumString, Dynamic_Programming, Bit_Manipulation238100.00
1524Number of Sub-arrays With Odd SumMediumArray, Dynamic_Programming, Math, Prefix_Sum584100.00
1523Count Odd Numbers in an Interval RangeEasyMath, Programming_Skills_I_Day_1_Basic_Data_Type11497.22
1521Find a Value of a Mysterious Function Closest to TargetHardArray, Binary_Search, Bit_Manipulation, Segment_Tree446100.00
1520Maximum Number of Non-Overlapping SubstringsHardString, Greedy333100.00
1519Number of Nodes in the Sub-Tree With the Same LabelMediumHash_Table, Depth_First_Search, Breadth_First_Search, Tree, Counting113087.50
1518Water BottlesEasyMath, Simulation116100.00
1517Find Users With Valid E-MailsEasyDatabase127877.30
1515Best Position for a Service CentreHardMath, Geometry, Randomized183100.00
1514Path with Maximum ProbabilityMediumHeap_Priority_Queue, Graph, Shortest_Path681100.00
1513Number of Substrings With Only 1sMediumString, Math171100.00
1512Number of Good PairsEasyArray, Hash_Table, Math, Counting13870.65
1510Stone Game IVHardDynamic_Programming, Math, Game_Theory137100.00
1509Minimum Difference Between Largest and Smallest Value in Three MovesMediumArray, Sorting, Greedy415100.00
1508Range Sum of Sorted Subarray SumsMediumArray, Sorting, Binary_Search, Two_Pointers, Binary_Search_II_Day_1437866.67
1507Reformat DateEasyString147100.00
1505Minimum Possible Integer After at Most K Adjacent Swaps On DigitsHardString, Greedy, Segment_Tree, Binary_Indexed_Tree226100.00
1504Count Submatrices With All OnesMediumArray, Dynamic_Programming, Matrix, Stack, Monotonic_Stack26580.00
1503Last Moment Before All Ants Fall Out of a PlankMediumArray, Simulation, Brainteaser253100.00
1502Can Make Arithmetic Progression From SequenceEasyArray, Sorting, Programming_Skills_I_Day_4_Loop15694.82
1499Max Value of EquationHardArray, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue708100.00
1498Number of Subsequences That Satisfy the Given Sum ConditionMediumArray, Sorting, Binary_Search, Two_Pointers, Binary_Search_II_Day_1548797.89
1497Check If Array Pairs Are Divisible by kMediumArray, Hash_Table, Counting57583.33
1496Path CrossingEasyString, Hash_Table120100.00
1494Parallel Courses IIHardDynamic_Programming, Bit_Manipulation, Graph, Bitmask381100.00
1493Longest Subarray of 1’s After Deleting One ElementMediumDynamic_Programming, Math, Sliding_Window, LeetCode_75_Sliding_Window28873.85
1492The kth Factor of nMediumMath13365.12
1491Average Salary Excluding the Minimum and Maximum SalaryEasyArray, Sorting, Programming_Skills_I_Day_1_Basic_Data_Type13791.67
1489Find Critical and Pseudo-Critical Edges in Minimum Spanning TreeHardSorting, Graph, Union_Find, Minimum_Spanning_Tree, Strongly_Connected_Component342100.00
1488Avoid Flood in The CityMediumArray, Hash_Table, Greedy, Binary_Search, Heap_Priority_Queue, Binary_Search_II_Day_1882366.67
1487Making File Names UniqueMediumArray, String, Hash_Table55350.00
1486XOR Operation in an ArrayEasyMath, Bit_Manipulation12381.25
1484Group Sold Products By The DateEasyLeetCode_Curated_SQL_70, Database, SQL_I_Day_3_String_Processing_Functions89940.76
1483Kth Ancestor of a Tree NodeHardDynamic_Programming, Depth_First_Search, Breadth_First_Search, Tree, Binary_Search, Design956100.00
1482Minimum Number of Days to Make m BouquetsMediumArray, Binary_Search, Binary_Search_II_Day_753850.00
1481Least Number of Unique Integers after K RemovalsMediumArray, Hash_Table, Sorting, Greedy, Counting56476.19
1480Running Sum of 1d ArrayEasyArray, Prefix_Sum, Level_1_Day_1_Prefix_Sum16184.80
1478Allocate MailboxesHardArray, Dynamic_Programming, Math, Sorting226100.00
1477Find Two Non-overlapping Sub-arrays Each With Target SumMediumArray, Hash_Table, Dynamic_Programming, Binary_Search, Sliding_Window746100.00
1476Subrectangle QueriesMediumArray, Matrix, Design33281.82
1475Final Prices With a Special Discount in a ShopEasyArray, Stack, Monotonic_Stack18294.12
1473Paint House IIIHardArray, Dynamic_Programming235100.00
1472Design Browser HistoryMediumArray, Stack, Design, Linked_List, Data_Stream, Doubly_Linked_List57642.42
1471The k Strongest Values in an ArrayMediumArray, Sorting, Two_Pointers780100.00
1470Shuffle the ArrayEasyArray22041.96
1467Probability of a Two Boxes Having The Same Number of Distinct BallsHardDynamic_Programming, Math, Backtracking, Combinatorics, Probability_and_Statistics150100.00
1466Reorder Routes to Make All Paths Lead to the City ZeroMediumDepth_First_Search, Breadth_First_Search, Graph, LeetCode_75_Graphs/DFS, Graph_Theory_I_Day_10_Standard_Traversal718100.00
1465Maximum Area of a Piece of Cake After Horizontal and Vertical CutsMediumArray, Sorting, Greedy41850.00
1464Maximum Product of Two Elements in an ArrayEasyArray, Sorting, Heap_Priority_Queue19064.71
1463Cherry Pickup IIHardArray, Dynamic_Programming, Matrix198100.00
1462Course Schedule IVMediumDepth_First_Search, Breadth_First_Search, Graph, Topological_Sort512100.00
1461Check If a String Contains All Binary Codes of Size KMediumString, Hash_Table, Bit_Manipulation, Hash_Function, Rolling_Hash482100.00
1460Make Two Arrays Equal by Reversing Sub-arraysEasyArray, Hash_Table, Sorting23166.67
1458Max Dot Product of Two SubsequencesHardArray, Dynamic_Programming215100.00
1457Pseudo-Palindromic Paths in a Binary TreeMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Bit_Manipulation58350.00
1456Maximum Number of Vowels in a Substring of Given LengthMediumString, Sliding_Window, LeetCode_75_Sliding_Window21597.25
1455Check If a Word Occurs As a Prefix of Any Word in a SentenceEasyString, String_Matching15542.86
1453Maximum Number of Darts Inside of a Circular DartboardHardArray, Math, Geometry211100.00
1452People Whose List of Favorite Companies Is Not a Subset of Another ListMediumArray, String, Hash_Table600100.00
1451Rearrange Words in a SentenceMediumString, Sorting263100.00
1450Number of Students Doing Homework at a Given TimeEasyArray14488.89
1449Form Largest Integer With Digits That Add up to TargetHardArray, Dynamic_Programming201100.00
1448Count Good Nodes in Binary TreeMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS38468.52
1447Simplified FractionsMediumString, Math, Number_Theory338100.00
1446Consecutive CharactersEasyString141100.00
1444Number of Ways of Cutting a PizzaHardArray, Dynamic_Programming, Matrix, Memoization17575.00
1443Minimum Time to Collect All Apples in a TreeMediumHash_Table, Depth_First_Search, Breadth_First_Search, Tree79385.71
1442Count Triplets That Can Form Two Arrays of Equal XORMediumArray, Hash_Table, Math, Bit_Manipulation, Prefix_Sum145100.00
1441Build an Array With Stack OperationsMediumArray, Stack, Simulation160100.00
1439Find the Kth Smallest Sum of a Matrix With Sorted RowsHardArray, Binary_Search, Matrix, Heap_Priority_Queue225100.00
1438Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMediumArray, Heap_Priority_Queue, Sliding_Window, Ordered_Set, Queue, Monotonic_Queue47975.00
1437Check If All 1’s Are at Least Length K Places AwayEasyArray34566.67
1436Destination CityEasyString, Hash_Table17477.78
1434Number of Ways to Wear Different Hats to Each OtherHardArray, Dynamic_Programming, Bit_Manipulation, Bitmask206100.00
1433Check If a String Can Break Another StringMediumString, Sorting, Greedy221100.00
1432Max Difference You Can Get From Changing an IntegerMediumMath, Greedy147100.00
1431Kids With the Greatest Number of CandiesEasyArray, LeetCode_75_Array/String15299.61
1425Constrained Subsequence SumHardArray, Dynamic_Programming, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue64933.33
1424Diagonal Traverse IIMediumArray, Sorting, Heap_Priority_Queue706100.00
1423Maximum Points You Can Obtain from CardsMediumArray, Prefix_Sum, Sliding_Window34978.57
1422Maximum Score After Splitting a StringEasyString145100.00
1420Build Array Where You Can Find The Maximum Exactly K ComparisonsHardDynamic_Programming153100.00
1419Minimum Number of Frogs CroakingMediumString, Counting21090.91
1418Display Table of Food Orders in a RestaurantMediumArray, String, Hash_Table, Sorting, Ordered_Set710100.00
1417Reformat The StringEasyString174100.00
1416Restore The ArrayHardString, Dynamic_Programming27951.85
1415The k-th Lexicographical String of All Happy Strings of Length nMediumString, Backtracking160100.00
1414Find the Minimum Number of Fibonacci Numbers Whose Sum Is KMediumGreedy165100.00
1413Minimum Value to Get Positive Step by Step SumEasyArray, Prefix_Sum12797.22
1411Number of Ways to Paint N × 3 GridHardDynamic_Programming201100.00
1410HTML Entity ParserMediumString, Hash_Table334100.00
1409Queries on a Permutation With KeyMediumArray, Simulation, Binary_Indexed_Tree209100.00
1408String Matching in an ArrayEasyString, String_Matching19477.78
1407Top TravellersEasyLeetCode_Curated_SQL_70, Database, SQL_I_Day_9_Control_of_Flow139498.43
1406Stone Game IIIHardArray, Dynamic_Programming, Math, Game_Theory69990.70
1405Longest Happy StringMediumString, Greedy, Heap_Priority_Queue119100.00
1404Number of Steps to Reduce a Number in Binary Representation to OneMediumString, Bit_Manipulation144100.00
1403Minimum Subsequence in Non-Increasing OrderEasyArray, Sorting, Greedy190100.00
1402Reducing DishesHardArray, Dynamic_Programming, Sorting, Greedy151100.00
1401Circle and Rectangle OverlappingMediumMath, Geometry116100.00
1400Construct K Palindrome StringsMediumString, Hash_Table, Greedy, Counting20490.00
1399Count Largest GroupEasyHash_Table, Math136100.00
1397Find All Good StringsHardString, Dynamic_Programming, String_Matching273100.00
1396Design Underground SystemMediumString, Hash_Table, Design70399.29
1395Count Number of TeamsMediumArray, Dynamic_Programming, Binary_Indexed_Tree192100.00
1394Find Lucky Integer in an ArrayEasyArray, Hash_Table, Counting161100.00
1393Capital Gain/LossMediumLeetCode_Curated_SQL_70, Database, SQL_I_Day_9_Control_of_Flow99047.36
1392Longest Happy PrefixHardString, Hash_Function, String_Matching, Rolling_Hash7100.00
1391Check if There is a Valid Path in a GridMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find636100.00
1390Four DivisorsMediumArray, Math255100.00
1389Create Target Array in the Given OrderEasyArray, Simulation15591.67
1388Pizza With 3n SlicesHardArray, Dynamic_Programming, Greedy, Heap_Priority_Queue170100.00
1387Sort Integers by The Power ValueMediumDynamic_Programming, Sorting, Memoization370100.00
1386Cinema Seat AllocationMediumArray, Hash_Table, Greedy, Bit_Manipulation397100.00
1385Find the Distance Value Between Two ArraysEasyArray, Sorting, Binary_Search, Two_Pointers, Binary_Search_I_Day_319084.62
1383Maximum Performance of a TeamHardArray, Sorting, Greedy, Heap_Priority_Queue427100.00
1382Balance a Binary Search TreeMediumDepth_First_Search, Greedy, Tree, Binary_Tree, Binary_Search_Tree, Divide_and_Conquer36985.71
1381Design a Stack With Increment OperationMediumArray, Stack, Design267100.00
1380Lucky Numbers in a MatrixEasyArray, Matrix22389.29
1379Find a Corresponding Node of a Binary Tree in a Clone of That TreeEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree1100.00
1378Replace Employee ID With The Unique IdentifierEasyDatabase245254.86
1377Frog Position After T SecondsHardDepth_First_Search, Breadth_First_Search, Tree, Graph221100.00
1376Time Needed to Inform All EmployeesMediumDepth_First_Search, Breadth_First_Search, Tree, Programming_Skills_II_Day_11, Graph_Theory_I_Day_9_Standard_Traversal91537.62
1375Number of Times Binary String Is Prefix-AlignedMediumArray327100.00
1374Generate a String With Characters That Have Odd CountsEasyString130100.00
1373Maximum Sum BST in Binary TreeHardDynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree451100.00
1372Longest ZigZag Path in a Binary TreeMediumDynamic_Programming, Depth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS38166.11
1371Find the Longest Substring Containing Vowels in Even CountsMediumString, Hash_Table, Bit_Manipulation, Prefix_Sum317100.00
1370Increasing Decreasing StringEasyString, Hash_Table, Counting18933.33
1368Minimum Cost to Make at Least One Valid Path in a GridHardArray, Breadth_First_Search, Matrix, Heap_Priority_Queue, Graph, Shortest_Path220100.00
1367Linked List in Binary TreeMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Linked_List, Programming_Skills_II_Day_423792.86
1366Rank Teams by VotesMediumArray, String, Hash_Table, Sorting, Counting179100.00
1365How Many Numbers Are Smaller Than the Current NumberEasyArray, Hash_Table, Sorting, Counting19393.33
1363Largest Multiple of ThreeHardArray, Dynamic_Programming, Greedy267100.00
1362Closest DivisorsMediumMath167100.00
1361Validate Binary Tree NodesMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Graph, Union_Find31683.33
1360Number of Days Between Two DatesEasyString, Math166100.00
1359Count All Valid Pickup and Delivery OptionsHardDynamic_Programming, Math, Combinatorics121100.00
1358Number of Substrings Containing All Three CharactersMediumString, Hash_Table, Sliding_Window196100.00
1357Apply Discount Every n OrdersMediumArray, Hash_Table, Design967100.00
1356Sort Integers by The Number of 1 BitsEasyArray, Sorting, Bit_Manipulation, Counting, Programming_Skills_I_Day_11_Containers_and_Libraries23692.31
1354Construct Target Array With Multiple SumsHardArray, Heap_Priority_Queue289100.00
1353Maximum Number of Events That Can Be AttendedMediumArray, Greedy, Heap_Priority_Queue728100.00
1352Product of the Last K NumbersMediumArray, Math, Design, Queue, Data_Stream563100.00
1351Count Negative Numbers in a Sorted MatrixEasyArray, Binary_Search, Matrix, Binary_Search_I_Day_820671.43
1349Maximum Students Taking ExamHardArray, Dynamic_Programming, Matrix, Bit_Manipulation, Bitmask173100.00
1348Tweet Counts Per FrequencyMediumHash_Table, Sorting, Binary_Search, Design, Ordered_Set701100.00
1347Minimum Number of Steps to Make Two Strings AnagramMediumString, Hash_Table, Counting25067.35
1346Check If N and Its Double ExistEasyArray, Hash_Table, Sorting, Binary_Search, Two_Pointers, Binary_Search_I_Day_917570.83
1345Jump Game IVHardArray, Hash_Table, Breadth_First_Search599100.00
1344Angle Between Hands of a ClockMediumMath11883.33
1343Number of Sub-arrays of Size K and Average Greater than or Equal to ThresholdMediumArray, Sliding_Window39484.62
1342Number of Steps to Reduce a Number to ZeroEasyMath, Bit_Manipulation12483.18
1341Movie RatingMediumDatabase284348.31
1340Jump Game VHardArray, Dynamic_Programming, Sorting208100.00
1339Maximum Product of Splitted Binary TreeMediumDepth_First_Search, Tree, Binary_Tree384100.00
1338Reduce Array Size to The HalfMediumArray, Hash_Table, Sorting, Greedy, Heap_Priority_Queue57971.43
1337The K Weakest Rows in a MatrixEasyArray, Sorting, Binary_Search, Matrix, Heap_Priority_Queue, Binary_Search_I_Day_921677.59
1335Minimum Difficulty of a Job ScheduleHardArray, Dynamic_Programming154100.00
1334Find the City With the Smallest Number of Neighbors at a Threshold DistanceMediumDynamic_Programming, Graph, Shortest_Path22388.89
1333Filter Restaurants by Vegan-Friendly, Price and DistanceMediumArray, Sorting326100.00
1332Remove Palindromic SubsequencesEasyString, Two_Pointers12283.33
1331Rank Transform of an ArrayEasyArray, Hash_Table, Sorting553100.00
1330Reverse Subarray To Maximize Array ValueHardArray, Math, Greedy347100.00
1329Sort the Matrix DiagonallyMediumArray, Sorting, Matrix243100.00
1328Break a PalindromeMediumString, Greedy13781.82
1327List the Products Ordered in a PeriodEasyDatabase132461.30
1326Minimum Number of Taps to Open to Water a GardenHardArray, Dynamic_Programming, Greedy189100.00
1325Delete Leaves With a Given ValueMediumDepth_First_Search, Tree, Binary_Tree185100.00
1324Print Words VerticallyMediumArray, String, Simulation14966.67
1323Maximum 69 NumberEasyMath, Greedy11890.00
1321Restaurant GrowthMediumDatabase63083.05
1320Minimum Distance to Type a Word Using Two FingersHardString, Dynamic_Programming181100.00
1319Number of Operations to Make Network ConnectedMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find, Graph_Theory_I_Day_8_Standard_Traversal37983.33
1318Minimum Flips to Make a OR b Equal to cMediumBit_Manipulation, LeetCode_75_Bit_Manipulation12388.89
1317Convert Integer to the Sum of Two No-Zero IntegersEasyMath146100.00
1316Distinct Echo SubstringsHardString, Dynamic_Programming, Sliding_Window, Trie, Hash_Function, Rolling_Hash371100.00
1315Sum of Nodes with Even-Valued GrandparentMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree25782.35
1314Matrix Block SumMediumArray, Matrix, Prefix_Sum, Dynamic_Programming_I_Day_14235100.00
1313Decompress Run-Length Encoded ListEasyArray196100.00
1312Minimum Insertion Steps to Make a String PalindromeHardString, Dynamic_Programming18667.70
1311Get Watched Videos by Your FriendsMediumArray, Hash_Table, Sorting, Breadth_First_Search372100.00
1310XOR Queries of a SubarrayMediumArray, Bit_Manipulation, Prefix_Sum382100.00
1309Decrypt String from Alphabet to Integer MappingEasyString, Programming_Skills_I_Day_9_String0100.00
1307Verbal Arithmetic PuzzleHardArray, String, Math, Backtracking164100.00
1306Jump Game IIIMediumArray, Depth_First_Search, Breadth_First_Search, Graph_Theory_I_Day_11_Breadth_First_Search, Udemy_Arrays291100.00
1305All Elements in Two Binary Search TreesMediumSorting, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree531100.00
1304Find N Unique Integers Sum up to ZeroEasyArray, Math142100.00
1302Deepest Leaves SumMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree32567.39
1301Number of Paths with Max ScoreHardArray, Dynamic_Programming, Matrix178100.00
1300Sum of Mutated Array Closest to TargetMediumArray, Sorting, Binary_Search, Binary_Search_II_Day_16217100.00
1299Replace Elements with Greatest Element on Right SideEasyArray51479.69
1298Maximum Candies You Can Get from BoxesHardArray, Breadth_First_Search44280.00
1297Maximum Number of Occurrences of a SubstringMediumString, Hash_Table, Sliding_Window25375.00
1296Divide Array in Sets of K Consecutive NumbersMediumArray, Hash_Table, Sorting, Greedy488100.00
1295Find Numbers with Even Number of DigitsEasyArray18935.85
1293Shortest Path in a Grid with Obstacles EliminationHardArray, Breadth_First_Search, Matrix189100.00
1292Maximum Side Length of a Square with Sum Less than or Equal to ThresholdMediumArray, Binary_Search, Matrix, Prefix_Sum, Binary_Search_II_Day_15376100.00
1291Sequential DigitsMediumEnumeration, Udemy_Arrays114100.00
1290Convert Binary Number in a Linked List to IntegerEasyMath, Linked_List, Programming_Skills_I_Day_10_Linked_List_and_Tree13865.79
1289Minimum Falling Path Sum IIHardArray, Dynamic_Programming, Matrix234100.00
1288Remove Covered IntervalsMediumArray, Sorting184100.00
1287Element Appearing More Than 25% In Sorted ArrayEasyArray199100.00
1286Iterator for CombinationMediumString, Design, Backtracking, Iterator236100.00
1284Minimum Number of Flips to Convert Binary Matrix to Zero MatrixHardArray, Breadth_First_Search, Matrix, Bit_Manipulation131100.00
1283Find the Smallest Divisor Given a ThresholdMediumArray, Binary_Search, Binary_Search_II_Day_5255100.00
1282Group the People Given the Group Size They Belong ToMediumArray, Hash_Table267100.00
1281Subtract the Product and Sum of Digits of an IntegerEasyMath, Programming_Skills_I_Day_2_Operator12861.82
1280Students and ExaminationsEasyDatabase155285.96
1278Palindrome Partitioning IIIHardString, Dynamic_Programming137100.00
1277Count Square Submatrices with All OnesMediumArray, Dynamic_Programming, Matrix38175.00
1276Number of Burgers with No Waste of IngredientsMediumMath19050.00
1275Find Winner on a Tic Tac Toe GameEasyArray, Hash_Table, Matrix, Simulation12587.50
1269Number of Ways to Stay in the Same Place After Some StepsHardDynamic_Programming15950.00
1268Search Suggestions SystemMediumArray, String, LeetCode_75_Trie331100.00
1267Count Servers that CommunicateMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Counting, Union_Find295100.00
1266Minimum Time Visiting All PointsEasyArray, Math, Geometry152100.00
1263Minimum Moves to Move a Box to Their Target LocationHardArray, Breadth_First_Search, Matrix, Heap_Priority_Queue183100.00
1262Greatest Sum Divisible by ThreeMediumArray, Dynamic_Programming, Greedy263100.00
1261Find Elements in a Contaminated Binary TreeMediumHash_Table, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Design287100.00
1260Shift 2D GridEasyArray, Matrix, Simulation302100.00
1255Maximum Score Words Formed by LettersHardArray, String, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask131100.00
1254Number of Closed IslandsMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Graph_Theory_I_Day_2_Matrix_Related_Problems17789.47
1253Reconstruct a 2-Row Binary MatrixMediumArray, Greedy, Matrix49675.00
1252Cells with Odd Values in a MatrixEasyArray, Math, Simulation134100.00
1251Average Selling PriceEasyDatabase137176.11
1250Check If It Is a Good ArrayHardArray, Math, Number_Theory334100.00
1249Minimum Remove to Make Valid ParenthesesMediumString, Stack, Data_Structure_II_Day_14_Stack_Queue218100.00
1248Count Number of Nice SubarraysMediumArray, Hash_Table, Math, Sliding_Window43193.33
1247Minimum Swaps to Make Strings EqualMediumString, Math, Greedy13466.67
1240Tiling a Rectangle with the Fewest SquaresHardDynamic_Programming, Backtracking13475.00
1239Maximum Length of a Concatenated String with Unique CharactersMediumArray, String, Bit_Manipulation, Backtracking16650.00
1238Circular Permutation in Binary RepresentationMediumMath, Bit_Manipulation, Backtracking296100.00
1237Find Positive Integer Solution for a Given EquationMediumMath, Binary_Search, Two_Pointers, Interactive17636.36
1235Maximum Profit in Job SchedulingHardArray, Dynamic_Programming, Sorting, Binary_Search370100.00
1234Replace the Substring for Balanced StringMediumString, Sliding_Window182100.00
1233Remove Sub-Folders from the FilesystemMediumArray, String, Trie45940.00
1232Check If It Is a Straight LineEasyArray, Math, Geometry, Programming_Skills_I_Day_5_Function15295.38
1227Airplane Seat Assignment ProbabilityMediumDynamic_Programming, Math, Brainteaser, Probability_and_Statistics135100.00
1226The Dining PhilosophersMediumConcurrency1295.88
1224Maximum Equal FrequencyHardArray, Hash_Table330100.00
1223Dice Roll SimulationHardArray, Dynamic_Programming146100.00
1222Queens That Can Attack the KingMediumArray, Matrix, Simulation18950.00
1221Split a String in Balanced StringsEasyString, Greedy, Counting13167.65
1220Count Vowels PermutationHardDynamic_Programming129100.00
1219Path with Maximum GoldMediumArray, Matrix, Backtracking238100.00
1218Longest Arithmetic Subsequence of Given DifferenceMediumArray, Hash_Table, Dynamic_Programming420100.00
1217Minimum Cost to Move Chips to The Same PositionEasyArray, Math, Greedy119100.00
1211Queries Quality and PercentageEasyDatabase117680.10
1210Minimum Moves to Reach Target with RotationsHardArray, Breadth_First_Search, Matrix230100.00
1209Remove All Adjacent Duplicates in String IIMediumString, Stack223100.00
1208Get Equal Substrings Within BudgetMediumString, Binary_Search, Prefix_Sum, Sliding_Window163100.00
1207Unique Number of OccurrencesEasyArray, Hash_Table, LeetCode_75_Hash_Map/Set15183.00
1206Design SkiplistHardDesign, Linked_List306100.00
1204Last Person to Fit in the BusMediumDatabase147682.95
1203Sort Items by Groups Respecting DependenciesHardDepth_First_Search, Breadth_First_Search, Graph, Topological_Sort503100.00
1202Smallest String With SwapsMediumString, Hash_Table, Depth_First_Search, Breadth_First_Search, Union_Find562100.00
1201Ugly Number IIIMediumMath, Binary_Search, Number_Theory, Binary_Search_II_Day_20136100.00
1200Minimum Absolute DifferenceEasyArray, Sorting50775.00
1195Fizz Buzz MultithreadedMediumConcurrency687.26
1193Monthly Transactions IMediumDatabase89192.73
1192Critical Connections in a NetworkHardDepth_First_Search, Graph, Biconnected_Component169660.00
1191K-Concatenation Maximum SumMediumArray, Dynamic_Programming389100.00
1190Reverse Substrings Between Each Pair of ParenthesesMediumString, Stack15342.86
1189Maximum Number of BalloonsEasyString, Hash_Table, Counting13698.31
1187Make Array Strictly IncreasingHardArray, Dynamic_Programming, Binary_Search308100.00
1186Maximum Subarray Sum with One DeletionMediumArray, Dynamic_Programming30450.00
1185Day of the WeekEasyMath12750.00
1184Distance Between Bus StopsEasyArray16457.14
1179Reformat Department TableEasyDatabase81590.95
1178Number of Valid Words for Each PuzzleHardArray, String, Hash_Table, Bit_Manipulation, Trie675100.00
1177Can Make Palindrome from SubstringMediumString, Hash_Table, Bit_Manipulation, Prefix_Sum937100.00
1175Prime ArrangementsEasyMath12950.00
1174Immediate Food Delivery IIMediumDatabase98197.51
1172Dinner Plate StacksHardHash_Table, Stack, Design, Heap_Priority_Queue116050.00
1171Remove Zero Sum Consecutive Nodes from Linked ListMediumHash_Table, Linked_List19450.00
1170Compare Strings by Frequency of the Smallest CharacterMediumArray, String, Hash_Table, Sorting, Binary_Search22150.00
1169Invalid TransactionsMediumArray, String, Hash_Table, Sorting36257.14
1164Product Price at a Given DateMediumDatabase77491.86
1163Last Substring in Lexicographical OrderHardString, Two_Pointers254100.00
1162As Far from Land as PossibleMediumArray, Dynamic_Programming, Breadth_First_Search, Matrix, Graph_Theory_I_Day_4_Matrix_Related_Problems36281.25
1161Maximum Level Sum of a Binary TreeMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/BFS44587.50
1160Find Words That Can Be Formed by CharactersEasyArray, String, Hash_Table28872.22
1158Market Analysis IMediumDatabase, SQL_I_Day_9_Control_of_Flow247044.76
1157Online Majority Element In SubarrayHardArray, Binary_Search, Design, Segment_Tree, Binary_Indexed_Tree953100.00
1156Swap For Longest Repeated Character SubstringMediumString, Sliding_Window198100.00
1155Number of Dice Rolls With Target SumMediumDynamic_Programming15880.95
1154Day of the YearEasyString, Math31770.00
1148Article Views IEasyLeetCode_Curated_SQL_70, Database, SQL_I_Day_5_Union80654.41
1147Longest Chunked Palindrome DecompositionHardString, Dynamic_Programming, Greedy, Two_Pointers, Hash_Function, Rolling_Hash14850.00
1146Snapshot ArrayMediumArray, Hash_Table, Binary_Search, Design, Binary_Search_II_Day_18106457.14
1145Binary Tree Coloring GameMediumDepth_First_Search, Tree, Binary_Tree181100.00
1144Decrease Elements To Make Array ZigzagMediumArray, Greedy144100.00
1143Longest Common SubsequenceMediumTop_100_Liked_Questions, String, Dynamic_Programming, LeetCode_75_DP/Multidimensional, Algorithm_II_Day_17_Dynamic_Programming, Dynamic_Programming_I_Day_19, Udemy_Dynamic_Programming, Big_O_Time_O(n*m)_Space_O(n*m)30738.36
1141User Activity for the Past 30 Days IEasyLeetCode_Curated_SQL_70, Database, SQL_I_Day_7_Function79087.11
1140Stone Game IIMediumArray, Dynamic_Programming, Math, Game_Theory16693.27
1139Largest 1-Bordered SquareMediumArray, Dynamic_Programming, Matrix224100.00
1138Alphabet Board PathMediumString, Hash_Table138100.00
1137N-th Tribonacci NumberEasyDynamic_Programming, Math, Memoization, LeetCode_75_DP/1D, Dynamic_Programming_I_Day_112269.35
1131Maximum of Absolute Value ExpressionMediumArray, Math333100.00
1130Minimum Cost Tree From Leaf ValuesMediumDynamic_Programming, Greedy, Stack, Monotonic_Stack14566.67
1129Shortest Path with Alternating ColorsMediumBreadth_First_Search, Graph, Graph_Theory_I_Day_10_Standard_Traversal20880.00
1128Number of Equivalent Domino PairsEasyArray, Hash_Table, Counting28980.00
1125Smallest Sufficient TeamHardArray, Dynamic_Programming, Bit_Manipulation, Bitmask181100.00
1124Longest Well-Performing IntervalMediumArray, Hash_Table, Stack, Prefix_Sum, Monotonic_Stack313100.00
1123Lowest Common Ancestor of Deepest LeavesMediumHash_Table, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree22166.67
1122Relative Sort ArrayEasyArray, Hash_Table, Sorting, Counting_Sort18390.00
1117Building H2OMediumConcurrency2045.16
1116Print Zero Even OddMediumConcurrency739.21
1115Print FooBar AlternatelyMediumConcurrency2371.25
1114Print in OrderEasyConcurrency1330.13
1111Maximum Nesting Depth of Two Valid Parentheses StringsMediumString, Stack20733.33
1110Delete Nodes And Return ForestMediumDepth_First_Search, Tree, Binary_Tree223100.00
1109Corporate Flight BookingsMediumArray, Prefix_Sum719100.00
1108Defanging an IP AddressEasyString15962.10
1106Parsing A Boolean ExpressionHardString, Stack, Recursion205100.00
1105Filling Bookcase ShelvesMediumArray, Dynamic_Programming17533.33
1104Path In Zigzag Labelled Binary TreeMediumMath, Tree, Binary_Tree136100.00
1103Distribute Candies to PeopleEasyMath, Simulation129100.00
1096Brace Expansion IIHardString, Breadth_First_Search, Stack, Backtracking205100.00
1095Find in Mountain ArrayHardArray, Binary_Search, Interactive173100.00
1094Car PoolingMediumArray, Sorting, Heap_Priority_Queue, Simulation, Prefix_Sum17281.82
1093Statistics from a Large SampleMediumMath, Two_Pointers, Probability_and_Statistics191100.00
1092Shortest Common SupersequenceHardString, Dynamic_Programming174100.00
1091Shortest Path in Binary MatrixMediumArray, Breadth_First_Search, Matrix, Algorithm_II_Day_8_Breadth_First_Search_Depth_First_Search, Graph_Theory_I_Day_5_Matrix_Related_Problems30598.28
1090Largest Values From LabelsMediumArray, Hash_Table, Sorting, Greedy, Counting281100.00
1089Duplicate ZerosEasyArray, Two_Pointers18593.60
1084Sales Analysis IIIEasyLeetCode_Curated_SQL_70, Database, SQL_I_Day_10_Where188179.36
1081Smallest Subsequence of Distinct CharactersMediumString, Greedy, Stack, Monotonic_Stack146100.00
1080Insufficient Nodes in Root to Leaf PathsMediumDepth_First_Search, Tree, Binary_Tree271100.00
1079Letter Tile PossibilitiesMediumString, Backtracking144100.00
1078Occurrences After BigramEasyString15188.24
1075Project Employees IEasyDatabase126894.71
1074Number of Submatrices That Sum to TargetHardArray, Hash_Table, Matrix, Prefix_Sum770100.00
1073Adding Two Negabinary NumbersMediumArray, Math187100.00
1072Flip Columns For Maximum Number of Equal RowsMediumArray, Hash_Table, Matrix536100.00
1071Greatest Common Divisor of StringsEasyString, Math, LeetCode_75_Array/String15080.68
1070Product Sales Analysis IIIMediumDatabase156195.47
1068Product Sales Analysis IEasyDatabase189779.88
1061Lexicographically Smallest Equivalent StringMediumString, Union_Find166100.00
1054Distant BarcodesMediumArray, Hash_Table, Sorting, Greedy, Heap_Priority_Queue, Counting62275.00
1053Previous Permutation With One SwapMediumArray, Greedy288100.00
1052Grumpy Bookstore OwnerMediumArray, Sliding_Window26880.00
1051Height CheckerEasyArray, Sorting, Counting_Sort14094.37
1050Actors and Directors Who Cooperated At Least Three TimesEasyLeetCode_Curated_SQL_70, Database, SQL_I_Day_10_Where62981.02
1049Last Stone Weight IIMediumArray, Dynamic_Programming150100.00
1048Longest String ChainMediumArray, String, Hash_Table, Dynamic_Programming, Two_Pointers27375.00
1047Remove All Adjacent Duplicates In StringEasyString, Stack22894.52
1046Last Stone WeightEasyArray, Heap_Priority_Queue, Level_1_Day_15_Heap123100.00
1045Customers Who Bought All ProductsMediumDatabase88190.47
1044Longest Duplicate SubstringHardString, Binary_Search, Sliding_Window, Hash_Function, Rolling_Hash, Suffix_Array592100.00
1043Partition Array for Maximum SumMediumArray, Dynamic_Programming19471.43
1042Flower Planting With No AdjacentMediumDepth_First_Search, Breadth_First_Search, Graph39685.71
1041Robot Bounded In CircleMediumString, Math, Simulation121100.00
1040Moving Stones Until Consecutive IIMediumArray, Math, Sorting, Two_Pointers28750.00
1039Minimum Score Triangulation of PolygonMediumArray, Dynamic_Programming147100.00
1038Binary Search Tree to Greater Sum TreeMediumDepth_First_Search, Tree, Binary_Tree, Binary_Search_Tree12391.67
1037Valid BoomerangEasyArray, Math, Geometry126100.00
1036Escape a Large MazeHardArray, Hash_Table, Depth_First_Search, Breadth_First_Search387100.00
1035Uncrossed LinesMediumArray, Dynamic_Programming16293.33
1034Coloring A BorderMediumArray, Depth_First_Search, Breadth_First_Search, Matrix332100.00
1033Moving Stones Until ConsecutiveMediumMath, Brainteaser139100.00
1032Stream of CharactersHardArray, String, Design, Trie, Data_Stream733100.00
1031Maximum Sum of Two Non-Overlapping SubarraysMediumArray, Dynamic_Programming, Sliding_Window172100.00
1030Matrix Cells in Distance OrderEasyArray, Math, Sorting, Matrix, Geometry426100.00
1029Two City SchedulingMediumArray, Sorting, Greedy148100.00
1028Recover a Tree From Preorder TraversalHardString, Depth_First_Search, Tree, Binary_Tree246100.00
1027Longest Arithmetic SubsequenceMediumArray, Hash_Table, Dynamic_Programming, Binary_Search330100.00
1026Maximum Difference Between Node and AncestorMediumDepth_First_Search, Tree, Binary_Tree15577.78
1025Divisor GameEasyDynamic_Programming, Math, Game_Theory, Brainteaser11493.33
1024Video StitchingMediumArray, Dynamic_Programming, Greedy141100.00
1023Camelcase MatchingMediumString, Two_Pointers, Trie, String_Matching14960.00
1022Sum of Root To Leaf Binary NumbersEasyDepth_First_Search, Tree, Binary_Tree0100.00
1021Remove Outermost ParenthesesEasyString, Stack15660.00
1020Number of EnclavesMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Graph_Theory_I_Day_3_Matrix_Related_Problems28390.70
1019Next Greater Node In Linked ListMediumArray, Stack, Linked_List, Monotonic_Stack47275.00
1018Binary Prefix Divisible By 5EasyArray297100.00
1017Convert to Base -2MediumMath138100.00
1016Binary String With Substrings Representing 1 To NMediumString13475.00
1015Smallest Integer Divisible by KMediumHash_Table, Math123100.00
1014Best Sightseeing PairMediumArray, Dynamic_Programming, Dynamic_Programming_I_Day_733666.67
1013Partition Array Into Three Parts With Equal SumEasyArray, Greedy328100.00
1012Numbers With Repeated DigitsHardDynamic_Programming, Math123100.00
1011Capacity To Ship Packages Within D DaysMediumArray, Binary_Search32566.67
1010Pairs of Songs With Total Durations Divisible by 60MediumArray, Hash_Table, Counting28777.78
1009Complement of Base 10 IntegerEasyBit_Manipulation, Udemy_Bit_Manipulation12672.73
1008Construct Binary Search Tree from Preorder TraversalMediumArray, Tree, Binary_Tree, Stack, Monotonic_Stack, Binary_Search_Tree, Udemy_Tree_Stack_Queue145100.00
1007Minimum Domino Rotations For Equal RowMediumArray, Greedy, Udemy_Arrays42150.00
1006Clumsy FactorialMediumMath, Stack, Simulation127100.00
1005Maximize Sum Of Array After K NegationsEasyArray, Sorting, Greedy167100.00
1004Max Consecutive Ones IIIMediumArray, Binary_Search, Prefix_Sum, Sliding_Window, LeetCode_75_Sliding_Window31830.95
1003Check If Word Is Valid After SubstitutionsMediumString, Stack216100.00
1002Find Common CharactersEasyArray, String, Hash_Table181100.00
1001Grid IlluminationHardArray, Hash_Table801100.00
1000Minimum Cost to Merge StonesHardArray, Dynamic_Programming15275.00
0999Available Captures for RookEasyArray, Matrix, Simulation0100.00
0998Maximum Binary Tree IIMediumTree, Binary_Tree157100.00
0997Find the Town JudgeEasyArray, Hash_Table, Graph, Data_Structure_II_Day_19_Graph, Graph_Theory_I_Day_13_Graph_Theory47558.62
0996Number of Squareful ArraysHardArray, Dynamic_Programming, Math, Bit_Manipulation, Backtracking, Bitmask139100.00
0995Minimum Number of K Consecutive Bit FlipsHardArray, Bit_Manipulation, Prefix_Sum, Sliding_Window480100.00
0994Rotting OrangesMediumTop_100_Liked_Questions, Array, Breadth_First_Search, Matrix, LeetCode_75_Graphs/BFS, Algorithm_I_Day_9_Breadth_First_Search_Depth_First_Search, Level_2_Day_10_Graph/BFS/DFS16482.95
0993Cousins in Binary TreeEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree15271.43
0992Subarrays with K Different IntegersHardArray, Hash_Table, Counting, Sliding_Window34187.50
0991Broken CalculatorMediumMath, Greedy127100.00
0990Satisfiability of Equality EquationsMediumArray, String, Graph, Union_Find163100.00
0989Add to Array-Form of IntegerEasyArray, Math, Programming_Skills_II_Day_535070.00
0988Smallest String Starting From LeafMediumString, Depth_First_Search, Tree, Binary_Tree180100.00
0987Vertical Order Traversal of a Binary TreeHardHash_Table, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree18966.67
0986Interval List IntersectionsMediumArray, Two_Pointers, Algorithm_II_Day_4_Two_Pointers31860.98
0985Sum of Even Numbers After QueriesMediumArray, Simulation49771.43
0984String Without AAA or BBBMediumString, Greedy13266.67
0983Minimum Cost For TicketsMediumArray, Dynamic_Programming14792.80
0982Triples with Bitwise AND Equal To ZeroHardArray, Hash_Table, Bit_Manipulation227100.00
0981Time Based Key-Value StoreMediumString, Hash_Table, Binary_Search, Design, Binary_Search_II_Day_16101165.56
0980Unique Paths IIIHardArray, Matrix, Bit_Manipulation, Backtracking134100.00
0979Distribute Coins in Binary TreeMediumDepth_First_Search, Tree, Binary_Tree16580.00
0978Longest Turbulent SubarrayMediumArray, Dynamic_Programming, Sliding_Window39540.00
0977Squares of a Sorted ArrayEasyArray, Sorting, Two_Pointers, Algorithm_I_Day_2_Two_Pointers, Udemy_Two_Pointers27177.17
0976Largest Perimeter TriangleEasyArray, Math, Sorting, Greedy, Programming_Skills_I_Day_3_Conditional_Statements30433.33
0975Odd Even JumpHardArray, Dynamic_Programming, Stack, Ordered_Set, Monotonic_Stack326100.00
0974Subarray Sums Divisible by KMediumArray, Hash_Table, Prefix_Sum33466.67
0973K Closest Points to OriginMediumArray, Math, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Geometry, Quickselect, Data_Structure_II_Day_21_Heap_Priority_Queue, Programming_Skills_II_Day_880037.89
0972Equal Rational NumbersHardString, Math130100.00
0971Flip Binary Tree To Match Preorder TraversalMediumDepth_First_Search, Tree, Binary_Tree17366.67
0970Powerful IntegersMediumHash_Table, Math136100.00
0969Pancake SortingMediumArray, Sorting, Greedy, Two_Pointers169100.00
0968Binary Tree CamerasHardDynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Udemy_Tree_Stack_Queue176100.00
0967Numbers With Same Consecutive DifferencesMediumBreadth_First_Search, Backtracking144100.00
0966Vowel SpellcheckerMediumArray, String, Hash_Table371100.00
0965Univalued Binary TreeEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree13890.91
0964Least Operators to Express NumberHardDynamic_Programming, Math160100.00
0963Minimum Area Rectangle IIMediumArray, Math, Geometry183100.00
0962Maximum Width RampMediumArray, Stack, Monotonic_Stack324100.00
0961N-Repeated Element in Size 2N ArrayEasyArray, Hash_Table26475.00
0960Delete Columns to Make Sorted IIIHardArray, String, Dynamic_Programming200100.00
0959Regions Cut By SlashesMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find180100.00
0958Check Completeness of a Binary TreeMediumBreadth_First_Search, Tree, Binary_Tree14296.04
0957Prison Cells After N DaysMediumArray, Hash_Table, Math, Bit_Manipulation172100.00
0956Tallest BillboardHardArray, Dynamic_Programming182100.00
0955Delete Columns to Make Sorted IIMediumArray, String, Greedy190100.00
0954Array of Doubled PairsMediumArray, Hash_Table, Sorting, Greedy462100.00
0953Verifying an Alien DictionaryEasyArray, String, Hash_Table, Programming_Skills_I_Day_9_String137100.00
0952Largest Component Size by Common FactorHardArray, Math, Union_Find538100.00
0951Flip Equivalent Binary TreesMediumDepth_First_Search, Tree, Binary_Tree150100.00
0950Reveal Cards In Increasing OrderMediumArray, Sorting, Simulation, Queue176100.00
0949Largest Time for Given DigitsMediumString, Enumeration171100.00
0948Bag of TokensMediumArray, Sorting, Greedy, Two_Pointers161100.00
0947Most Stones Removed with Same Row or ColumnMediumDepth_First_Search, Graph, Union_Find, Level_2_Day_19_Union_Find200100.00
0946Validate Stack SequencesMediumArray, Stack, Simulation18074.91
0945Minimum Increment to Make Array UniqueMediumArray, Sorting, Greedy, Counting427100.00
0944Delete Columns to Make SortedEasyArray, String22175.00
0943Find the Shortest SuperstringHardArray, String, Dynamic_Programming, Bit_Manipulation, Bitmask1290100.00
0942DI String MatchEasyArray, String, Math, Greedy, Two_Pointers20280.00
0941Valid Mountain ArrayEasyArray25151.94
0940Distinct Subsequences IIHardString, Dynamic_Programming177100.00
0939Minimum Area RectangleMediumArray, Hash_Table, Math, Sorting, Geometry461100.00
0938Range Sum of BSTEasyDepth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Udemy_Tree_Stack_Queue35655.36
0937Reorder Data in Log FilesMediumArray, String, Sorting20581.82
0936Stamping The SequenceHardString, Greedy, Stack, Queue196100.00
0935Knight DialerMediumDynamic_Programming160100.00
0934Shortest BridgeMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Graph_Theory_I_Day_6_Matrix_Related_Problems30180.95
0933Number of Recent CallsEasyDesign, Queue, Data_Stream, LeetCode_75_Queue47682.50
0932Beautiful ArrayMediumArray, Math, Divide_and_Conquer145100.00
0931Minimum Falling Path SumMediumArray, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_1320184.21
0930Binary Subarrays With SumMediumArray, Hash_Table, Prefix_Sum, Sliding_Window25093.75
0929Unique Email AddressesEasyArray, String, Hash_Table20789.29
0928Minimize Malware Spread IIHardArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find716100.00
0927Three Equal PartsHardArray, Math303100.00
0926Flip String to Monotone IncreasingMediumString, Dynamic_Programming199100.00
0925Long Pressed NameEasyString, Two_Pointers12692.31
0924Minimize Malware SpreadHardArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find791100.00
09233Sum With MultiplicityMediumArray, Hash_Table, Sorting, Two_Pointers, Counting190100.00
0922Sort Array By Parity IIEasyArray, Sorting, Two_Pointers25787.50
0921Minimum Add to Make Parentheses ValidMediumString, Greedy, Stack13192.59
0920Number of Music PlaylistsHardDynamic_Programming, Math, Combinatorics136100.00
0919Complete Binary Tree InserterMediumBreadth_First_Search, Tree, Binary_Tree, Design225100.00
0918Maximum Sum Circular SubarrayMediumArray, Dynamic_Programming, Divide_and_Conquer, Queue, Monotonic_Queue, Dynamic_Programming_I_Day_5, Top_Interview_150_Kadane’s_Algorithm33986.96
0917Reverse Only LettersEasyString, Two_Pointers126100.00
0916Word SubsetsMediumArray, String, Hash_Table39788.89
0915Partition Array into Disjoint IntervalsMediumArray51076.92
0914X of a Kind in a Deck of CardsEasyArray, Hash_Table, Math, Counting, Number_Theory23870.00
0913Cat and MouseHardDynamic_Programming, Math, Graph, Memoization, Topological_Sort, Game_Theory211100.00
0912Sort an ArrayMediumArray, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Merge_Sort, Bucket_Sort, Counting_Sort, Radix_Sort, Udemy_Sorting_Algorithms60698.48
0911Online ElectionMediumArray, Hash_Table, Binary_Search, Design, Binary_Search_II_Day_2076683.33
0910Smallest Range IIMediumArray, Math, Sorting, Greedy, Programming_Skills_II_Day_13234100.00
0909Snakes and LaddersMediumArray, Breadth_First_Search, Matrix, Top_Interview_150_Graph_BFS203100.00
0908Smallest Range IEasyArray, Math20287.50
0907Sum of Subarray MinimumsMediumArray, Dynamic_Programming, Stack, Monotonic_Stack341100.00
0906Super PalindromesHardMath, Enumeration153100.00
0905Sort Array By ParityEasyArray, Sorting, Two_Pointers21975.00
0904Fruit Into BasketsMediumArray, Hash_Table, Sliding_Window371100.00
0903Valid Permutations for DI SequenceHardDynamic_Programming140100.00
0902Numbers At Most N Given Digit SetHardArray, Dynamic_Programming, Math, Binary_Search138100.00
0901Online Stock SpanMediumStack, Design, Monotonic_Stack, Data_Stream, LeetCode_75_Monotonic_Stack64175.00
0900RLE IteratorMediumArray, Design, Counting, Iterator17583.33
0899Orderly QueueHardString, Math, Sorting148100.00
0898Bitwise ORs of SubarraysMediumArray, Dynamic_Programming, Bit_Manipulation812100.00
0897Increasing Order Search TreeEasyDepth_First_Search, Tree, Binary_Tree, Stack, Binary_Search_Tree12885.71
0896Monotonic ArrayEasyArray, Programming_Skills_II_Day_157690.91
0895Maximum Frequency StackHardHash_Table, Stack, Design, Ordered_Set617100.00
0894All Possible Full Binary TreesMediumDynamic_Programming, Tree, Binary_Tree, Recursion, Memoization257100.00
0893Groups of Special-Equivalent StringsMediumArray, String, Hash_Table141100.00
0892Surface Area of 3D ShapesEasyArray, Math, Matrix, Geometry180100.00
0891Sum of Subsequence WidthsHardArray, Math, Sorting481100.00
0890Find and Replace PatternMediumArray, String, Hash_Table150100.00
0889Construct Binary Tree from Preorder and Postorder TraversalMediumArray, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer168100.00
0888Fair Candy SwapEasyArray, Hash_Table, Sorting, Binary_Search318100.00
0887Super Egg DropHardDynamic_Programming, Math, Binary_Search119100.00
0886Possible BipartitionMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find, Graph_Theory_I_Day_14_Graph_Theory397100.00
0885Spiral Matrix IIIMediumArray, Matrix, Simulation265100.00
0884Uncommon Words from Two SentencesEasyString, Hash_Table171100.00
0883Projection Area of 3D ShapesEasyArray, Math, Matrix, Geometry173100.00
0882Reachable Nodes In Subdivided GraphHardHeap_Priority_Queue, Graph, Shortest_Path434100.00
0881Boats to Save PeopleMediumArray, Sorting, Greedy, Two_Pointers37096.07
0880Decoded String at IndexMediumString, Stack134100.00
0879Profitable SchemesHardArray, Dynamic_Programming19875.00
0878Nth Magical NumberHardMath, Binary_Search124100.00
0877Stone GameMediumArray, Dynamic_Programming, Math, Game_Theory13688.24
0876Middle of the Linked ListEasyTwo_Pointers, Linked_List, Algorithm_I_Day_5_Two_Pointers, Programming_Skills_I_Day_10_Linked_List_and_Tree, Level_1_Day_4_Linked_List, Udemy_Linked_List13676.52
0875Koko Eating BananasMediumArray, Binary_Search, LeetCode_75_Binary_Search, Binary_Search_II_Day_426793.85
0874Walking Robot SimulationMediumArray, Simulation274100.00
0873Length of Longest Fibonacci SubsequenceMediumArray, Hash_Table, Dynamic_Programming34190.00
0872Leaf-Similar TreesEasyDepth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS140100.00
0871Minimum Number of Refueling StopsHardArray, Dynamic_Programming, Greedy, Heap_Priority_Queue20392.86
0870Advantage ShuffleMediumArray, Sorting, Greedy698100.00
0869Reordered Power of 2MediumMath, Sorting, Counting, Enumeration14587.50
0868Binary GapEasyBit_Manipulation142100.00
0867Transpose MatrixEasyArray, Matrix, Simulation201100.00
0866Prime PalindromeMediumMath143100.00
0865Smallest Subtree with all the Deepest NodesMediumHash_Table, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree147100.00
0864Shortest Path to Get All KeysHardBreadth_First_Search, Bit_Manipulation176100.00
0863All Nodes Distance K in Binary TreeMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree14795.83
0862Shortest Subarray with Sum at Least KHardArray, Binary_Search, Heap_Priority_Queue, Prefix_Sum, Sliding_Window, Queue, Monotonic_Queue56384.62
0861Score After Flipping MatrixMediumArray, Greedy, Matrix, Bit_Manipulation13571.43
0860Lemonade ChangeEasyArray, Greedy, Programming_Skills_II_Day_1741386.96
0859Buddy StringsEasyString, Hash_Table14991.01
0858Mirror ReflectionMediumMath, Geometry120100.00
0857Minimum Cost to Hire K WorkersHardArray, Sorting, Greedy, Heap_Priority_Queue302100.00
0856Score of ParenthesesMediumString, Stack12984.62
0855Exam RoomMediumDesign, Ordered_Set64483.33
0854K-Similar StringsHardString, Breadth_First_Search136100.00
0853Car FleetMediumArray, Sorting, Stack, Monotonic_Stack75785.29
0852Peak Index in a Mountain ArrayMediumArray, Binary_Search, Binary_Search_I_Day_243394.29
0851Loud and RichMediumArray, Depth_First_Search, Graph, Topological_Sort347100.00
0850Rectangle Area IIHardArray, Ordered_Set, Segment_Tree, Line_Sweep171100.00
0849Maximize Distance to Closest PersonMediumArray19688.46
0848Shifting LettersMediumArray, String53793.75
0847Shortest Path Visiting All NodesHardDynamic_Programming, Breadth_First_Search, Bit_Manipulation, Graph, Bitmask, Graph_Theory_I_Day_10_Standard_Traversal164100.00
0846Hand of StraightsMediumArray, Hash_Table, Sorting, Greedy30696.15
0845Longest Mountain in ArrayMediumArray, Dynamic_Programming, Two_Pointers, Enumeration222100.00
0844Backspace String CompareEasyString, Two_Pointers, Stack, Simulation, Algorithm_II_Day_4_Two_Pointers, Level_1_Day_14_Stack12698.31
0843Guess the WordHardArray, String, Math, Game_Theory, Interactive75100.00
0842Split Array into Fibonacci SequenceMediumString, Backtracking142100.00
0841Keys and RoomsMediumDepth_First_Search, Breadth_First_Search, Graph, LeetCode_75_Graphs/DFS, Data_Structure_II_Day_19_Graph, Graph_Theory_I_Day_7_Standard_Traversal18969.23
0840Magic Squares In GridMediumArray, Math, Matrix149100.00
0839Similar String GroupsHardArray, String, Depth_First_Search, Breadth_First_Search, Union_Find205100.00
0838Push DominoesMediumString, Dynamic_Programming, Two_Pointers270100.00
0837New 21 GameMediumDynamic_Programming, Math, Sliding_Window, Probability_and_Statistics14475.00
0836Rectangle OverlapEasyMath, Geometry121100.00
0835Image OverlapMediumArray, Matrix163100.00
0834Sum of Distances in TreeHardDynamic_Programming, Depth_First_Search, Tree, Graph746100.00
0833Find And Replace in StringMediumArray, String, Sorting158100.00
0832Flipping an ImageEasyArray, Matrix, Two_Pointers, Simulation19094.44
0831Masking Personal InformationMediumString149100.00
0830Positions of Large GroupsEasyString221100.00
0829Consecutive Numbers SumHardMath, Enumeration151100.00
0828Count Unique Characters of All Substrings of a Given StringHardString, Hash_Table, Dynamic_Programming216100.00
0827Making A Large IslandHardArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find985100.00
0826Most Profit Assigning WorkMediumArray, Sorting, Greedy, Binary_Search, Two_Pointers, Binary_Search_II_Day_11366100.00
0825Friends Of Appropriate AgesMediumArray, Sorting, Binary_Search, Two_Pointers278100.00
0824Goat LatinEasyString146100.00
0823Binary Trees With FactorsMediumArray, Hash_Table, Dynamic_Programming298100.00
0822Card Flipping GameMediumArray, Hash_Table186100.00
0821Shortest Distance to a CharacterEasyArray, String, Two_Pointers16888.00
0820Short Encoding of WordsMediumArray, String, Hash_Table, Trie231100.00
0819Most Common WordEasyString, Hash_Table, Counting21183.33
0818Race CarHardDynamic_Programming123100.00
0817Linked List ComponentsMediumHash_Table, Linked_List239100.00
0816Ambiguous CoordinatesMediumString, Backtracking231100.00
0815Bus RoutesHardArray, Hash_Table, Breadth_First_Search, Level_2_Day_11_Graph/BFS/DFS429100.00
0814Binary Tree PruningMediumDepth_First_Search, Tree, Binary_Tree127100.00
0813Largest Sum of AveragesMediumArray, Dynamic_Programming160100.00
0812Largest Triangle AreaEasyArray, Math, Geometry15671.43
0811Subdomain Visit CountMediumArray, String, Hash_Table, Counting220100.00
0810Chalkboard XOR GameHardArray, Math, Bit_Manipulation, Game_Theory, Brainteaser172100.00
0809Expressive WordsMediumArray, String, Two_Pointers158100.00
0808Soup ServingsMediumDynamic_Programming, Math, Probability_and_Statistics112100.00
0807Max Increase to Keep City SkylineMediumArray, Greedy, Matrix158100.00
0806Number of Lines To Write StringEasyArray, String134100.00
0805Split Array With Same AverageHardArray, Dynamic_Programming, Math, Bit_Manipulation, Bitmask142100.00
0804Unique Morse Code WordsEasyArray, String, Hash_Table15880.00
0803Bricks Falling When HitHardArray, Matrix, Union_Find742100.00
0802Find Eventual Safe StatesMediumDepth_First_Search, Breadth_First_Search, Graph, Topological_Sort, Graph_Theory_I_Day_9_Standard_Traversal511100.00
0801Minimum Swaps To Make Sequences IncreasingHardArray, Dynamic_Programming61783.33
0799Champagne TowerMediumDynamic_Programming153100.00
0798Smallest Rotation with Highest ScoreHardArray, Prefix_Sum470100.00
0797All Paths From Source to TargetMediumDepth_First_Search, Breadth_First_Search, Graph, Backtracking, Algorithm_II_Day_8_Breadth_First_Search_Depth_First_Search, Graph_Theory_I_Day_7_Standard_Traversal232100.00
0796Rotate StringEasyString, String_Matching134100.00
0795Number of Subarrays with Bounded MaximumMediumArray, Two_Pointers36166.67
0794Valid Tic-Tac-Toe StateMediumArray, String138100.00
0793Preimage Size of Factorial Zeroes FunctionHardMath, Binary_Search114100.00
0792Number of Matching SubsequencesMediumString, Hash_Table, Sorting, Trie346100.00
0791Custom Sort StringMediumString, Hash_Table, Sorting13390.00
0790Domino and Tromino TilingMediumDynamic_Programming, LeetCode_75_DP/1D116100.00
0789Escape The GhostsMediumArray, Math187100.00
0788Rotated DigitsMediumDynamic_Programming, Math13780.00
0787Cheapest Flights Within K StopsMediumDynamic_Programming, Depth_First_Search, Breadth_First_Search, Heap_Priority_Queue, Graph, Shortest_Path18599.20
0786K-th Smallest Prime FractionMediumArray, Binary_Search, Heap_Priority_Queue165100.00
0785Is Graph Bipartite?MediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find, Graph_Theory_I_Day_14_Graph_Theory21582.35
0784Letter Case PermutationMediumString, Bit_Manipulation, Backtracking, Algorithm_I_Day_11_Recursion_Backtracking21984.62
0783Minimum Distance Between BST NodesEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Binary_Search_Tree14496.35
0782Transform to ChessboardHardArray, Math, Matrix, Bit_Manipulation188100.00
0781Rabbits in ForestMediumArray, Hash_Table, Math, Greedy132100.00
0780Reaching PointsHardMath139100.00
0779K-th Symbol in GrammarMediumMath, Bit_Manipulation, Recursion114100.00
0778Swim in Rising WaterHardArray, Depth_First_Search, Breadth_First_Search, Binary_Search, Matrix, Heap_Priority_Queue, Union_Find190100.00
0777Swap Adjacent in LR StringMediumString, Two_Pointers188100.00
0775Global and Local InversionsMediumArray, Math495100.00
0773Sliding PuzzleHardArray, Breadth_First_Search, Matrix166100.00
0771Jewels and StonesEasyString, Hash_Table14399.08
0770Basic Calculator IVHardString, Hash_Table, Math, Stack, Recursion222100.00
0769Max Chunks To Make SortedMediumArray, Sorting, Greedy, Stack, Monotonic_Stack13690.00
0768Max Chunks To Make Sorted IIHardArray, Sorting, Greedy, Stack, Monotonic_Stack202100.00
0767Reorganize StringMediumString, Hash_Table, Sorting, Greedy, Heap_Priority_Queue, Counting148100.00
0766Toeplitz MatrixEasyArray, Matrix174100.00
0765Couples Holding HandsHardDepth_First_Search, Greedy, Breadth_First_Search, Graph, Union_Find131100.00
0764Largest Plus SignMediumArray, Dynamic_Programming415100.00
0763Partition LabelsMediumTop_100_Liked_Questions, String, Hash_Table, Greedy, Two_Pointers, Data_Structure_II_Day_7_String, Big_O_Time_O(n)_Space_O(1)23584.75
0762Prime Number of Set Bits in Binary RepresentationEasyMath, Bit_Manipulation147100.00
0761Special Binary StringHardString, Recursion128100.00
0757Set Intersection Size At Least TwoHardArray, Sorting, Greedy298100.00
0756Pyramid Transition MatrixMediumDepth_First_Search, Breadth_First_Search, Bit_Manipulation268100.00
0754Reach a NumberMediumMath, Binary_Search134100.00
0753Cracking the SafeHardDepth_First_Search, Graph, Eulerian_Circuit147100.00
0752Open the LockMediumArray, String, Hash_Table, Breadth_First_Search, Graph_Theory_I_Day_12_Breadth_First_Search310100.00
0749Contain VirusHardArray, Depth_First_Search, Breadth_First_Search, Matrix, Simulation201100.00
0748Shortest Completing WordEasyArray, String, Hash_Table172100.00
0747Largest Number At Least Twice of OthersEasyArray, Sorting14798.21
0746Min Cost Climbing StairsEasyArray, Dynamic_Programming, LeetCode_75_DP/1D, Dynamic_Programming_I_Day_2, Level_1_Day_11_Dynamic_Programming17196.76
0745Prefix and Suffix SearchHardString, Design, Trie, Udemy_Trie_and_Heap1638100.00
0744Find Smallest Letter Greater Than TargetEasyArray, Binary_Search, Binary_Search_I_Day_4162100.00
0743Network Delay TimeMediumDepth_First_Search, Breadth_First_Search, Heap_Priority_Queue, Graph, Shortest_Path32198.55
0741Cherry PickupHardArray, Dynamic_Programming, Matrix196100.00
0740Delete and EarnMediumArray, Hash_Table, Dynamic_Programming, Dynamic_Programming_I_Day_3192100.00
0739Daily TemperaturesMediumTop_100_Liked_Questions, Array, Stack, Monotonic_Stack, LeetCode_75_Monotonic_Stack, Programming_Skills_II_Day_6, Big_O_Time_O(n)_Space_O(n)93680.54
0738Monotone Increasing DigitsMediumMath, Greedy127100.00
0736Parse Lisp ExpressionHardString, Hash_Table, Stack, Recursion172100.00
0735Asteroid CollisionMediumArray, Stack, LeetCode_75_Stack, Level_2_Day_18_Stack243100.00
0733Flood FillEasyArray, Depth_First_Search, Breadth_First_Search, Matrix, Algorithm_I_Day_7_Breadth_First_Search_Depth_First_Search, Graph_Theory_I_Day_1_Matrix_Related_Problems, Level_1_Day_9_Graph/BFS/DFS23097.76
0732My Calendar IIIHardBinary_Search, Design, Ordered_Set, Segment_Tree294100.00
0731My Calendar IIMediumBinary_Search, Design, Ordered_Set, Segment_Tree371100.00
0730Count Different Palindromic SubsequencesHardString, Dynamic_Programming233100.00
0729My Calendar IMediumBinary_Search, Design, Ordered_Set, Segment_Tree, Programming_Skills_II_Day_2037869.70
0728Self Dividing NumbersEasyMath142100.00
0726Number of AtomsHardString, Hash_Table, Sorting, Stack149100.00
0725Split Linked List in PartsMediumLinked_List16295.00
0724Find Pivot IndexEasyArray, Prefix_Sum, LeetCode_75_Prefix_Sum, Level_1_Day_1_Prefix_Sum25588.92
0722Remove CommentsMediumArray, String164100.00
0721Accounts MergeMediumArray, String, Depth_First_Search, Breadth_First_Search, Union_Find364100.00
0720Longest Word in DictionaryMediumArray, String, Hash_Table, Sorting, Trie209100.00
0719Find K-th Smallest Pair DistanceHardArray, Sorting, Binary_Search, Two_Pointers172100.00
0718Maximum Length of Repeated SubarrayMediumArray, Dynamic_Programming, Binary_Search, Sliding_Window, Hash_Function, Rolling_Hash27091.43
07171-bit and 2-bit CharactersEasyArray165100.00
0715Range ModuleHardDesign, Ordered_Set, Segment_Tree63858.33
0714Best Time to Buy and Sell Stock with Transaction FeeMediumArray, Dynamic_Programming, Greedy, LeetCode_75_DP/Multidimensional, Dynamic_Programming_I_Day_841790.91
0713Subarray Product Less Than KMediumArray, Sliding_Window, Algorithm_II_Day_5_Sliding_Window, Programming_Skills_II_Day_12, Udemy_Arrays33692.11
0712Minimum ASCII Delete Sum for Two StringsMediumString, Dynamic_Programming176100.00
0710Random Pick with BlacklistHardHash_Table, Math, Sorting, Binary_Search, Randomized632100.00
0709To Lower CaseEasyString, Programming_Skills_I_Day_9_String14298.68
0707Design Linked ListMediumDesign, Linked_List, Data_Structure_II_Day_12_Linked_List, Programming_Skills_II_Day_19, Udemy_Linked_List243100.00
0706Design HashMapEasyArray, Hash_Table, Design, Linked_List, Hash_Function, Data_Structure_II_Day_2_Array40592.11
0705Design HashSetEasyArray, Hash_Table, Design, Linked_List, Hash_Function38575.61
0704Binary SearchEasyArray, Binary_Search, Algorithm_I_Day_1_Binary_Search, Binary_Search_I_Day_1, Level_1_Day_7_Binary_Search, Udemy_Binary_Search26177.91
0703Kth Largest Element in a StreamEasyTree, Binary_Tree, Design, Heap_Priority_Queue, Binary_Search_Tree, Data_Stream28695.45
0701Insert into a Binary Search TreeMediumTree, Binary_Tree, Binary_Search_Tree, Data_Structure_I_Day_13_Tree, Udemy_Tree_Stack_Queue31179.03
0700Search in a Binary Search TreeEasyTree, Binary_Tree, Binary_Search_Tree, LeetCode_75_Binary_Search_Tree, Data_Structure_I_Day_13_Tree25188.31
0699Falling SquaresHardArray, Ordered_Set, Segment_Tree293100.00
0698Partition to K Equal Sum SubsetsMediumArray, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask, Memoization191100.00
0697Degree of an ArrayEasyArray, Hash_Table, Udemy_Arrays28984.62
0696Count Binary SubstringsEasyString, Two_Pointers222100.00
0695Max Area of IslandMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Algorithm_I_Day_7_Breadth_First_Search_Depth_First_Search, Graph_Theory_I_Day_2_Matrix_Related_Problems18193.83
0693Binary Number with Alternating BitsEasyBit_Manipulation129100.00
0692Top K Frequent WordsMediumString, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Trie, Bucket_Sort, Level_1_Day_15_Heap23981.10
0691Stickers to Spell WordHardArray, String, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask249100.00
0690Employee ImportanceMediumHash_Table, Depth_First_Search, Breadth_First_Search255100.00
0689Maximum Sum of 3 Non-Overlapping SubarraysHardArray, Dynamic_Programming248100.00
0688Knight Probability in ChessboardMediumDynamic_Programming144100.00
0687Longest Univalue PathMediumDepth_First_Search, Tree, Binary_Tree303100.00
0686Repeated String MatchMediumString, String_Matching164100.00
0685Redundant Connection IIHardDepth_First_Search, Breadth_First_Search, Graph, Union_Find176100.00
0684Redundant ConnectionMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find18188.24
0682Baseball GameEasyArray, Stack, Simulation159100.00
0680Valid Palindrome IIEasyString, Greedy, Two_Pointers29679.17
067924 GameHardArray, Math, Backtracking175100.00
0678Valid Parenthesis StringMediumString, Dynamic_Programming, Greedy, Stack133100.00
0677Map Sum PairsMediumString, Hash_Table, Design, Trie19780.00
0676Implement Magic DictionaryMediumString, Hash_Table, Design, Trie256100.00
0675Cut Off Trees for Golf EventHardArray, Breadth_First_Search, Matrix, Heap_Priority_Queue777100.00
0674Longest Continuous Increasing SubsequenceEasyArray20184.21
0673Number of Longest Increasing SubsequenceMediumArray, Dynamic_Programming, Segment_Tree, Binary_Indexed_Tree, Algorithm_II_Day_16_Dynamic_Programming22691.67
0672Bulb Switcher IIMediumMath, Depth_First_Search, Breadth_First_Search, Bit_Manipulation131100.00
0671Second Minimum Node In a Binary TreeEasyDepth_First_Search, Tree, Binary_Tree128100.00
0670Maximum SwapMediumMath, Greedy143100.00
0669Trim a Binary Search TreeMediumDepth_First_Search, Tree, Binary_Tree, Binary_Search_Tree195100.00
0668Kth Smallest Number in Multiplication TableHardMath, Binary_Search151100.00
0667Beautiful Arrangement IIMediumArray, Math175100.00
0665Non-decreasing ArrayMediumArray25685.71
0664Strange PrinterHardString, Dynamic_Programming196100.00
0662Maximum Width of Binary TreeMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree18975.00
0661Image SmootherEasyArray, Matrix352100.00
0659Split Array into Consecutive SubsequencesMediumArray, Hash_Table, Greedy, Heap_Priority_Queue352100.00
0658Find K Closest ElementsMediumArray, Sorting, Binary_Search, Two_Pointers, Heap_Priority_Queue, Binary_Search_II_Day_237595.16
0657Robot Return to OriginEasyString, Simulation186100.00
0655Print Binary TreeMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree176100.00
0654Maximum Binary TreeMediumArray, Tree, Binary_Tree, Stack, Monotonic_Stack, Divide_and_Conquer27190.00
0653Two Sum IV - Input is a BSTEasyHash_Table, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Two_Pointers, Binary_Search_Tree, Data_Structure_I_Day_14_Tree23196.08
0652Find Duplicate SubtreesMediumHash_Table, Depth_First_Search, Tree, Binary_Tree26676.00
06502 Keys KeyboardMediumDynamic_Programming, Math115100.00
0649Dota2 SenateMediumString, Greedy, Queue, LeetCode_75_Queue217100.00
0648Replace WordsMediumArray, String, Hash_Table, Trie392100.00
0647Palindromic SubstringsMediumString, Dynamic_Programming, Big_O_Time_O(n^2)_Space_O(n)26667.83
0646Maximum Length of Pair ChainMediumArray, Dynamic_Programming, Sorting, Greedy249100.00
0645Set MismatchEasyArray, Hash_Table, Sorting, Bit_Manipulation24688.46
0643Maximum Average Subarray IEasyArray, Sliding_Window, LeetCode_75_Sliding_Window49498.65
0641Design Circular DequeMediumArray, Design, Linked_List, Queue232100.00
0640Solve the EquationMediumString, Math, Simulation17066.67
0639Decode Ways IIHardString, Dynamic_Programming259100.00
0638Shopping OffersMediumArray, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask, Memoization195100.00
0637Average of Levels in Binary TreeEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Top_Interview_150_Binary_Tree_BFS249100.00
0636Exclusive Time of FunctionsMediumArray, Stack27080.00
0633Sum of Square NumbersMediumMath, Binary_Search, Two_Pointers, Binary_Search_I_Day_10126100.00
0632Smallest Range Covering Elements from K ListsHardArray, Hash_Table, Sorting, Greedy, Heap_Priority_Queue, Sliding_Window39983.33
0630Course Schedule IIIHardArray, Greedy, Heap_Priority_Queue536100.00
0629K Inverse Pairs ArrayHardDynamic_Programming155100.00
0628Maximum Product of Three NumbersEasyArray, Math, Sorting27697.30
0627Swap SalaryEasyDatabase, SQL_I_Day_2_Select_and_Order40051.04
0626Exchange SeatsMediumDatabase50250.56
0623Add One Row to TreeMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree202100.00
0622Design Circular QueueMediumArray, Design, Linked_List, Queue, Programming_Skills_II_Day_2023492.68
0621Task SchedulerMediumArray, Hash_Table, Sorting, Greedy, Heap_Priority_Queue, Counting, Level_2_Day_5_Greedy26698.36
0620Not Boring MoviesEasyDatabase25964.69
0619Biggest Single NumberEasyDatabase65690.69
0617Merge Two Binary TreesEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Algorithm_I_Day_8_Breadth_First_Search_Depth_First_Search24372.83
0611Valid Triangle NumberMediumArray, Sorting, Greedy, Binary_Search, Two_Pointers, Binary_Search_II_Day_1203100.00
0610Triangle JudgementEasyDatabase46472.35
0609Find Duplicate File in SystemMediumArray, String, Hash_Table426100.00
0608Tree NodeMediumLeetCode_Curated_SQL_70, Database, SQL_I_Day_4_Union_and_Select79448.38
0607Sales PersonEasyLeetCode_Curated_SQL_70, Database, SQL_I_Day_6_Union214244.56
0606Construct String from Binary TreeMediumString, Depth_First_Search, Tree, Binary_Tree187100.00
0605Can Place FlowersEasyArray, Greedy, LeetCode_75_Array/String, Udemy_Arrays20985.71
0602Friend Requests II: Who Has the Most FriendsMediumDatabase39897.39
0601Human Traffic of StadiumHardDatabase52951.80
0600Non-negative Integers without Consecutive OnesHardDynamic_Programming142100.00
0599Minimum Index Sum of Two ListsEasyArray, String, Hash_Table293100.00
0598Range Addition IIEasyArray, Math17666.67
0596Classes More Than 5 StudentsEasyDatabase48450.92
0595Big CountriesEasyDatabase, SQL_I_Day_1_Select41756.09
0594Longest Harmonious SubsequenceEasyArray, Hash_Table, Sorting331100.00
0593Valid SquareMediumMath, Geometry16183.33
0592Fraction Addition and SubtractionMediumString, Math, Simulation164100.00
0591Tag ValidatorHardString, Stack177100.00
0590N-ary Tree Postorder TraversalEasyDepth_First_Search, Tree, Stack23788.10
0589N-ary Tree Preorder TraversalEasyDepth_First_Search, Tree, Stack, Programming_Skills_I_Day_5_Function, Level_1_Day_6_Tree23384.02
0587Erect the FenceHardArray, Math, Geometry470100.00
0586Customer Placing the Largest Number of OrdersEasyLeetCode_Curated_SQL_70, Database, SQL_I_Day_8_Function76844.85
0585Investments in 2016MediumDatabase72999.22
0584Find Customer RefereeEasyDatabase, SQL_I_Day_1_Select77943.48
0583Delete Operation for Two StringsMediumString, Dynamic_Programming, Algorithm_II_Day_17_Dynamic_Programming197100.00
0581Shortest Unsorted Continuous SubarrayMediumArray, Sorting, Greedy, Two_Pointers, Stack, Monotonic_Stack246100.00
0577Employee BonusEasyDatabase147395.83
0576Out of Boundary PathsMediumDynamic_Programming153100.00
0575Distribute CandiesEasyArray, Hash_Table53876.92
0572Subtree of Another TreeEasyDepth_First_Search, Tree, Binary_Tree, Hash_Function, String_Matching, Algorithm_II_Day_7_Breadth_First_Search_Depth_First_Search21492.39
0570Managers with at Least 5 Direct ReportsMediumDatabase45490.82
0567Permutation in StringMediumString, Hash_Table, Two_Pointers, Sliding_Window, Algorithm_I_Day_6_Sliding_Window169100.00
0566Reshape the MatrixEasyArray, Matrix, Simulation, Data_Structure_I_Day_4_Array, Programming_Skills_I_Day_7_Array23999.05
0565Array NestingMediumArray, Depth_First_Search553100.00
0564Find the Closest PalindromeHardString, Math179100.00
0563Binary Tree TiltEasyDepth_First_Search, Tree, Binary_Tree197100.00
0561Array PartitionEasyArray, Sorting, Greedy, Counting_Sort33790.48
0560Subarray Sum Equals KMediumTop_100_Liked_Questions, Array, Hash_Table, Prefix_Sum, Data_Structure_II_Day_5_Array, Big_O_Time_O(n)_Space_O(n)69253.27
0559Maximum Depth of N-ary TreeEasyDepth_First_Search, Breadth_First_Search, Tree196100.00
0558Logical OR of Two Binary Grids Represented as Quad-TreesMediumTree, Divide_and_Conquer268100.00
0557Reverse Words in a String IIIEasyString, Two_Pointers, Algorithm_I_Day_4_Two_Pointers21598.10
0556Next Greater Element IIIMediumString, Math, Two_Pointers, Programming_Skills_II_Day_1013780.00
0554Brick WallMediumArray, Hash_Table307100.00
0553Optimal DivisionMediumArray, Dynamic_Programming, Math154100.00
0552Student Attendance Record IIHardDynamic_Programming151100.00
0551Student Attendance Record IEasyString15195.00
0550Game Play Analysis IVMediumDatabase76297.74
0547Number of ProvincesMediumDepth_First_Search, Breadth_First_Search, Graph, Union_Find, LeetCode_75_Graphs/DFS, Algorithm_II_Day_6_Breadth_First_Search_Depth_First_Search, Graph_Theory_I_Day_8_Standard_Traversal, Level_2_Day_19_Union_Find22979.73
0546Remove BoxesHardArray, Dynamic_Programming, Memoization283100.00
0543Diameter of Binary TreeEasyTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Level_2_Day_7_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n)30743.93
054201 MatrixMediumArray, Dynamic_Programming, Breadth_First_Search, Matrix, Algorithm_I_Day_9_Breadth_First_Search_Depth_First_Search, Graph_Theory_I_Day_5_Matrix_Related_Problems44194.06
0541Reverse String IIEasyString, Two_Pointers20083.33
0540Single Element in a Sorted ArrayMediumArray, Binary_Search, Binary_Search_II_Day_927486.67
0539Minimum Time DifferenceMediumArray, String, Math, Sorting183100.00
0538Convert BST to Greater TreeMediumDepth_First_Search, Tree, Binary_Tree, Binary_Search_Tree25277.78
0537Complex Number MultiplicationMediumString, Math, Simulation17175.00
0535Encode and Decode TinyURLMediumString, Hash_Table, Design, Hash_Function18381.25
0532K-diff Pairs in an ArrayMediumArray, Hash_Table, Sorting, Binary_Search, Two_Pointers, Udemy_Arrays23084.62
0530Minimum Absolute Difference in BSTEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Top_Interview_150_Binary_Search_Tree20986.96
0529MinesweeperMediumArray, Depth_First_Search, Breadth_First_Search, Matrix24387.50
0528Random Pick with WeightMediumMath, Binary_Search, Prefix_Sum, Randomized, Binary_Search_II_Day_1339391.38
0526Beautiful ArrangementMediumArray, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask107100.00
0525Contiguous ArrayMediumArray, Hash_Table, Prefix_Sum471100.00
0524Longest Word in Dictionary through DeletingMediumArray, String, Sorting, Two_Pointers307100.00
0523Continuous Subarray SumMediumArray, Hash_Table, Math, Prefix_Sum68295.45
0522Longest Uncommon Subsequence IIMediumArray, String, Hash_Table, Sorting, Two_Pointers163100.00
0521Longest Uncommon Subsequence IEasyString14688.89
0520Detect CapitalEasyString16184.54
0519Random Flip MatrixMediumHash_Table, Math, Randomized, Reservoir_Sampling270100.00
0518Coin Change IIMediumArray, Dynamic_Programming, Dynamic_Programming_I_Day_20139100.00
0517Super Washing MachinesHardArray, Greedy210100.00
0516Longest Palindromic SubsequenceMediumString, Dynamic_Programming, Dynamic_Programming_I_Day_1724387.50
0515Find Largest Value in Each Tree RowMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree23873.33
0514Freedom TrailHardString, Dynamic_Programming, Depth_First_Search, Breadth_First_Search182100.00
0513Find Bottom Left Tree ValueMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree19088.24
0511Game Play Analysis IEasyLeetCode_Curated_SQL_70, Database, SQL_I_Day_8_Function79045.04
0509Fibonacci NumberEasyDynamic_Programming, Math, Recursion, Memoization, Dynamic_Programming_I_Day_1, Level_1_Day_10_Dynamic_Programming, Udemy_Dynamic_Programming13982.72
0508Most Frequent Subtree SumMediumHash_Table, Depth_First_Search, Tree, Binary_Tree24680.00
0507Perfect NumberEasyMath17281.82
0506Relative RanksEasyArray, Sorting, Heap_Priority_Queue24494.23
0504Base 7EasyMath136100.00
0503Next Greater Element IIMediumArray, Stack, Monotonic_Stack, Programming_Skills_II_Day_1033192.68
0502IPOHardArray, Sorting, Greedy, Heap_Priority_Queue, Top_Interview_150_Heap79954.55
0501Find Mode in Binary Search TreeEasyDepth_First_Search, Tree, Binary_Tree, Binary_Search_Tree23586.67
0500Keyboard RowEasyArray, String, Hash_Table17085.19
0498Diagonal TraverseMediumArray, Matrix, Simulation43061.54
0497Random Point in Non-overlapping RectanglesMediumMath, Binary_Search, Prefix_Sum, Ordered_Set, Randomized, Reservoir_Sampling759100.00
0496Next Greater Element IEasyArray, Hash_Table, Stack, Monotonic_Stack, Programming_Skills_I_Day_5_Function171100.00
0495Teemo AttackingEasyArray, Simulation283100.00
0494Target SumMediumArray, Dynamic_Programming, Backtracking, Big_O_Time_O(n*(sum+s))_Space_O(n*(sum+s))30889.61
0493Reverse PairsHardArray, Binary_Search, Ordered_Set, Divide_and_Conquer, Segment_Tree, Binary_Indexed_Tree, Merge_Sort88766.67
0492Construct the RectangleEasyMath20288.89
0491Non-decreasing SubsequencesMediumArray, Hash_Table, Bit_Manipulation, Backtracking499100.00
0488Zuma GameHardString, Dynamic_Programming, Breadth_First_Search, Memoization1727100.00
0486Predict the WinnerMediumArray, Dynamic_Programming, Math, Recursion, Game_Theory15884.62
0485Max Consecutive OnesEasyArray27288.46
0483Smallest Good BaseHardMath, Binary_Search164100.00
0482License Key FormattingEasyString23487.18
0481Magical StringMediumString, Two_Pointers124100.00
0480Sliding Window MedianHardArray, Hash_Table, Heap_Priority_Queue, Sliding_Window409100.00
0479Largest Palindrome ProductHardMath147100.00
0478Generate Random Point in a CircleMediumMath, Geometry, Randomized, Rejection_Sampling862100.00
0477Total Hamming DistanceMediumArray, Math, Bit_Manipulation298100.00
0476Number ComplementEasyBit_Manipulation133100.00
0475HeatersMediumArray, Sorting, Binary_Search, Two_Pointers35687.50
0474Ones and ZeroesMediumArray, String, Dynamic_Programming204100.00
0473Matchsticks to SquareMediumArray, Dynamic_Programming, Bit_Manipulation, Backtracking, Bitmask255100.00
0472Concatenated WordsHardArray, String, Dynamic_Programming, Depth_First_Search, Trie484100.00
0470Implement Rand10() Using Rand7()MediumMath, Randomized, Probability_and_Statistics, Rejection_Sampling220100.00
0468Validate IP AddressMediumString19262.50
0467Unique Substrings in Wraparound StringMediumString, Dynamic_Programming197100.00
0466Count The RepetitionsHardString, Dynamic_Programming147100.00
0464Can I WinMediumDynamic_Programming, Math, Bit_Manipulation, Bitmask, Memoization, Game_Theory213100.00
0463Island PerimeterEasyArray, Depth_First_Search, Breadth_First_Search, Matrix38198.04
0462Minimum Moves to Equal Array Elements IIMediumArray, Math, Sorting210100.00
0461Hamming DistanceEasyBit_Manipulation, Udemy_Bit_Manipulation15096.15
0460LFU CacheHardHash_Table, Design, Linked_List, Doubly_Linked_List1143100.00
0459Repeated Substring PatternEasyString, String_Matching, Programming_Skills_II_Day_2201100.00
0458Poor PigsHardDynamic_Programming, Math, Combinatorics13380.00
0457Circular Array LoopMediumArray, Hash_Table, Two_Pointers143100.00
0456132 PatternMediumArray, Binary_Search, Stack, Ordered_Set, Monotonic_Stack, Udemy_Arrays434100.00
0455Assign CookiesEasyArray, Sorting, Greedy26096.67
04544Sum IIMediumArray, Hash_Table66085.71
0453Minimum Moves to Equal Array ElementsMediumArray, Math282100.00
0452Minimum Number of Arrows to Burst BalloonsMediumArray, Sorting, Greedy, LeetCode_75_Intervals, Top_Interview_150_Intervals934100.00
0451Sort Characters By FrequencyMediumString, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Bucket_Sort, Data_Structure_II_Day_21_Heap_Priority_Queue28881.72
0450Delete Node in a BSTMediumTree, Binary_Tree, Binary_Search_Tree, LeetCode_75_Binary_Search_Tree, Data_Structure_II_Day_16_Tree25784.62
0449Serialize and Deserialize BSTMediumString, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Design, Binary_Search_Tree233100.00
0448Find All Numbers Disappeared in an ArrayEasyArray, Hash_Table, Udemy_Arrays394100.00
0447Number of BoomerangsMediumArray, Hash_Table, Math308100.00
0446Arithmetic Slices II - SubsequenceHardArray, Dynamic_Programming312100.00
0445Add Two Numbers IIMediumMath, Stack, Linked_List, Programming_Skills_II_Day_15, Udemy_Linked_List24082.61
0443String CompressionMediumString, Two_Pointers, LeetCode_75_Array/String19892.68
0442Find All Duplicates in an ArrayMediumArray, Hash_Table, Udemy_Arrays48073.81
0441Arranging CoinsEasyMath, Binary_Search, Binary_Search_I_Day_615084.21
0440K-th Smallest in Lexicographical OrderHardTrie149100.00
0438Find All Anagrams in a StringMediumTop_100_Liked_Questions, String, Hash_Table, Sliding_Window, Algorithm_II_Day_5_Sliding_Window, Programming_Skills_II_Day_12, Level_1_Day_12_Sliding_Window/Two_Pointer, Big_O_Time_O(n+m)_Space_O(1)56154.68
0437Path Sum IIIMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS, Level_2_Day_7_Tree, Big_O_Time_O(n)_Space_O(n)40354.12
0436Find Right IntervalMediumArray, Sorting, Binary_Search, Binary_Search_II_Day_11333100.00
0435Non-overlapping IntervalsMediumArray, Dynamic_Programming, Sorting, Greedy, LeetCode_75_Intervals, Data_Structure_II_Day_4_Array104085.07
0434Number of Segments in a StringEasyString16780.00
0433Minimum Genetic MutationMediumString, Hash_Table, Breadth_First_Search, Graph_Theory_I_Day_12_Breadth_First_Search, Top_Interview_150_Graph_BFS20482.08
0432All O`one Data StructureHardHash_Table, Design, Linked_List, Doubly_Linked_List1200100.00
0430Flatten a Multilevel Doubly Linked ListMediumDepth_First_Search, Linked_List, Doubly_Linked_List19497.44
0429N-ary Tree Level Order TraversalMediumBreadth_First_Search, Tree, Programming_Skills_II_Day_924875.86
0427Construct Quad TreeMediumArray, Tree, Matrix, Divide_and_Conquer, Top_Interview_150_Divide_and_Conquer22194.74
0424Longest Repeating Character ReplacementMediumString, Hash_Table, Sliding_Window, Level_1_Day_12_Sliding_Window/Two_Pointer28884.38
0423Reconstruct Original Digits from EnglishMediumString, Hash_Table, Math349100.00
0421Maximum XOR of Two Numbers in an ArrayMediumArray, Hash_Table, Bit_Manipulation, Trie710100.00
0420Strong Password CheckerHardString, Greedy, Heap_Priority_Queue15780.00
0419Battleships in a BoardMediumArray, Depth_First_Search, Matrix27376.92
0417Pacific Atlantic Water FlowMediumArray, Depth_First_Search, Breadth_First_Search, Matrix, Graph_Theory_I_Day_4_Matrix_Related_Problems, Level_2_Day_10_Graph/BFS/DFS, Udemy_Graph319100.00
0416Partition Equal Subset SumMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Level_2_Day_13_Dynamic_Programming, Big_O_Time_O(n*sums)_Space_O(n*sums)20498.82
0415Add StringsEasyString, Math, Simulation, Data_Structure_II_Day_6_String29676.00
0414Third Maximum NumberEasyArray, Sorting31773.00
0413Arithmetic SlicesMediumArray, Dynamic_Programming, Algorithm_II_Day_14_Dynamic_Programming, Dynamic_Programming_I_Day_10156100.00
0412Fizz BuzzEasyString, Math, Simulation, Udemy_Integers30771.81
0410Split Array Largest SumHardArray, Dynamic_Programming, Greedy, Binary_Search165100.00
0409Longest PalindromeEasyString, Hash_Table, Greedy, Data_Structure_II_Day_6_String, Level_1_Day_5_Greedy25960.71
0407Trapping Rain Water IIHardArray, Breadth_First_Search, Matrix, Heap_Priority_Queue500100.00
0406Queue Reconstruction by HeightMediumArray, Sorting, Greedy, Segment_Tree, Binary_Indexed_Tree306100.00
0405Convert a Number to HexadecimalEasyMath, Bit_Manipulation132100.00
0404Sum of Left LeavesEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Programming_Skills_I_Day_10_Linked_List_and_Tree17386.05
0403Frog JumpHardArray, Dynamic_Programming240100.00
0402Remove K DigitsMediumString, Greedy, Stack, Monotonic_Stack37575.00
0401Binary WatchEasyBit_Manipulation, Backtracking26671.43
0400Nth DigitMediumMath, Binary_Search27150.00
0399Evaluate DivisionMediumArray, Depth_First_Search, Breadth_First_Search, Graph, Union_Find, Shortest_Path, LeetCode_75_Graphs/DFS, Top_Interview_150_Graph_General18391.49
0398Random Pick IndexMediumHash_Table, Math, Randomized, Reservoir_Sampling109175.00
0397Integer ReplacementMediumDynamic_Programming, Greedy, Bit_Manipulation, Memoization14587.50
0396Rotate FunctionMediumArray, Dynamic_Programming, Math57187.50
0395Longest Substring with At Least K Repeating CharactersMediumString, Hash_Table, Sliding_Window, Divide_and_Conquer27466.67
0394Decode StringMediumTop_100_Liked_Questions, String, Stack, Recursion, LeetCode_75_Stack, Level_1_Day_14_Stack, Udemy_Strings, Big_O_Time_O(n)_Space_O(n)22464.86
0393UTF-8 ValidationMediumArray, Bit_Manipulation219100.00
0392Is SubsequenceEasyString, Dynamic_Programming, Two_Pointers, LeetCode_75_Two_Pointers, Dynamic_Programming_I_Day_19, Level_1_Day_2_String, Udemy_Two_Pointers, Top_Interview_150_Two_Pointers15687.74
0391Perfect RectangleHardArray, Line_Sweep897100.00
0390Elimination GameMediumMath, Recursion31955.56
0389Find the DifferenceEasyString, Hash_Table, Sorting, Bit_Manipulation, Programming_Skills_I_Day_8_String, Udemy_Bit_Manipulation25664.81
0388Longest Absolute File PathMediumString, Depth_First_Search, Stack150100.00
0387First Unique Character in a StringEasyString, Hash_Table, Counting, Queue, Data_Structure_I_Day_6_String36982.68
0386Lexicographical NumbersMediumDepth_First_Search, Trie46383.33
0385Mini ParserMediumString, Depth_First_Search, Stack210100.00
0384Shuffle an ArrayMediumArray, Math, Randomized, Algorithm_II_Day_20_Others94072.09
0383Ransom NoteEasyString, Hash_Table, Counting, Data_Structure_I_Day_6_String, Top_Interview_150_Hashmap33379.58
0382Linked List Random NodeMediumMath, Linked_List, Randomized, Reservoir_Sampling283100.00
0381Insert Delete GetRandom O(1) - Duplicates allowedHardArray, Hash_Table, Math, Design, Randomized131350.00
0380Insert Delete GetRandom O(1)MediumArray, Hash_Table, Math, Design, Randomized, Programming_Skills_II_Day_20, Top_Interview_150_Array/String132668.23
0378Kth Smallest Element in a Sorted MatrixMediumArray, Sorting, Binary_Search, Matrix, Heap_Priority_Queue52259.78
0377Combination Sum IVMediumArray, Dynamic_Programming, Dynamic_Programming_I_Day_2121772.41
0376Wiggle SubsequenceMediumArray, Dynamic_Programming, Greedy, Dynamic_Programming_I_Day_1816288.89
0375Guess Number Higher or Lower IIMediumDynamic_Programming, Math, Game_Theory23575.00
0374Guess Number Higher or LowerEasyBinary_Search, Interactive, LeetCode_75_Binary_Search, Binary_Search_I_Day_113494.19
0373Find K Pairs with Smallest SumsMediumArray, Heap_Priority_Queue, Top_Interview_150_Heap180980.95
0372Super PowMediumMath, Divide_and_Conquer196100.00
0371Sum of Two IntegersMediumMath, Bit_Manipulation, Udemy_Bit_Manipulation12995.45
0368Largest Divisible SubsetMediumArray, Dynamic_Programming, Math, Sorting41273.33
0367Valid Perfect SquareEasyMath, Binary_Search, Binary_Search_I_Day_313794.55
0365Water and Jug ProblemMediumMath, Depth_First_Search, Breadth_First_Search, Graph_Theory_I_Day_11_Breadth_First_Search130100.00
0363Max Sum of Rectangle No Larger Than KHardArray, Dynamic_Programming, Binary_Search, Matrix, Ordered_Set243100.00
0357Count Numbers with Unique DigitsMediumDynamic_Programming, Math, Backtracking104100.00
0355Design TwitterMediumHash_Table, Design, Heap_Priority_Queue, Linked_List28868.75
0354Russian Doll EnvelopesHardArray, Dynamic_Programming, Sorting, Binary_Search788100.00
0352Data Stream as Disjoint IntervalsHardBinary_Search, Design, Ordered_Set90575.00
0350Intersection of Two Arrays IIEasyArray, Hash_Table, Sorting, Binary_Search, Two_Pointers, Data_Structure_I_Day_3_Array, Binary_Search_I_Day_1032173.37
0349Intersection of Two ArraysEasyArray, Hash_Table, Sorting, Binary_Search, Two_Pointers34666.99
0347Top K Frequent ElementsMediumTop_100_Liked_Questions, Array, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Divide_and_Conquer, Quickselect, Bucket_Sort, Data_Structure_II_Day_20_Heap_Priority_Queue, Big_O_Time_O(n*log(n))_Space_O(k)26899.74
0345Reverse Vowels of a StringEasyString, Two_Pointers, LeetCode_75_Array/String34980.63
0344Reverse StringEasyString, Two_Pointers, Recursion, Algorithm_I_Day_4_Two_Pointers, Udemy_Strings44569.75
0343Integer BreakMediumDynamic_Programming, Math, Algorithm_II_Day_18_Dynamic_Programming, Dynamic_Programming_I_Day_2121863.89
0342Power of FourEasyMath, Bit_Manipulation, Recursion15092.11
0341Flatten Nested List IteratorMediumDepth_First_Search, Tree, Stack, Design, Queue, Iterator, Programming_Skills_II_Day_18210100.00
0338Counting BitsEasyDynamic_Programming, Bit_Manipulation, LeetCode_75_Bit_Manipulation, Udemy_Bit_Manipulation, Big_O_Time_O(num)_Space_O(num)18699.26
0337House Robber IIIMediumDynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Udemy_Tree_Stack_Queue28284.62
0336Palindrome PairsHardArray, String, Hash_Table, Trie245167.33
0335Self CrossingHardArray, Math, Geometry477100.00
0334Increasing Triplet SubsequenceMediumArray, Greedy, LeetCode_75_Array/String, Data_Structure_II_Day_5_Array67260.61
0332Reconstruct ItineraryHardDepth_First_Search, Graph, Eulerian_Circuit24093.88
0331Verify Preorder Serialization of a Binary TreeMediumString, Tree, Binary_Tree, Stack33570.00
0330Patching ArrayHardArray, Greedy201100.00
0329Longest Increasing Path in a MatrixHardDynamic_Programming, Depth_First_Search, Breadth_First_Search, Graph, Memoization, Topological_Sort32292.65
0328Odd Even Linked ListMediumLinked_List, LeetCode_75_LinkedList, Level_2_Day_4_Linked_List, Udemy_Linked_List21686.96
0327Count of Range SumHardArray, Binary_Search, Ordered_Set, Divide_and_Conquer, Segment_Tree, Binary_Indexed_Tree, Merge_Sort638100.00
0326Power of ThreeEasyMath, Recursion41376.12
0324Wiggle Sort IIMediumArray, Sorting, Divide_and_Conquer, Quickselect54557.14
0322Coin ChangeMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Algorithm_II_Day_18_Dynamic_Programming, Dynamic_Programming_I_Day_20, Level_2_Day_12_Dynamic_Programming, Top_Interview_150_1D_DP, Big_O_Time_O(m*n)_Space_O(amount)33250.68
0321Create Maximum NumberHardGreedy, Stack, Monotonic_Stack209100.00
0319Bulb SwitcherMediumMath, Brainteaser21477.78
0318Maximum Product of Word LengthsMediumArray, String, Bit_Manipulation477100.00
0316Remove Duplicate LettersMediumString, Greedy, Stack, Monotonic_Stack29181.82
0315Count of Smaller Numbers After SelfHardArray, Binary_Search, Ordered_Set, Divide_and_Conquer, Segment_Tree, Binary_Indexed_Tree, Merge_Sort128288.46
0313Super Ugly NumberMediumArray, Dynamic_Programming, Math330100.00
0312Burst BalloonsHardArray, Dynamic_Programming210100.00
0310Minimum Height TreesMediumDepth_First_Search, Breadth_First_Search, Graph, Topological_Sort52197.56
0309Best Time to Buy and Sell Stock with CooldownMediumArray, Dynamic_Programming, Dynamic_Programming_I_Day_827273.33
0307Range Sum Query - MutableMediumArray, Design, Segment_Tree, Binary_Indexed_Tree172978.79
0306Additive NumberMediumString, Backtracking26163.16
0304Range Sum Query 2D - ImmutableMediumArray, Matrix, Design, Prefix_Sum, Dynamic_Programming_I_Day_14, Programming_Skills_II_Day_13, Udemy_2D_Arrays/Matrix137385.71
0303Range Sum Query - ImmutableEasyArray, Design, Prefix_Sum, Programming_Skills_I_Day_12_Class_and_Object47263.64
0301Remove Invalid ParenthesesHardString, Breadth_First_Search, Backtracking312100.00
0300Longest Increasing SubsequenceMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Algorithm_II_Day_16_Dynamic_Programming, Binary_Search_II_Day_3, Dynamic_Programming_I_Day_18, Udemy_Dynamic_Programming, Top_Interview_150_1D_DP, Big_O_Time_O(n*log_n)_Space_O(n)31882.28
0299Bulls and CowsMediumString, Hash_Table, Counting, Level_1_Day_13_Hashmap25484.82
0297Serialize and Deserialize Binary TreeHardString, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Design, Data_Structure_II_Day_18_Tree, Udemy_Tree_Stack_Queue47578.85
0295Find Median from Data StreamHardTop_100_Liked_Questions, Sorting, Two_Pointers, Design, Heap_Priority_Queue, Data_Stream, Top_Interview_150_Heap, Big_O_Time_O(n*log_n)_Space_O(n)228933.60
0292Nim GameEasyMath, Game_Theory, Brainteaser12994.29
0290Word PatternEasyString, Hash_Table, Data_Structure_II_Day_7_String, Top_Interview_150_Hashmap17789.55
0289Game of LifeMediumArray, Matrix, Simulation, Top_Interview_150_Matrix17496.97
0287Find the Duplicate NumberMediumTop_100_Liked_Questions, Array, Binary_Search, Two_Pointers, Bit_Manipulation, Binary_Search_II_Day_5, Big_O_Time_O(n)_Space_O(n)65666.21
0284Peeking IteratorMediumArray, Design, Iterator28662.50
0283Move ZeroesEasyTop_100_Liked_Questions, Array, Two_Pointers, LeetCode_75_Two_Pointers, Algorithm_I_Day_3_Two_Pointers, Programming_Skills_I_Day_6_Array, Udemy_Arrays, Big_O_Time_O(n)_Space_O(1)51679.07
0282Expression Add OperatorsHardString, Math, Backtracking36785.71
0279Perfect SquaresMediumTop_100_Liked_Questions, Dynamic_Programming, Math, Breadth_First_Search, Dynamic_Programming_I_Day_2117698.80
0278First Bad VersionEasyBinary_Search, Interactive, Algorithm_I_Day_1_Binary_Search, Binary_Search_I_Day_5, Level_1_Day_7_Binary_Search34976.86
0275H-Index IIMediumArray, Binary_Search, Binary_Search_II_Day_839881.82
0274H-IndexMediumArray, Sorting, Counting_Sort, Top_Interview_150_Array/String29145.45
0273Integer to English WordsHardString, Math, Recursion, Udemy_Strings27382.93
0268Missing NumberEasyArray, Hash_Table, Math, Sorting, Binary_Search, Bit_Manipulation38083.49
0264Ugly Number IIMediumHash_Table, Dynamic_Programming, Math, Heap_Priority_Queue, Dynamic_Programming_I_Day_1118295.45
0263Ugly NumberEasyMath24364.10
0262Trips and UsersHardDatabase57763.97
0260Single Number IIIMediumArray, Bit_Manipulation222100.00
0258Add DigitsEasyMath, Simulation, Number_Theory23471.64
0257Binary Tree PathsEasyString, Depth_First_Search, Tree, Binary_Tree, Backtracking32072.84
0242Valid AnagramEasyString, Hash_Table, Sorting, Data_Structure_I_Day_6_String, Programming_Skills_I_Day_11_Containers_and_Libraries, Udemy_Strings, Top_Interview_150_Hashmap25187.65
0241Different Ways to Add ParenthesesMediumString, Dynamic_Programming, Math, Recursion, Memoization29473.47
0240Search a 2D Matrix IIMediumTop_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Data_Structure_II_Day_4_Array, Binary_Search_II_Day_8, Big_O_Time_O(n+m)_Space_O(1)46066.08
0239Sliding Window MaximumHardTop_100_Liked_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Udemy_Arrays, Big_O_Time_O(n*k)_Space_O(n+k)105986.14
0238Product of Array Except SelfMediumTop_100_Liked_Questions, Array, Prefix_Sum, LeetCode_75_Array/String, Data_Structure_II_Day_5_Array, Udemy_Arrays, Top_Interview_150_Array/String, Big_O_Time_O(n^2)_Space_O(n)66948.96
0237Delete Node in a Linked ListMediumLinked_List18393.00
0236Lowest Common Ancestor of a Binary TreeMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS, Data_Structure_II_Day_18_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(n)_Space_O(n)38645.21
0235Lowest Common Ancestor of a Binary Search TreeMediumDepth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Data_Structure_I_Day_14_Tree, Level_1_Day_8_Binary_Search_Tree40475.59
0234Palindrome Linked ListEasyTop_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Level_2_Day_3_Linked_List, Udemy_Linked_List, Big_O_Time_O(n)_Space_O(1)64179.53
0233Number of Digit OneHardDynamic_Programming, Math, Recursion129100.00
0232Implement Queue using StacksEasyStack, Design, Queue, Data_Structure_I_Day_9_Stack_Queue, Programming_Skills_I_Day_11_Containers_and_Libraries, Level_2_Day_16_Design25870.86
0231Power of TwoEasyMath, Bit_Manipulation, Recursion, Algorithm_I_Day_13_Bit_Manipulation16186.81
0230Kth Smallest Element in a BSTMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Data_Structure_II_Day_17_Tree, Level_2_Day_9_Binary_Search_Tree, Top_Interview_150_Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n)39333.33
0229Majority Element IIMediumArray, Hash_Table, Sorting, Counting40871.21
0228Summary RangesEasyArray, Top_Interview_150_Intervals16991.89
0227Basic Calculator IIMediumString, Math, Stack, Level_2_Day_18_Stack38362.50
0226Invert Binary TreeEasyTop_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_12_Tree, Level_2_Day_6_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(n)_Space_O(n)23354.90
0225Implement Stack using QueuesEasyStack, Design, Queue14788.57
0224Basic CalculatorHardString, Math, Stack, Recursion, Top_Interview_150_Stack29493.33
0223Rectangle AreaMediumMath, Geometry29166.67
0222Count Complete Tree NodesEasyDepth_First_Search, Tree, Binary_Search, Binary_Tree, Binary_Search_II_Day_10, Top_Interview_150_Binary_Tree_General0100.00
0221Maximal SquareMediumArray, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_16, Top_Interview_150_Multidimensional_DP, Big_O_Time_O(m*n)_Space_O(m*n)61444.00
0220Contains Duplicate IIIHardArray, Sorting, Sliding_Window, Ordered_Set, Bucket_Sort92172.22
0219Contains Duplicate IIEasyArray, Hash_Table, Sliding_Window, Top_Interview_150_Hashmap81380.46
0218The Skyline ProblemHardArray, Heap_Priority_Queue, Ordered_Set, Divide_and_Conquer, Segment_Tree, Binary_Indexed_Tree, Line_Sweep50100.00
0217Contains DuplicateEasyTop_Interview_Questions, Array, Hash_Table, Sorting, Data_Structure_I_Day_1_Array, Programming_Skills_I_Day_11_Containers_and_Libraries, Udemy_Arrays71973.49
0216Combination Sum IIIMediumArray, Backtracking, LeetCode_75_Backtracking, Udemy_Backtracking/Recursion17590.91
0215Kth Largest Element in an ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, LeetCode_75_Heap/Priority_Queue, Data_Structure_II_Day_20_Heap_Priority_Queue, Top_Interview_150_Heap, Big_O_Time_O(n*log(n))_Space_O(log(n))83934.43
0214Shortest PalindromeHardString, Hash_Function, String_Matching, Rolling_Hash278100.00
0213House Robber IIMediumArray, Dynamic_Programming, Algorithm_II_Day_12_Dynamic_Programming, Dynamic_Programming_I_Day_3, Udemy_Dynamic_Programming25759.62
0212Word Search IIHardTop_Interview_Questions, Array, String, Matrix, Backtracking, Trie, Top_Interview_150_Trie268100.00
0211Design Add and Search Words Data StructureMediumString, Depth_First_Search, Design, Trie, Top_Interview_150_Trie225687.04
0210Course Schedule IIMediumTop_Interview_Questions, Depth_First_Search, Breadth_First_Search, Graph, Topological_Sort, Level_2_Day_11_Graph/BFS/DFS, Top_Interview_150_Graph_General26696.32
0209Minimum Size Subarray SumMediumArray, Binary_Search, Prefix_Sum, Sliding_Window, Algorithm_II_Day_5_Sliding_Window, Binary_Search_II_Day_1, Top_Interview_150_Sliding_Window31596.73
0208Implement Trie (Prefix Tree)MediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, LeetCode_75_Trie, Level_2_Day_16_Design, Udemy_Trie_and_Heap, Top_Interview_150_Trie, Big_O_Time_O(word.length())_or_O(prefix.length())_Space_O(N)68961.00
0207Course ScheduleMediumTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Graph, Topological_Sort, Top_Interview_150_Graph_General, Big_O_Time_O(N)_Space_O(N)18392.07
0206Reverse Linked ListEasyTop_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, LeetCode_75_LinkedList, Data_Structure_I_Day_8_Linked_List, Algorithm_I_Day_10_Recursion_Backtracking, Level_1_Day_3_Linked_List, Udemy_Linked_List, Big_O_Time_O(N)_Space_O(1)27945.78
0205Isomorphic StringsEasyString, Hash_Table, Level_1_Day_2_String, Top_Interview_150_Hashmap27879.96
0204Count PrimesMediumTop_Interview_Questions, Array, Math, Enumeration, Number_Theory36096.61
0203Remove Linked List ElementsEasyLinked_List, Recursion, Data_Structure_I_Day_7_Linked_List23391.22
0202Happy NumberEasyTop_Interview_Questions, Hash_Table, Math, Two_Pointers, Algorithm_II_Day_21_Others, Programming_Skills_I_Day_4_Loop, Level_2_Day_1_Implementation/Simulation, Top_Interview_150_Hashmap26145.08
0201Bitwise AND of Numbers RangeMediumBit_Manipulation, Algorithm_II_Day_19_Bit_Manipulation, Top_Interview_150_Bit_Manipulation36880.00
0200Number of IslandsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Algorithm_II_Day_6_Breadth_First_Search_Depth_First_Search, Graph_Theory_I_Day_1_Matrix_Related_Problems, Level_1_Day_9_Graph/BFS/DFS, Udemy_Graph, Top_Interview_150_Graph_General, Big_O_Time_O(M*N)_Space_O(M*N)25295.41
0199Binary Tree Right Side ViewMediumTop_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/BFS, Data_Structure_II_Day_16_Tree, Level_2_Day_15_Tree, Top_Interview_150_Binary_Tree_BFS19492.89
0198House RobberMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, LeetCode_75_DP/1D, Algorithm_I_Day_12_Dynamic_Programming, Dynamic_Programming_I_Day_3, Level_2_Day_12_Dynamic_Programming, Udemy_Dynamic_Programming, Top_Interview_150_1D_DP, Big_O_Time_O(n)_Space_O(n)15692.24
0197Rising TemperatureEasyDatabase, SQL_I_Day_6_Union39494.15
0196Delete Duplicate EmailsEasyDatabase, SQL_I_Day_2_Select_and_Order59394.17
0195Tenth LineEasyShell3687.50
0194Transpose FileMediumShell6188.19
0193Valid Phone NumbersEasyShell9888.64
0192Word FrequencyMediumShell9680.40
0191Number of 1 BitsEasyTop_Interview_Questions, Bit_Manipulation, Algorithm_I_Day_13_Bit_Manipulation, Programming_Skills_I_Day_2_Operator, Udemy_Bit_Manipulation, Top_Interview_150_Bit_Manipulation23768.44
0190Reverse BitsEasyTop_Interview_Questions, Bit_Manipulation, Divide_and_Conquer, Algorithm_I_Day_14_Bit_Manipulation, Udemy_Bit_Manipulation, Top_Interview_150_Bit_Manipulation19881.82
0189Rotate ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Math, Two_Pointers, Algorithm_I_Day_2_Two_Pointers, Udemy_Arrays, Top_Interview_150_Array/String, Big_O_Time_O(n)_Space_O(1)48386.95
0188Best Time to Buy and Sell Stock IVHardArray, Dynamic_Programming, Top_Interview_150_Multidimensional_DP29368.31
0187Repeated DNA SequencesMediumString, Hash_Table, Bit_Manipulation, Sliding_Window, Hash_Function, Rolling_Hash, Data_Structure_II_Day_9_String, Udemy_Strings31979.03
0185Department Top Three SalariesHardDatabase75787.06
0184Department Highest SalaryMediumDatabase63776.01
0183Customers Who Never OrderEasyDatabase, SQL_I_Day_1_Select71233.67
0182Duplicate EmailsEasyDatabase, SQL_I_Day_10_Where39668.40
0181Employees Earning More Than Their ManagersEasyDatabase35194.75
0180Consecutive NumbersMediumDatabase69538.05
0179Largest NumberMediumTop_Interview_Questions, String, Sorting, Greedy187100.00
0178Rank ScoresMediumDatabase29285.14
0177Nth Highest SalaryMediumDatabase33886.68
0176Second Highest SalaryMediumDatabase, SQL_I_Day_4_Union_and_Select21992.54
0175Combine Two TablesEasyDatabase, SQL_I_Day_5_Union47354.97
0174Dungeon GameHardArray, Dynamic_Programming, Matrix30066.67
0173Binary Search Tree IteratorMediumTree, Binary_Tree, Stack, Design, Binary_Search_Tree, Iterator, Data_Structure_II_Day_17_Tree, Programming_Skills_II_Day_16, Level_2_Day_9_Binary_Search_Tree, Top_Interview_150_Binary_Tree_General56346.91
0172Factorial Trailing ZeroesMediumTop_Interview_Questions, Math, Udemy_Integers, Top_Interview_150_Math22067.65
0171Excel Sheet Column NumberEasyTop_Interview_Questions, String, Math31030.68
0169Majority ElementEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Sorting, Counting, Divide_and_Conquer, Data_Structure_II_Day_1_Array, Udemy_Famous_Algorithm, Top_Interview_150_Array/String, Big_O_Time_O(n)_Space_O(1)46051.25
0168Excel Sheet Column TitleEasyString, Math20866.07
0167Two Sum II - Input Array Is SortedMediumArray, Binary_Search, Two_Pointers, Algorithm_I_Day_3_Two_Pointers, Binary_Search_I_Day_7, Top_Interview_150_Two_Pointers40368.74
0166Fraction to Recurring DecimalMediumTop_Interview_Questions, String, Hash_Table, Math14790.91
0165Compare Version NumbersMediumString, Two_Pointers144100.00
0164Maximum GapMediumArray, Sorting, Bucket_Sort, Radix_Sort99168.00
0162Find Peak ElementMediumTop_Interview_Questions, Array, Binary_Search, LeetCode_75_Binary_Search, Algorithm_II_Day_2_Binary_Search, Binary_Search_II_Day_12, Top_Interview_150_Binary_Search29753.85
0160Intersection of Two Linked ListsEasyTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Data_Structure_II_Day_11_Linked_List, Udemy_Linked_List, Big_O_Time_O(M+N)_Space_O(1)26283.50
0155Min StackMediumTop_100_Liked_Questions, Top_Interview_Questions, Stack, Design, Data_Structure_II_Day_14_Stack_Queue, Programming_Skills_II_Day_18, Level_2_Day_16_Design, Udemy_Design, Top_Interview_150_Stack, Big_O_Time_O(1)_Space_O(N)33184.88
0154Find Minimum in Rotated Sorted Array IIHardArray, Binary_Search, Binary_Search_II_Day_1327584.00
0153Find Minimum in Rotated Sorted ArrayMediumTop_100_Liked_Questions, Array, Binary_Search, Algorithm_II_Day_2_Binary_Search, Binary_Search_I_Day_12, Udemy_Binary_Search, Top_Interview_150_Binary_Search, Big_O_Time_O(log_N)_Space_O(log_N)26260.96
0152Maximum Product SubarrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Dynamic_Programming_I_Day_6, Level_2_Day_13_Dynamic_Programming, Udemy_Dynamic_Programming, Big_O_Time_O(N)_Space_O(1)25388.42
0151Reverse Words in a StringMediumString, Two_Pointers, LeetCode_75_Array/String, Udemy_Strings, Top_Interview_150_Array/String20698.90
0150Evaluate Reverse Polish NotationMediumTop_Interview_Questions, Array, Math, Stack, Programming_Skills_II_Day_3, Top_Interview_150_Stack23388.82
0149Max Points on a LineHardTop_Interview_Questions, Array, Hash_Table, Math, Geometry, Algorithm_II_Day_21_Others, Top_Interview_150_Math30783.33
0148Sort ListMediumTop_100_Liked_Questions, Top_Interview_Questions, Sorting, Two_Pointers, Linked_List, Divide_and_Conquer, Merge_Sort, Level_2_Day_4_Linked_List, Top_Interview_150_Divide_and_Conquer, Big_O_Time_O(log(N))_Space_O(log(N))82061.70
0147Insertion Sort ListMediumSorting, Linked_List38552.00
0146LRU CacheMediumTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Design, Linked_List, Doubly_Linked_List, Udemy_Linked_List, Top_Interview_150_Linked_List, Big_O_Time_O(1)_Space_O(capacity)111697.93
0145Binary Tree Postorder TraversalEasyDepth_First_Search, Tree, Binary_Tree, Stack, Data_Structure_I_Day_10_Tree, Udemy_Tree_Stack_Queue21180.00
0144Binary Tree Preorder TraversalEasyDepth_First_Search, Tree, Binary_Tree, Stack, Data_Structure_I_Day_10_Tree, Udemy_Tree_Stack_Queue27737.90
0143Reorder ListMediumTwo_Pointers, Stack, Linked_List, Recursion, Data_Structure_II_Day_13_Linked_List, Programming_Skills_II_Day_1439582.26
0142Linked List Cycle IIMediumTop_100_Liked_Questions, Hash_Table, Two_Pointers, Linked_List, Data_Structure_II_Day_10_Linked_List, Level_1_Day_4_Linked_List, Udemy_Linked_List, Big_O_Time_O(N)_Space_O(1)19263.39
0141Linked List CycleEasyTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Data_Structure_I_Day_7_Linked_List, Udemy_Linked_List, Top_Interview_150_Linked_List, Big_O_Time_O(N)_Space_O(1)22391.85
0140Word Break IIHardTop_Interview_Questions, String, Hash_Table, Dynamic_Programming, Backtracking, Trie, Memoization28744.19
0139Word BreakMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Dynamic_Programming, Trie, Memoization, Algorithm_II_Day_15_Dynamic_Programming, Dynamic_Programming_I_Day_9, Udemy_Dynamic_Programming, Top_Interview_150_1D_DP, Big_O_Time_O(M+max*N)_Space_O(M+N+max)19787.17
0138Copy List with Random PointerMediumTop_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Programming_Skills_II_Day_14, Udemy_Linked_List, Top_Interview_150_Linked_List, Big_O_Time_O(N)_Space_O(N)12390.70
0137Single Number IIMediumArray, Bit_Manipulation, Top_Interview_150_Bit_Manipulation34464.29
0136Single NumberEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, LeetCode_75_Bit_Manipulation, Data_Structure_II_Day_1_Array, Algorithm_I_Day_14_Bit_Manipulation, Udemy_Integers, Top_Interview_150_Bit_Manipulation, Big_O_Time_O(N)_Space_O(1)34483.63
0135CandyHardArray, Greedy, Top_Interview_150_Array/String46658.33
0134Gas StationMediumTop_Interview_Questions, Array, Greedy, Top_Interview_150_Array/String54570.18
0133Clone GraphMediumHash_Table, Depth_First_Search, Breadth_First_Search, Graph, Udemy_Graph, Top_Interview_150_Graph_General35160.91
0132Palindrome Partitioning IIHardString, Dynamic_Programming290100.00
0131Palindrome PartitioningMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Big_O_Time_O(N*2^N)_Space_O(2^N*N)82087.27
0130Surrounded RegionsMediumTop_Interview_Questions, Array, Depth_First_Search, Breadth_First_Search, Matrix, Union_Find, Algorithm_II_Day_8_Breadth_First_Search_Depth_First_Search, Top_Interview_150_Graph_General35584.42
0129Sum Root to Leaf NumbersMediumDepth_First_Search, Tree, Binary_Tree, Top_Interview_150_Binary_Tree_General23752.50
0128Longest Consecutive SequenceMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Union_Find, Top_Interview_150_Hashmap, Big_O_Time_O(N_log_N)_Space_O(1)46097.77
0127Word LadderHardTop_Interview_Questions, String, Hash_Table, Breadth_First_Search, Graph_Theory_I_Day_12_Breadth_First_Search, Top_Interview_150_Graph_BFS39698.68
0126Word Ladder IIHardString, Hash_Table, Breadth_First_Search, Backtracking41851.45
0125Valid PalindromeEasyTop_Interview_Questions, String, Two_Pointers, Udemy_Two_Pointers, Top_Interview_150_Two_Pointers35352.06
0124Binary Tree Maximum Path SumHardTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(N)_Space_O(N)33174.42
0123Best Time to Buy and Sell Stock IIIHardArray, Dynamic_Programming, Top_Interview_150_Multidimensional_DP58595.24
0122Best Time to Buy and Sell Stock IIMediumTop_Interview_Questions, Array, Dynamic_Programming, Greedy, Dynamic_Programming_I_Day_7, Udemy_Arrays, Top_Interview_150_Array/String19795.10
0121Best Time to Buy and Sell StockEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Data_Structure_I_Day_3_Array, Dynamic_Programming_I_Day_7, Level_1_Day_5_Greedy, Udemy_Arrays, Top_Interview_150_Array/String, Big_O_Time_O(N)_Space_O(1)60994.06
0120TriangleMediumArray, Dynamic_Programming, Algorithm_I_Day_12_Dynamic_Programming, Dynamic_Programming_I_Day_13, Udemy_Dynamic_Programming, Top_Interview_150_Multidimensional_DP19497.87
0119Pascal’s Triangle IIEasyArray, Dynamic_Programming, Data_Structure_II_Day_3_Array, Dynamic_Programming_I_Day_12, Udemy_Dynamic_Programming15797.27
0118Pascal’s TriangleEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Data_Structure_I_Day_4_Array, Dynamic_Programming_I_Day_12, Udemy_Dynamic_Programming27733.22
0117Populating Next Right Pointers in Each Node IIMediumDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Linked_List, Algorithm_II_Day_7_Breadth_First_Search_Depth_First_Search, Top_Interview_150_Binary_Tree_General19994.67
0116Populating Next Right Pointers in Each NodeMediumTop_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Linked_List, Algorithm_I_Day_8_Breadth_First_Search_Depth_First_Search35569.02
0115Distinct SubsequencesHardString, Dynamic_Programming28588.89
0114Flatten Binary Tree to Linked ListMediumTop_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Linked_List, Udemy_Linked_List, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(N)_Space_O(N)19193.10
0113Path Sum IIMediumDepth_First_Search, Tree, Binary_Tree, Backtracking, Data_Structure_II_Day_16_Tree36478.67
0112Path SumEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_12_Tree, Top_Interview_150_Binary_Tree_General32236.41
0111Minimum Depth of Binary TreeEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Udemy_Tree_Stack_Queue52590.51
0110Balanced Binary TreeEasyDepth_First_Search, Tree, Binary_Tree, Programming_Skills_II_Day_2, Level_2_Day_6_Tree, Udemy_Tree_Stack_Queue18271.30
0109Convert Sorted List to Binary Search TreeMediumTree, Binary_Tree, Linked_List, Binary_Search_Tree, Divide_and_Conquer191100.00
0108Convert Sorted Array to Binary Search TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Tree, Binary_Tree, Binary_Search_Tree, Divide_and_Conquer, Data_Structure_II_Day_15_Tree, Level_2_Day_9_Binary_Search_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Divide_and_Conquer16780.29
0107Binary Tree Level Order Traversal IIMediumBreadth_First_Search, Tree, Binary_Tree18787.50
0106Construct Binary Tree from Inorder and Postorder TraversalMediumArray, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Top_Interview_150_Binary_Tree_General167100.00
0105Construct Binary Tree from Preorder and Inorder TraversalMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Tree, Binary_Tree, Divide_and_Conquer, Data_Structure_II_Day_15_Tree, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(N)_Space_O(N)18395.45
0104Maximum Depth of Binary TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, LeetCode_75_Binary_Tree/DFS, Data_Structure_I_Day_11_Tree, Programming_Skills_I_Day_10_Linked_List_and_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(N)_Space_O(H)16683.53
0103Binary Tree Zigzag Level Order TraversalMediumTop_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_II_Day_15_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_BFS17671.62
0102Binary Tree Level Order TraversalMediumTop_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_11_Tree, Level_1_Day_6_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_BFS, Big_O_Time_O(N)_Space_O(N)19895.14
0101Symmetric TreeEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_11_Tree, Level_2_Day_15_Tree, Top_Interview_150_Binary_Tree_General, Big_O_Time_O(N)_Space_O(log(N))15382.35
0100Same TreeEasyDepth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Level_2_Day_15_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Tree_General13486.63
0099Recover Binary Search TreeMediumDepth_First_Search, Tree, Binary_Tree, Binary_Search_Tree22190.00
0098Validate Binary Search TreeMediumTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Data_Structure_I_Day_14_Tree, Level_1_Day_8_Binary_Search_Tree, Udemy_Tree_Stack_Queue, Top_Interview_150_Binary_Search_Tree, Big_O_Time_O(N)_Space_O(log(N))19061.62
0097Interleaving StringMediumString, Dynamic_Programming, Top_Interview_150_Multidimensional_DP14981.58
0096Unique Binary Search TreesMediumDynamic_Programming, Math, Tree, Binary_Tree, Binary_Search_Tree, Dynamic_Programming_I_Day_11, Big_O_Time_O(n)_Space_O(1)11692.31
0095Unique Binary Search Trees IIMediumDynamic_Programming, Tree, Binary_Tree, Backtracking, Binary_Search_Tree167100.00
0094Binary Tree Inorder TraversalEasyTop_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Data_Structure_I_Day_10_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n)15266.67
0093Restore IP AddressesMediumString, Backtracking152100.00
0092Reverse Linked List IIMediumLinked_List, Top_Interview_150_Linked_List14475.00
0091Decode WaysMediumTop_Interview_Questions, String, Dynamic_Programming, Algorithm_II_Day_15_Dynamic_Programming, Dynamic_Programming_I_Day_1014879.07
0090Subsets IIMediumArray, Bit_Manipulation, Backtracking, Algorithm_II_Day_9_Recursion_Backtracking20088.33
0089Gray CodeMediumMath, Bit_Manipulation, Backtracking27169.23
0088Merge Sorted ArrayEasyTop_Interview_Questions, Array, Sorting, Two_Pointers, Data_Structure_I_Day_2_Array, Top_Interview_150_Array/String17069.74
0087Scramble StringHardString, Dynamic_Programming17487.50
0086Partition ListMediumTwo_Pointers, Linked_List, Top_Interview_150_Linked_List16070.73
0085Maximal RectangleHardArray, Dynamic_Programming, Matrix, Stack, Monotonic_Stack209100.00
0084Largest Rectangle in HistogramHardTop_100_Liked_Questions, Top_Interview_Questions, Array, Stack, Monotonic_Stack, Big_O_Time_O(n_log_n)_Space_O(log_n)47690.79
0083Remove Duplicates from Sorted ListEasyLinked_List, Data_Structure_I_Day_8_Linked_List17382.42
0082Remove Duplicates from Sorted List IIMediumTwo_Pointers, Linked_List, Data_Structure_II_Day_11_Linked_List, Algorithm_II_Day_3_Two_Pointers, Top_Interview_150_Linked_List16689.47
0081Search in Rotated Sorted Array IIMediumArray, Binary_Search, Binary_Search_II_Day_1217096.30
0080Remove Duplicates from Sorted Array IIMediumArray, Two_Pointers, Udemy_Arrays, Top_Interview_150_Array/String19280.67
0079Word SearchMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Backtracking, Algorithm_II_Day_11_Recursion_Backtracking, Top_Interview_150_Backtracking, Big_O_Time_O(4^(m*n))_Space_O(m*n)39272.92
0078SubsetsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Bit_Manipulation, Backtracking, Algorithm_II_Day_9_Recursion_Backtracking, Udemy_Backtracking/Recursion, Big_O_Time_O(2^n)_Space_O(n*2^n)17194.92
0077CombinationsMediumBacktracking, Algorithm_I_Day_11_Recursion_Backtracking, Top_Interview_150_Backtracking232100.00
0076Minimum Window SubstringHardTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Level_2_Day_14_Sliding_Window/Two_Pointer, Top_Interview_150_Sliding_Window, Big_O_Time_O(s.length())_Space_O(1)19196.38
0075Sort ColorsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Data_Structure_II_Day_2_Array, Udemy_Arrays, Big_O_Time_O(n)_Space_O(1)16464.43
0074Search a 2D MatrixMediumTop_100_Liked_Questions, Array, Binary_Search, Matrix, Data_Structure_I_Day_5_Array, Algorithm_II_Day_1_Binary_Search, Binary_Search_I_Day_8, Level_2_Day_8_Binary_Search, Udemy_2D_Arrays/Matrix, Top_Interview_150_Binary_Search, Big_O_Time_O(endRow+endCol)_Space_O(1)15974.46
0073Set Matrix ZeroesMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Matrix, Udemy_2D_Arrays/Matrix, Top_Interview_150_Matrix, Big_O_Time_O(m*n)_Space_O(1)24897.33
0072Edit DistanceMediumTop_100_Liked_Questions, String, Dynamic_Programming, LeetCode_75_DP/Multidimensional, Algorithm_II_Day_18_Dynamic_Programming, Dynamic_Programming_I_Day_19, Udemy_Dynamic_Programming, Top_Interview_150_Multidimensional_DP, Big_O_Time_O(n^2)_Space_O(n2)18292.16
0071Simplify PathMediumString, Stack, Top_Interview_150_Stack18592.86
0070Climbing StairsEasyTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Algorithm_I_Day_12_Dynamic_Programming, Dynamic_Programming_I_Day_2, Level_1_Day_10_Dynamic_Programming, Udemy_Dynamic_Programming, Top_Interview_150_1D_DP, Big_O_Time_O(n)_Space_O(n)12471.98
0069Sqrt(x)EasyTop_Interview_Questions, Math, Binary_Search, Binary_Search_I_Day_4, Top_Interview_150_Math14094.72
0068Text JustificationHardArray, String, Simulation, Top_Interview_150_Array/String15392.96
0067Add BinaryEasyString, Math, Bit_Manipulation, Simulation, Programming_Skills_II_Day_5, Top_Interview_150_Bit_Manipulation16490.60
0066Plus OneEasyTop_Interview_Questions, Array, Math, Programming_Skills_II_Day_3, Udemy_Arrays, Top_Interview_150_Math14898.75
0065Valid NumberHardString151100.00
0064Minimum Path SumMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_16, Udemy_Dynamic_Programming, Top_Interview_150_Multidimensional_DP, Big_O_Time_O(m*n)_Space_O(m*n)164100.00
0063Unique Paths IIMediumArray, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_15, Top_Interview_150_Multidimensional_DP15181.94
0062Unique PathsMediumTop_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Combinatorics, LeetCode_75_DP/Multidimensional, Algorithm_II_Day_13_Dynamic_Programming, Dynamic_Programming_I_Day_15, Level_1_Day_11_Dynamic_Programming, Big_O_Time_O(m*n)_Space_O(m*n)11894.65
0061Rotate ListMediumTwo_Pointers, Linked_List, Programming_Skills_II_Day_16, Udemy_Linked_List, Top_Interview_150_Linked_List16092.22
0060Permutation SequenceHardMath, Recursion132100.00
0059Spiral Matrix IIMediumArray, Matrix, Simulation, Data_Structure_II_Day_3_Array15341.70
0058Length of Last WordEasyString, Programming_Skills_II_Day_6, Udemy_Arrays, Top_Interview_150_Array/String13593.67
0057Insert IntervalMediumArray, Level_2_Day_17_Interval, Top_Interview_150_Intervals24975.63
0056Merge IntervalsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Data_Structure_II_Day_2_Array, Level_2_Day_17_Interval, Udemy_2D_Arrays/Matrix, Top_Interview_150_Intervals, Big_O_Time_O(n_log_n)_Space_O(n)33480.67
0055Jump GameMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Algorithm_II_Day_12_Dynamic_Programming, Dynamic_Programming_I_Day_4, Udemy_Arrays, Top_Interview_150_Array/String, Big_O_Time_O(n)_Space_O(1)33289.35
0054Spiral MatrixMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Matrix, Simulation, Programming_Skills_II_Day_8, Level_2_Day_1_Implementation/Simulation, Udemy_2D_Arrays/Matrix, Top_Interview_150_Matrix13295.12
0053Maximum SubarrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Divide_and_Conquer, Data_Structure_I_Day_1_Array, Dynamic_Programming_I_Day_5, Udemy_Famous_Algorithm, Top_Interview_150_Kadane’s_Algorithm, Big_O_Time_O(n)_Space_O(1)51078.81
0052N-Queens IIHardBacktracking, Top_Interview_150_Backtracking12897.56
0051N-QueensHardTop_100_Liked_Questions, Array, Backtracking, Big_O_Time_O(N!)_Space_O(N)19290.74
0050Pow(x, n)MediumTop_Interview_Questions, Math, Recursion, Udemy_Integers, Top_Interview_150_Math17238.68
0049Group AnagramsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Data_Structure_II_Day_8_String, Programming_Skills_II_Day_11, Udemy_Strings, Top_Interview_150_Hashmap, Big_O_Time_O(n*k_log_k)_Space_O(n)30896.34
0048Rotate ImageMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Math, Matrix, Data_Structure_II_Day_3_Array, Programming_Skills_II_Day_7, Udemy_2D_Arrays/Matrix, Top_Interview_150_Matrix, Big_O_Time_O(n^2)_Space_O(1)16090.11
0047Permutations IIMediumArray, Backtracking, Algorithm_II_Day_10_Recursion_Backtracking199100.00
0046PermutationsMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Backtracking, Algorithm_I_Day_11_Recursion_Backtracking, Level_2_Day_20_Brute_Force/Backtracking, Udemy_Backtracking/Recursion, Top_Interview_150_Backtracking, Big_O_Time_O(n*n!)_Space_O(n+n!)18899.00
0045Jump Game IIMediumTop_100_Liked_Questions, Array, Dynamic_Programming, Greedy, Algorithm_II_Day_13_Dynamic_Programming, Dynamic_Programming_I_Day_4, Top_Interview_150_Array/String, Big_O_Time_O(n)_Space_O(1)20893.37
0044Wildcard MatchingHardTop_Interview_Questions, String, Dynamic_Programming, Greedy, Recursion, Udemy_Dynamic_Programming22084.85
0043Multiply StringsMediumString, Math, Simulation, Data_Structure_II_Day_8_String, Programming_Skills_II_Day_4, Level_2_Day_2_String16596.72
0042Trapping Rain WaterHardTop_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Two_Pointers, Stack, Monotonic_Stack, Dynamic_Programming_I_Day_9, Udemy_Two_Pointers, Top_Interview_150_Array/String, Big_O_Time_O(n)_Space_O(1)18999.37
0041First Missing PositiveHardTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Udemy_Arrays, Big_O_Time_O(n)_Space_O(n)35797.17
0040Combination Sum IIMediumArray, Backtracking, Algorithm_II_Day_10_Recursion_Backtracking21793.75
0039Combination SumMediumTop_100_Liked_Questions, Array, Backtracking, Algorithm_II_Day_10_Recursion_Backtracking, Level_2_Day_20_Brute_Force/Backtracking, Udemy_Backtracking/Recursion, Top_Interview_150_Backtracking, Big_O_Time_O(2^n)_Space_O(n+2^n)22688.89
0038Count and SayMediumTop_Interview_Questions, String135100.00
0037Sudoku SolverHardArray, Matrix, Backtracking148100.00
0036Valid SudokuMediumTop_Interview_Questions, Array, Hash_Table, Matrix, Data_Structure_I_Day_5_Array, Top_Interview_150_Matrix18195.15
0035Search Insert PositionEasyTop_100_Liked_Questions, Array, Binary_Search, Algorithm_I_Day_1_Binary_Search, Binary_Search_I_Day_2, Top_Interview_150_Binary_Search, Big_O_Time_O(log_n)_Space_O(1)15993.03
0034Find First and Last Position of Element in Sorted ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Algorithm_II_Day_1_Binary_Search, Binary_Search_I_Day_5, Top_Interview_150_Binary_Search, Big_O_Time_O(log_n)_Space_O(1)174100.00
0033Search in Rotated Sorted ArrayMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Algorithm_II_Day_1_Binary_Search, Binary_Search_I_Day_11, Level_2_Day_8_Binary_Search, Udemy_Binary_Search, Top_Interview_150_Binary_Search, Big_O_Time_O(log_n)_Space_O(1)15193.77
0032Longest Valid ParenthesesHardTop_100_Liked_Questions, String, Dynamic_Programming, Stack, Big_O_Time_O(n)_Space_O(1)16182.14
0031Next PermutationMediumTop_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1)20548.21
0030Substring with Concatenation of All WordsHardString, Hash_Table, Sliding_Window, Top_Interview_150_Sliding_Window1498.62
0029Divide Two IntegersMediumTop_Interview_Questions, Math, Bit_Manipulation, Udemy_Bit_Manipulation14482.50
0028Find the Index of the First Occurrence in a StringEasyTop_Interview_Questions, String, Two_Pointers, String_Matching, Programming_Skills_II_Day_1, Top_Interview_150_Array/String12697.58
0027Remove ElementEasyArray, Two_Pointers, Top_Interview_150_Array/String16276.44
0026Remove Duplicates from Sorted ArrayEasyTop_Interview_Questions, Array, Two_Pointers, Udemy_Two_Pointers, Top_Interview_150_Array/String24967.38
0025Reverse Nodes in k-GroupHardTop_100_Liked_Questions, Linked_List, Recursion, Data_Structure_II_Day_13_Linked_List, Udemy_Linked_List, Top_Interview_150_Linked_List, Big_O_Time_O(n)_Space_O(k)18967.03
0024Swap Nodes in PairsMediumTop_100_Liked_Questions, Linked_List, Recursion, Data_Structure_II_Day_12_Linked_List, Udemy_Linked_List, Big_O_Time_O(n)_Space_O(1)14944.20
0023Merge k Sorted ListsHardTop_100_Liked_Questions, Top_Interview_Questions, Heap_Priority_Queue, Linked_List, Divide_and_Conquer, Merge_Sort, Top_Interview_150_Divide_and_Conquer, Big_O_Time_O(k*n*log(k))_Space_O(log(k))19893.77
0022Generate ParenthesesMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Backtracking, Algorithm_II_Day_11_Recursion_Backtracking, Udemy_Backtracking/Recursion, Top_Interview_150_Backtracking, Big_O_Time_O(2^n)_Space_O(n)16185.45
0021Merge Two Sorted ListsEasyTop_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Data_Structure_I_Day_7_Linked_List, Algorithm_I_Day_10_Recursion_Backtracking, Level_1_Day_3_Linked_List, Udemy_Linked_List, Top_Interview_150_Linked_List, Big_O_Time_O(m+n)_Space_O(m+n)15792.24
0020Valid ParenthesesEasyTop_100_Liked_Questions, Top_Interview_Questions, String, Stack, Data_Structure_I_Day_9_Stack_Queue, Udemy_Strings, Top_Interview_150_Stack, Big_O_Time_O(n)_Space_O(n)13788.76
0019Remove Nth Node From End of ListMediumTop_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Algorithm_I_Day_5_Two_Pointers, Level_2_Day_3_Linked_List, Top_Interview_150_Linked_List, Big_O_Time_O(L)_Space_O(L)14496.28
00184SumMediumArray, Sorting, Two_Pointers22998.59
0017Letter Combinations of a Phone NumberMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Backtracking, LeetCode_75_Backtracking, Algorithm_II_Day_11_Recursion_Backtracking, Udemy_Backtracking/Recursion, Top_Interview_150_Backtracking, Big_O_Time_O(4^n)_Space_O(n)15595.24
00163Sum ClosestMediumArray, Sorting, Two_Pointers, Level_2_Day_14_Sliding_Window/Two_Pointer163100.00
00153SumMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Data_Structure_II_Day_1_Array, Algorithm_II_Day_3_Two_Pointers, Udemy_Two_Pointers, Top_Interview_150_Two_Pointers, Big_O_Time_O(n*log(n))_Space_O(n^2)49393.45
0014Longest Common PrefixEasyTop_Interview_Questions, String, Level_2_Day_2_String, Udemy_Strings, Top_Interview_150_Array/String, Big_O_Time_O(n*m)_Space_O(m)15489.70
0013Roman to IntegerEasyTop_Interview_Questions, String, Hash_Table, Math, Top_Interview_150_Array/String, Big_O_Time_O(n)_Space_O(1)21183.47
0012Integer to RomanMediumString, Hash_Table, Math, Top_Interview_150_Array/String, Big_O_Time_O(1)_Space_O(1)18098.25
0011Container With Most WaterMediumTop_100_Liked_Questions, Top_Interview_Questions, Array, Greedy, Two_Pointers, LeetCode_75_Two_Pointers, Algorithm_II_Day_4_Two_Pointers, Top_Interview_150_Two_Pointers, Big_O_Time_O(n)_Space_O(1)40278.57
0010Regular Expression MatchingHardTop_Interview_Questions, String, Dynamic_Programming, Recursion, Udemy_Dynamic_Programming, Big_O_Time_O(m*n)_Space_O(m*n)17185.26
0009Palindrome NumberEasyMath, Udemy_Integers, Top_Interview_150_Math, Big_O_Time_O(log10(x))_Space_O(1)21795.34
0008String to Integer (atoi)MediumTop_Interview_Questions, String, Big_O_Time_O(n)_Space_O(n)17282.90
0007Reverse IntegerMediumTop_Interview_Questions, Math, Udemy_Integers, Big_O_Time_O(log10(x))_Space_O(1)14977.89
0006Zigzag ConversionMediumString, Top_Interview_150_Array/String, Big_O_Time_O(n)_Space_O(n)20097.79
0005Longest Palindromic SubstringMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Data_Structure_II_Day_9_String, Algorithm_II_Day_14_Dynamic_Programming, Dynamic_Programming_I_Day_17, Udemy_Strings, Top_Interview_150_Multidimensional_DP, Big_O_Time_O(n)_Space_O(n)16299.00
0004Median of Two Sorted ArraysHardTop_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Divide_and_Conquer, Top_Interview_150_Binary_Search, Big_O_Time_O(log(min(N,M)))_Space_O(1), AI_can_be_used_to_solve_the_task29375.96
0003Longest Substring Without Repeating CharactersMediumTop_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Algorithm_I_Day_6_Sliding_Window, Level_2_Day_14_Sliding_Window/Two_Pointer, Udemy_Strings, Top_Interview_150_Sliding_Window, Big_O_Time_O(n)_Space_O(1), AI_can_be_used_to_solve_the_task20187.28
0002Add Two NumbersMediumTop_100_Liked_Questions, Top_Interview_Questions, Math, Linked_List, Recursion, Data_Structure_II_Day_10_Linked_List, Programming_Skills_II_Day_15, Top_Interview_150_Linked_List, Big_O_Time_O(max(N,M))_Space_O(max(N,M)), AI_can_be_used_to_solve_the_task20396.13
0001Two SumEasyTop_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Data_Structure_I_Day_2_Array, Level_1_Day_13_Hashmap, Udemy_Arrays, Top_Interview_150_Hashmap, Big_O_Time_O(n)_Space_O(n), AI_can_be_used_to_solve_the_task20291.18
This site is open source.Improve this page.

[8]ページ先頭

©2009-2025 Movatter.jp