返回介绍

solution / README_EN

发布于 2024-06-17 01:04:41 字数 741266 浏览 0 评论 0 收藏 0

LeetCode

中文文档

Solutions

Press Control + F(or Command + F on the Mac) to search anything you want.

#SolutionTagsDifficultyRemark
0001Two SumArray,Hash TableEasy
0002Add Two NumbersRecursion,Linked List,MathMedium
0003Longest Substring Without Repeating CharactersHash Table,String,Sliding WindowMedium
0004Median of Two Sorted ArraysArray,Binary Search,Divide and ConquerHard
0005Longest Palindromic SubstringString,Dynamic ProgrammingMedium
0006Zigzag ConversionStringMedium
0007Reverse IntegerMathMedium
0008String to Integer (atoi)StringMedium
0009Palindrome NumberMathEasy
0010Regular Expression MatchingRecursion,String,Dynamic ProgrammingHard
0011Container With Most WaterGreedy,Array,Two PointersMedium
0012Integer to RomanHash Table,Math,StringMedium
0013Roman to IntegerHash Table,Math,StringEasy
0014Longest Common PrefixTrie,StringEasy
00153SumArray,Two Pointers,SortingMedium
00163Sum ClosestArray,Two Pointers,SortingMedium
0017Letter Combinations of a Phone NumberHash Table,String,BacktrackingMedium
00184SumArray,Two Pointers,SortingMedium
0019Remove Nth Node From End of ListLinked List,Two PointersMedium
0020Valid ParenthesesStack,StringEasy
0021Merge Two Sorted ListsRecursion,Linked ListEasy
0022Generate ParenthesesString,Dynamic Programming,BacktrackingMedium
0023Merge k Sorted ListsLinked List,Divide and Conquer,Heap (Priority Queue),Merge SortHard
0024Swap Nodes in PairsRecursion,Linked ListMedium
0025Reverse Nodes in k-GroupRecursion,Linked ListHard
0026Remove Duplicates from Sorted ArrayArray,Two PointersEasy
0027Remove ElementArray,Two PointersEasy
0028Find the Index of the First Occurrence in a StringTwo Pointers,String,String MatchingEasy
0029Divide Two IntegersBit Manipulation,MathMedium
0030Substring with Concatenation of All WordsHash Table,String,Sliding WindowHard
0031Next PermutationArray,Two PointersMedium
0032Longest Valid ParenthesesStack,String,Dynamic ProgrammingHard
0033Search in Rotated Sorted ArrayArray,Binary SearchMedium
0034Find First and Last Position of Element in Sorted ArrayArray,Binary SearchMedium
0035Search Insert PositionArray,Binary SearchEasy
0036Valid SudokuArray,Hash Table,MatrixMedium
0037Sudoku SolverArray,Hash Table,Backtracking,MatrixHard
0038Count and SayStringMedium
0039Combination SumArray,BacktrackingMedium
0040Combination Sum IIArray,BacktrackingMedium
0041First Missing PositiveArray,Hash TableHard
0042Trapping Rain WaterStack,Array,Two Pointers,Dynamic Programming,Monotonic StackHard
0043Multiply StringsMath,String,SimulationMedium
0044Wildcard MatchingGreedy,Recursion,String,Dynamic ProgrammingHard
0045Jump Game IIGreedy,Array,Dynamic ProgrammingMedium
0046PermutationsArray,BacktrackingMedium
0047Permutations IIArray,BacktrackingMedium
0048Rotate ImageArray,Math,MatrixMedium
0049Group AnagramsArray,Hash Table,String,SortingMedium
0050Pow(x, n)Recursion,MathMedium
0051N-QueensArray,BacktrackingHard
0052N-Queens IIBacktrackingHard
0053Maximum SubarrayArray,Divide and Conquer,Dynamic ProgrammingMedium
0054Spiral MatrixArray,Matrix,SimulationMedium
0055Jump GameGreedy,Array,Dynamic ProgrammingMedium
0056Merge IntervalsArray,SortingMedium
0057Insert IntervalArrayMedium
0058Length of Last WordStringEasy
0059Spiral Matrix IIArray,Matrix,SimulationMedium
0060Permutation SequenceRecursion,MathHard
0061Rotate ListLinked List,Two PointersMedium
0062Unique PathsMath,Dynamic Programming,CombinatoricsMedium
0063Unique Paths IIArray,Dynamic Programming,MatrixMedium
0064Minimum Path SumArray,Dynamic Programming,MatrixMedium
0065Valid NumberStringHard
0066Plus OneArray,MathEasy
0067Add BinaryBit Manipulation,Math,String,SimulationEasy
0068Text JustificationArray,String,SimulationHard
0069Sqrt(x)Math,Binary SearchEasy
0070Climbing StairsMemoization,Math,Dynamic ProgrammingEasy
0071Simplify PathStack,StringMedium
0072Edit DistanceString,Dynamic ProgrammingMedium
0073Set Matrix ZeroesArray,Hash Table,MatrixMedium
0074Search a 2D MatrixArray,Binary Search,MatrixMedium
0075Sort ColorsArray,Two Pointers,SortingMedium
0076Minimum Window SubstringHash Table,String,Sliding WindowHard
0077CombinationsBacktrackingMedium
0078SubsetsBit Manipulation,Array,BacktrackingMedium
0079Word SearchArray,String,Backtracking,MatrixMedium
0080Remove Duplicates from Sorted Array IIArray,Two PointersMedium
0081Search in Rotated Sorted Array IIArray,Binary SearchMedium
0082Remove Duplicates from Sorted List IILinked List,Two PointersMedium
0083Remove Duplicates from Sorted ListLinked ListEasy
0084Largest Rectangle in HistogramStack,Array,Monotonic StackHard
0085Maximal RectangleStack,Array,Dynamic Programming,Matrix,Monotonic StackHard
0086Partition ListLinked List,Two PointersMedium
0087Scramble StringString,Dynamic ProgrammingHard
0088Merge Sorted ArrayArray,Two Pointers,SortingEasy
0089Gray CodeBit Manipulation,Math,BacktrackingMedium
0090Subsets IIBit Manipulation,Array,BacktrackingMedium
0091Decode WaysString,Dynamic ProgrammingMedium
0092Reverse Linked List IILinked ListMedium
0093Restore IP AddressesString,BacktrackingMedium
0094Binary Tree Inorder TraversalStack,Tree,Depth-First Search,Binary TreeEasy
0095Unique Binary Search Trees IITree,Binary Search Tree,Dynamic Programming,Backtracking,Binary TreeMedium
0096Unique Binary Search TreesTree,Binary Search Tree,Math,Dynamic Programming,Binary TreeMedium
0097Interleaving StringString,Dynamic ProgrammingMedium
0098Validate Binary Search TreeTree,Depth-First Search,Binary Search Tree,Binary TreeMedium
0099Recover Binary Search TreeTree,Depth-First Search,Binary Search Tree,Binary TreeMedium
0100Same TreeTree,Depth-First Search,Breadth-First Search,Binary TreeEasy
0101Symmetric TreeTree,Depth-First Search,Breadth-First Search,Binary TreeEasy
0102Binary Tree Level Order TraversalTree,Breadth-First Search,Binary TreeMedium
0103Binary Tree Zigzag Level Order TraversalTree,Breadth-First Search,Binary TreeMedium
0104Maximum Depth of Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeEasy
0105Construct Binary Tree from Preorder and Inorder TraversalTree,Array,Hash Table,Divide and Conquer,Binary TreeMedium
0106Construct Binary Tree from Inorder and Postorder TraversalTree,Array,Hash Table,Divide and Conquer,Binary TreeMedium
0107Binary Tree Level Order Traversal IITree,Breadth-First Search,Binary TreeMedium
0108Convert Sorted Array to Binary Search TreeTree,Binary Search Tree,Array,Divide and Conquer,Binary TreeEasy
0109Convert Sorted List to Binary Search TreeTree,Binary Search Tree,Linked List,Divide and Conquer,Binary TreeMedium
0110Balanced Binary TreeTree,Depth-First Search,Binary TreeEasy
0111Minimum Depth of Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeEasy
0112Path SumTree,Depth-First Search,Breadth-First Search,Binary TreeEasy
0113Path Sum IITree,Depth-First Search,Backtracking,Binary TreeMedium
0114Flatten Binary Tree to Linked ListStack,Tree,Depth-First Search,Linked List,Binary TreeMedium
0115Distinct SubsequencesString,Dynamic ProgrammingHard
0116Populating Next Right Pointers in Each NodeTree,Depth-First Search,Breadth-First Search,Linked List,Binary TreeMedium
0117Populating Next Right Pointers in Each Node IITree,Depth-First Search,Breadth-First Search,Linked List,Binary TreeMedium
0118Pascal's TriangleArray,Dynamic ProgrammingEasy
0119Pascal's Triangle IIArray,Dynamic ProgrammingEasy
0120TriangleArray,Dynamic ProgrammingMedium
0121Best Time to Buy and Sell StockArray,Dynamic ProgrammingEasy
0122Best Time to Buy and Sell Stock IIGreedy,Array,Dynamic ProgrammingMedium
0123Best Time to Buy and Sell Stock IIIArray,Dynamic ProgrammingHard
0124Binary Tree Maximum Path SumTree,Depth-First Search,Dynamic Programming,Binary TreeHard
0125Valid PalindromeTwo Pointers,StringEasy
0126Word Ladder IIBreadth-First Search,Hash Table,String,BacktrackingHard
0127Word LadderBreadth-First Search,Hash Table,StringHard
0128Longest Consecutive SequenceUnion Find,Array,Hash TableMedium
0129Sum Root to Leaf NumbersTree,Depth-First Search,Binary TreeMedium
0130Surrounded RegionsDepth-First Search,Breadth-First Search,Union Find,Array,MatrixMedium
0131Palindrome PartitioningString,Dynamic Programming,BacktrackingMedium
0132Palindrome Partitioning IIString,Dynamic ProgrammingHard
0133Clone GraphDepth-First Search,Breadth-First Search,Graph,Hash TableMedium
0134Gas StationGreedy,ArrayMedium
0135CandyGreedy,ArrayHard
0136Single NumberBit Manipulation,ArrayEasy
0137Single Number IIBit Manipulation,ArrayMedium
0138Copy List with Random PointerHash Table,Linked ListMedium
0139Word BreakTrie,Memoization,Array,Hash Table,String,Dynamic ProgrammingMedium
0140Word Break IITrie,Memoization,Array,Hash Table,String,Dynamic Programming,BacktrackingHard
0141Linked List CycleHash Table,Linked List,Two PointersEasy
0142Linked List Cycle IIHash Table,Linked List,Two PointersMedium
0143Reorder ListStack,Recursion,Linked List,Two PointersMedium
0144Binary Tree Preorder TraversalStack,Tree,Depth-First Search,Binary TreeEasy
0145Binary Tree Postorder TraversalStack,Tree,Depth-First Search,Binary TreeEasy
0146LRU CacheDesign,Hash Table,Linked List,Doubly-Linked ListMedium
0147Insertion Sort ListLinked List,SortingMedium
0148Sort ListLinked List,Two Pointers,Divide and Conquer,Sorting,Merge SortMedium
0149Max Points on a LineGeometry,Array,Hash Table,MathHard
0150Evaluate Reverse Polish NotationStack,Array,MathMedium
0151Reverse Words in a StringTwo Pointers,StringMedium
0152Maximum Product SubarrayArray,Dynamic ProgrammingMedium
0153Find Minimum in Rotated Sorted ArrayArray,Binary SearchMedium
0154Find Minimum in Rotated Sorted Array IIArray,Binary SearchHard
0155Min StackStack,DesignMedium
0156Binary Tree Upside DownTree,Depth-First Search,Binary TreeMedium????
0157Read N Characters Given Read4Array,Interactive,SimulationEasy????
0158Read N Characters Given read4 II - Call Multiple TimesArray,Interactive,SimulationHard????
0159Longest Substring with At Most Two Distinct CharactersHash Table,String,Sliding WindowMedium????
0160Intersection of Two Linked ListsHash Table,Linked List,Two PointersEasy
0161One Edit DistanceTwo Pointers,StringMedium????
0162Find Peak ElementArray,Binary SearchMedium
0163Missing RangesArrayEasy????
0164Maximum GapArray,Bucket Sort,Radix Sort,SortingMedium
0165Compare Version NumbersTwo Pointers,StringMedium
0166Fraction to Recurring DecimalHash Table,Math,StringMedium
0167Two Sum II - Input Array Is SortedArray,Two Pointers,Binary SearchMedium
0168Excel Sheet Column TitleMath,StringEasy
0169Majority ElementArray,Hash Table,Divide and Conquer,Counting,SortingEasy
0170Two Sum III - Data structure designDesign,Array,Hash Table,Two Pointers,Data StreamEasy????
0171Excel Sheet Column NumberMath,StringEasy
0172Factorial Trailing ZeroesMathMedium
0173Binary Search Tree IteratorStack,Tree,Design,Binary Search Tree,Binary Tree,IteratorMedium
0174Dungeon GameArray,Dynamic Programming,MatrixHard
0175Combine Two TablesDatabaseEasy
0176Second Highest SalaryDatabaseMedium
0177Nth Highest SalaryDatabaseMedium
0178Rank ScoresDatabaseMedium
0179Largest NumberGreedy,Array,String,SortingMedium
0180Consecutive NumbersDatabaseMedium
0181Employees Earning More Than Their ManagersDatabaseEasy
0182Duplicate EmailsDatabaseEasy
0183Customers Who Never OrderDatabaseEasy
0184Department Highest SalaryDatabaseMedium
0185Department Top Three SalariesDatabaseHard
0186Reverse Words in a String IITwo Pointers,StringMedium????
0187Repeated DNA SequencesBit Manipulation,Hash Table,String,Sliding Window,Hash Function,Rolling HashMedium
0188Best Time to Buy and Sell Stock IVArray,Dynamic ProgrammingHard
0189Rotate ArrayArray,Math,Two PointersMedium
0190Reverse BitsBit Manipulation,Divide and ConquerEasy
0191Number of 1 BitsBit Manipulation,Divide and ConquerEasy
0192Word FrequencyShellMedium
0193Valid Phone NumbersShellEasy
0194Transpose FileShellMedium
0195Tenth LineShellEasy
0196Delete Duplicate EmailsDatabaseEasy
0197Rising TemperatureDatabaseEasy
0198House RobberArray,Dynamic ProgrammingMedium
0199Binary Tree Right Side ViewTree,Depth-First Search,Breadth-First Search,Binary TreeMedium
0200Number of IslandsDepth-First Search,Breadth-First Search,Union Find,Array,MatrixMedium
0201Bitwise AND of Numbers RangeBit ManipulationMedium
0202Happy NumberHash Table,Math,Two PointersEasy
0203Remove Linked List ElementsRecursion,Linked ListEasy
0204Count PrimesArray,Math,Enumeration,Number TheoryMedium
0205Isomorphic StringsHash Table,StringEasy
0206Reverse Linked ListRecursion,Linked ListEasy
0207Course ScheduleDepth-First Search,Breadth-First Search,Graph,Topological SortMedium
0208Implement Trie (Prefix Tree)Design,Trie,Hash Table,StringMedium
0209Minimum Size Subarray SumArray,Binary Search,Prefix Sum,Sliding WindowMedium
0210Course Schedule IIDepth-First Search,Breadth-First Search,Graph,Topological SortMedium
0211Design Add and Search Words Data StructureDepth-First Search,Design,Trie,StringMedium
0212Word Search IITrie,Array,String,Backtracking,MatrixHard
0213House Robber IIArray,Dynamic ProgrammingMedium
0214Shortest PalindromeString,String Matching,Hash Function,Rolling HashHard
0215Kth Largest Element in an ArrayArray,Divide and Conquer,Quickselect,Sorting,Heap (Priority Queue)Medium
0216Combination Sum IIIArray,BacktrackingMedium
0217Contains DuplicateArray,Hash Table,SortingEasy
0218The Skyline ProblemBinary Indexed Tree,Segment Tree,Array,Divide and Conquer,Ordered Set,Line Sweep,Heap (Priority Queue)Hard
0219Contains Duplicate IIArray,Hash Table,Sliding WindowEasy
0220Contains Duplicate IIIArray,Bucket Sort,Ordered Set,Sorting,Sliding WindowHard
0221Maximal SquareArray,Dynamic Programming,MatrixMedium
0222Count Complete Tree NodesBit Manipulation,Tree,Binary Search,Binary TreeEasy
0223Rectangle AreaGeometry,MathMedium
0224Basic CalculatorStack,Recursion,Math,StringHard
0225Implement Stack using QueuesStack,Design,QueueEasy
0226Invert Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeEasy
0227Basic Calculator IIStack,Math,StringMedium
0228Summary RangesArrayEasy
0229Majority Element IIArray,Hash Table,Counting,SortingMedium
0230Kth Smallest Element in a BSTTree,Depth-First Search,Binary Search Tree,Binary TreeMedium
0231Power of TwoBit Manipulation,Recursion,MathEasy
0232Implement Queue using StacksStack,Design,QueueEasy
0233Number of Digit OneRecursion,Math,Dynamic ProgrammingHard
0234Palindrome Linked ListStack,Recursion,Linked List,Two PointersEasy
0235Lowest Common Ancestor of a Binary Search TreeTree,Depth-First Search,Binary Search Tree,Binary TreeMedium
0236Lowest Common Ancestor of a Binary TreeTree,Depth-First Search,Binary TreeMedium
0237Delete Node in a Linked ListLinked ListMedium
0238Product of Array Except SelfArray,Prefix SumMedium
0239Sliding Window MaximumQueue,Array,Sliding Window,Monotonic Queue,Heap (Priority Queue)Hard
0240Search a 2D Matrix IIArray,Binary Search,Divide and Conquer,MatrixMedium
0241Different Ways to Add ParenthesesRecursion,Memoization,Math,String,Dynamic ProgrammingMedium
0242Valid AnagramHash Table,String,SortingEasy
0243Shortest Word DistanceArray,StringEasy????
0244Shortest Word Distance IIDesign,Array,Hash Table,Two Pointers,StringMedium????
0245Shortest Word Distance IIIArray,StringMedium????
0246Strobogrammatic NumberHash Table,Two Pointers,StringEasy????
0247Strobogrammatic Number IIRecursion,Array,StringMedium????
0248Strobogrammatic Number IIIRecursion,Array,StringHard????
0249Group Shifted StringsArray,Hash Table,StringMedium????
0250Count Univalue SubtreesTree,Depth-First Search,Binary TreeMedium????
0251Flatten 2D VectorDesign,Array,Two Pointers,IteratorMedium????
0252Meeting RoomsArray,SortingEasy????
0253Meeting Rooms IIGreedy,Array,Two Pointers,Prefix Sum,Sorting,Heap (Priority Queue)Medium????
0254Factor CombinationsBacktrackingMedium????
0255Verify Preorder Sequence in Binary Search TreeStack,Tree,Binary Search Tree,Recursion,Array,Binary Tree,Monotonic StackMedium????
0256Paint HouseArray,Dynamic ProgrammingMedium????
0257Binary Tree PathsTree,Depth-First Search,String,Backtracking,Binary TreeEasy
0258Add DigitsMath,Number Theory,SimulationEasy
02593Sum SmallerArray,Two Pointers,Binary Search,SortingMedium????
0260Single Number IIIBit Manipulation,ArrayMedium
0261Graph Valid TreeDepth-First Search,Breadth-First Search,Union Find,GraphMedium????
0262Trips and UsersDatabaseHard
0263Ugly NumberMathEasy
0264Ugly Number IIHash Table,Math,Dynamic Programming,Heap (Priority Queue)Medium
0265Paint House IIArray,Dynamic ProgrammingHard????
0266Palindrome PermutationBit Manipulation,Hash Table,StringEasy????
0267Palindrome Permutation IIHash Table,String,BacktrackingMedium????
0268Missing NumberBit Manipulation,Array,Hash Table,Math,Binary Search,SortingEasy
0269Alien DictionaryDepth-First Search,Breadth-First Search,Graph,Topological Sort,Array,StringHard????
0270Closest Binary Search Tree ValueTree,Depth-First Search,Binary Search Tree,Binary Search,Binary TreeEasy????
0271Encode and Decode StringsDesign,Array,StringMedium????
0272Closest Binary Search Tree Value IIStack,Tree,Depth-First Search,Binary Search Tree,Two Pointers,Binary Tree,Heap (Priority Queue)Hard????
0273Integer to English WordsRecursion,Math,StringHard
0274H-IndexArray,Counting Sort,SortingMedium
0275H-Index IIArray,Binary SearchMedium
0276Paint FenceDynamic ProgrammingMedium????
0277Find the CelebrityGraph,Two Pointers,InteractiveMedium????
0278First Bad VersionBinary Search,InteractiveEasy
0279Perfect SquaresBreadth-First Search,Math,Dynamic ProgrammingMedium
0280Wiggle SortGreedy,Array,SortingMedium????
0281Zigzag IteratorDesign,Queue,Array,IteratorMedium????
0282Expression Add OperatorsMath,String,BacktrackingHard
0283Move ZeroesArray,Two PointersEasy
0284Peeking IteratorDesign,Array,IteratorMedium
0285Inorder Successor in BSTTree,Depth-First Search,Binary Search Tree,Binary TreeMedium????
0286Walls and GatesBreadth-First Search,Array,MatrixMedium????
0287Find the Duplicate NumberBit Manipulation,Array,Two Pointers,Binary SearchMedium
0288Unique Word AbbreviationDesign,Array,Hash Table,StringMedium????
0289Game of LifeArray,Matrix,SimulationMedium
0290Word PatternHash Table,StringEasy
0291Word Pattern IIHash Table,String,BacktrackingMedium????
0292Nim GameBrainteaser,Math,Game TheoryEasy
0293Flip GameStringEasy????
0294Flip Game IIMemoization,Math,Dynamic Programming,Backtracking,Game TheoryMedium????
0295Find Median from Data StreamDesign,Two Pointers,Data Stream,Sorting,Heap (Priority Queue)Hard
0296Best Meeting PointArray,Math,Matrix,SortingHard????
0297Serialize and Deserialize Binary TreeTree,Depth-First Search,Breadth-First Search,Design,String,Binary TreeHard
0298Binary Tree Longest Consecutive SequenceTree,Depth-First Search,Binary TreeMedium????
0299Bulls and CowsHash Table,String,CountingMedium
0300Longest Increasing SubsequenceArray,Binary Search,Dynamic ProgrammingMedium
0301Remove Invalid ParenthesesBreadth-First Search,String,BacktrackingHard
0302Smallest Rectangle Enclosing Black PixelsDepth-First Search,Breadth-First Search,Array,Binary Search,MatrixHard????
0303Range Sum Query - ImmutableDesign,Array,Prefix SumEasy
0304Range Sum Query 2D - ImmutableDesign,Array,Matrix,Prefix SumMedium
0305Number of Islands IIUnion Find,ArrayHard????
0306Additive NumberString,BacktrackingMedium
0307Range Sum Query - MutableDesign,Binary Indexed Tree,Segment Tree,ArrayMedium
0308Range Sum Query 2D - MutableDesign,Binary Indexed Tree,Segment Tree,Array,MatrixHard????
0309Best Time to Buy and Sell Stock with CooldownArray,Dynamic ProgrammingMedium
0310Minimum Height TreesDepth-First Search,Breadth-First Search,Graph,Topological SortMedium
0311Sparse Matrix MultiplicationArray,Hash Table,MatrixMedium????
0312Burst BalloonsArray,Dynamic ProgrammingHard
0313Super Ugly NumberArray,Math,Dynamic ProgrammingMedium
0314Binary Tree Vertical Order TraversalTree,Depth-First Search,Breadth-First Search,Hash Table,Binary TreeMedium????
0315Count of Smaller Numbers After SelfBinary Indexed Tree,Segment Tree,Array,Binary Search,Divide and Conquer,Ordered Set,Merge SortHard
0316Remove Duplicate LettersStack,Greedy,String,Monotonic StackMedium
0317Shortest Distance from All BuildingsBreadth-First Search,Array,MatrixHard????
0318Maximum Product of Word LengthsBit Manipulation,Array,StringMedium
0319Bulb SwitcherBrainteaser,MathMedium
0320Generalized AbbreviationBit Manipulation,String,BacktrackingMedium????
0321Create Maximum NumberStack,Greedy,Monotonic StackHard
0322Coin ChangeBreadth-First Search,Array,Dynamic ProgrammingMedium
0323Number of Connected Components in an Undirected GraphDepth-First Search,Breadth-First Search,Union Find,GraphMedium????
0324Wiggle Sort IIArray,Divide and Conquer,Quickselect,SortingMedium
0325Maximum Size Subarray Sum Equals kArray,Hash Table,Prefix SumMedium????
0326Power of ThreeRecursion,MathEasy
0327Count of Range SumBinary Indexed Tree,Segment Tree,Array,Binary Search,Divide and Conquer,Ordered Set,Merge SortHard
0328Odd Even Linked ListLinked ListMedium
0329Longest Increasing Path in a MatrixDepth-First Search,Breadth-First Search,Graph,Topological Sort,Memoization,Array,Dynamic Programming,MatrixHard
0330Patching ArrayGreedy,ArrayHard
0331Verify Preorder Serialization of a Binary TreeStack,Tree,String,Binary TreeMedium
0332Reconstruct ItineraryDepth-First Search,Graph,Eulerian CircuitHard
0333Largest BST SubtreeTree,Depth-First Search,Binary Search Tree,Dynamic Programming,Binary TreeMedium????
0334Increasing Triplet SubsequenceGreedy,ArrayMedium
0335Self CrossingGeometry,Array,MathHard
0336Palindrome PairsTrie,Array,Hash Table,StringHard
0337House Robber IIITree,Depth-First Search,Dynamic Programming,Binary TreeMedium
0338Counting BitsBit Manipulation,Dynamic ProgrammingEasy
0339Nested List Weight SumDepth-First Search,Breadth-First SearchMedium????
0340Longest Substring with At Most K Distinct CharactersHash Table,String,Sliding WindowMedium????
0341Flatten Nested List IteratorStack,Tree,Depth-First Search,Design,Queue,IteratorMedium
0342Power of FourBit Manipulation,Recursion,MathEasy
0343Integer BreakMath,Dynamic ProgrammingMedium
0344Reverse StringTwo Pointers,StringEasy
0345Reverse Vowels of a StringTwo Pointers,StringEasy
0346Moving Average from Data StreamDesign,Queue,Array,Data StreamEasy????
0347Top K Frequent ElementsArray,Hash Table,Divide and Conquer,Bucket Sort,Counting,Quickselect,Sorting,Heap (Priority Queue)Medium
0348Design Tic-Tac-ToeDesign,Array,Hash Table,Matrix,SimulationMedium????
0349Intersection of Two ArraysArray,Hash Table,Two Pointers,Binary Search,SortingEasy
0350Intersection of Two Arrays IIArray,Hash Table,Two Pointers,Binary Search,SortingEasy
0351Android Unlock PatternsDynamic Programming,BacktrackingMedium????
0352Data Stream as Disjoint IntervalsDesign,Binary Search,Ordered SetHard
0353Design Snake GameDesign,Queue,Array,Hash Table,SimulationMedium????
0354Russian Doll EnvelopesArray,Binary Search,Dynamic Programming,SortingHard
0355Design TwitterDesign,Hash Table,Linked List,Heap (Priority Queue)Medium
0356Line ReflectionArray,Hash Table,MathMedium????
0357Count Numbers with Unique DigitsMath,Dynamic Programming,BacktrackingMedium
0358Rearrange String k Distance ApartGreedy,Hash Table,String,Counting,Sorting,Heap (Priority Queue)Hard????
0359Logger Rate LimiterDesign,Hash Table,Data StreamEasy????
0360Sort Transformed ArrayArray,Math,Two Pointers,SortingMedium????
0361Bomb EnemyArray,Dynamic Programming,MatrixMedium????
0362Design Hit CounterDesign,Queue,Array,Binary Search,Data StreamMedium????
0363Max Sum of Rectangle No Larger Than KArray,Binary Search,Matrix,Ordered Set,Prefix SumHard
0364Nested List Weight Sum IIStack,Depth-First Search,Breadth-First SearchMedium????
0365Water and Jug ProblemDepth-First Search,Breadth-First Search,MathMedium
0366Find Leaves of Binary TreeTree,Depth-First Search,Binary TreeMedium????
0367Valid Perfect SquareMath,Binary SearchEasy
0368Largest Divisible SubsetArray,Math,Dynamic Programming,SortingMedium
0369Plus One Linked ListLinked List,MathMedium????
0370Range AdditionArray,Prefix SumMedium????
0371Sum of Two IntegersBit Manipulation,MathMedium
0372Super PowMath,Divide and ConquerMedium
0373Find K Pairs with Smallest SumsArray,Heap (Priority Queue)Medium
0374Guess Number Higher or LowerBinary Search,InteractiveEasy
0375Guess Number Higher or Lower IIMath,Dynamic Programming,Game TheoryMedium
0376Wiggle SubsequenceGreedy,Array,Dynamic ProgrammingMedium
0377Combination Sum IVArray,Dynamic ProgrammingMedium
0378Kth Smallest Element in a Sorted MatrixArray,Binary Search,Matrix,Sorting,Heap (Priority Queue)Medium
0379Design Phone DirectoryDesign,Queue,Array,Hash Table,Linked ListMedium????
0380Insert Delete GetRandom O(1)Design,Array,Hash Table,Math,RandomizedMedium
0381Insert Delete GetRandom O(1) - Duplicates allowedDesign,Array,Hash Table,Math,RandomizedHard
0382Linked List Random NodeReservoir Sampling,Linked List,Math,RandomizedMedium
0383Ransom NoteHash Table,String,CountingEasy
0384Shuffle an ArrayArray,Math,RandomizedMedium
0385Mini ParserStack,Depth-First Search,StringMedium
0386Lexicographical NumbersDepth-First Search,TrieMedium
0387First Unique Character in a StringQueue,Hash Table,String,CountingEasy
0388Longest Absolute File PathStack,Depth-First Search,StringMedium
0389Find the DifferenceBit Manipulation,Hash Table,String,SortingEasy
0390Elimination GameRecursion,MathMedium
0391Perfect RectangleArray,Line SweepHard
0392Is SubsequenceTwo Pointers,String,Dynamic ProgrammingEasy
0393UTF-8 ValidationBit Manipulation,ArrayMedium
0394Decode StringStack,Recursion,StringMedium
0395Longest Substring with At Least K Repeating CharactersHash Table,String,Divide and Conquer,Sliding WindowMedium
0396Rotate FunctionArray,Math,Dynamic ProgrammingMedium
0397Integer ReplacementGreedy,Bit Manipulation,Memoization,Dynamic ProgrammingMedium
0398Random Pick IndexReservoir Sampling,Hash Table,Math,RandomizedMedium
0399Evaluate DivisionDepth-First Search,Breadth-First Search,Union Find,Graph,Array,Shortest PathMedium
0400Nth DigitMath,Binary SearchMedium
0401Binary WatchBit Manipulation,BacktrackingEasy
0402Remove K DigitsStack,Greedy,String,Monotonic StackMedium
0403Frog JumpArray,Dynamic ProgrammingHard
0404Sum of Left LeavesTree,Depth-First Search,Breadth-First Search,Binary TreeEasy
0405Convert a Number to HexadecimalBit Manipulation,MathEasy
0406Queue Reconstruction by HeightBinary Indexed Tree,Segment Tree,Array,SortingMedium
0407Trapping Rain Water IIBreadth-First Search,Array,Matrix,Heap (Priority Queue)Hard
0408Valid Word AbbreviationTwo Pointers,StringEasy????
0409Longest PalindromeGreedy,Hash Table,StringEasy
0410Split Array Largest SumGreedy,Array,Binary Search,Dynamic Programming,Prefix SumHard
0411Minimum Unique Word AbbreviationBit Manipulation,String,BacktrackingHard????
0412Fizz BuzzMath,String,SimulationEasy
0413Arithmetic SlicesArray,Dynamic ProgrammingMedium
0414Third Maximum NumberArray,SortingEasy
0415Add StringsMath,String,SimulationEasy
0416Partition Equal Subset SumArray,Dynamic ProgrammingMedium
0417Pacific Atlantic Water FlowDepth-First Search,Breadth-First Search,Array,MatrixMedium
0418Sentence Screen FittingString,Dynamic Programming,SimulationMedium????
0419Battleships in a BoardDepth-First Search,Array,MatrixMedium
0420Strong Password CheckerGreedy,String,Heap (Priority Queue)Hard
0421Maximum XOR of Two Numbers in an ArrayBit Manipulation,Trie,Array,Hash TableMedium
0422Valid Word SquareArray,MatrixEasy????
0423Reconstruct Original Digits from EnglishHash Table,Math,StringMedium
0424Longest Repeating Character ReplacementHash Table,String,Sliding WindowMedium
0425Word SquaresTrie,Array,String,BacktrackingHard????
0426Convert Binary Search Tree to Sorted Doubly Linked ListStack,Tree,Depth-First Search,Binary Search Tree,Linked List,Binary Tree,Doubly-Linked ListMedium????
0427Construct Quad TreeTree,Array,Divide and Conquer,MatrixMedium
0428Serialize and Deserialize N-ary TreeTree,Depth-First Search,Breadth-First Search,StringHard????
0429N-ary Tree Level Order TraversalTree,Breadth-First SearchMedium
0430Flatten a Multilevel Doubly Linked ListDepth-First Search,Linked List,Doubly-Linked ListMedium
0431Encode N-ary Tree to Binary TreeTree,Depth-First Search,Breadth-First Search,Design,Binary TreeHard????
0432[All Oone Data Structure](/solution/0400-0499/0432.All%20O%60one%20Data%20Structure/README_EN.md) |Design,Hash Table,Linked List,Doubly-Linked List`Hard
0433Minimum Genetic MutationBreadth-First Search,Hash Table,StringMedium
0434Number of Segments in a StringStringEasy
0435Non-overlapping IntervalsGreedy,Array,Dynamic Programming,SortingMedium
0436Find Right IntervalArray,Binary Search,SortingMedium
0437Path Sum IIITree,Depth-First Search,Binary TreeMedium
0438Find All Anagrams in a StringHash Table,String,Sliding WindowMedium
0439Ternary Expression ParserStack,Recursion,StringMedium????
0440K-th Smallest in Lexicographical OrderTrieHard
0441Arranging CoinsMath,Binary SearchEasy
0442Find All Duplicates in an ArrayArray,Hash TableMedium
0443String CompressionTwo Pointers,StringMedium
0444Sequence ReconstructionGraph,Topological Sort,ArrayMedium????
0445Add Two Numbers IIStack,Linked List,MathMedium
0446Arithmetic Slices II - SubsequenceArray,Dynamic ProgrammingHard
0447Number of BoomerangsArray,Hash Table,MathMedium
0448Find All Numbers Disappeared in an ArrayArray,Hash TableEasy
0449Serialize and Deserialize BSTTree,Depth-First Search,Breadth-First Search,Design,Binary Search Tree,String,Binary TreeMedium
0450Delete Node in a BSTTree,Binary Search Tree,Binary TreeMedium
0451Sort Characters By FrequencyHash Table,String,Bucket Sort,Counting,Sorting,Heap (Priority Queue)Medium
0452Minimum Number of Arrows to Burst BalloonsGreedy,Array,SortingMedium
0453Minimum Moves to Equal Array ElementsArray,MathMedium
04544Sum IIArray,Hash TableMedium
0455Assign CookiesGreedy,Array,Two Pointers,SortingEasy
0456132 PatternStack,Array,Binary Search,Ordered Set,Monotonic StackMedium
0457Circular Array LoopArray,Hash Table,Two PointersMedium
0458Poor PigsMath,Dynamic Programming,CombinatoricsHard
0459Repeated Substring PatternString,String MatchingEasy
0460LFU CacheDesign,Hash Table,Linked List,Doubly-Linked ListHard
0461Hamming DistanceBit ManipulationEasy
0462Minimum Moves to Equal Array Elements IIArray,Math,SortingMedium
0463Island PerimeterDepth-First Search,Breadth-First Search,Array,MatrixEasy
0464Can I WinBit Manipulation,Memoization,Math,Dynamic Programming,Bitmask,Game TheoryMedium
0465Optimal Account BalancingBit Manipulation,Array,Dynamic Programming,Backtracking,BitmaskHard????
0466Count The RepetitionsString,Dynamic ProgrammingHard
0467Unique Substrings in Wraparound StringString,Dynamic ProgrammingMedium
0468Validate IP AddressStringMedium
0469Convex PolygonGeometry,MathMedium????
0470Implement Rand10() Using Rand7()Math,Rejection Sampling,Probability and Statistics,RandomizedMedium
0471Encode String with Shortest LengthString,Dynamic ProgrammingHard????
0472Concatenated WordsDepth-First Search,Trie,Array,String,Dynamic ProgrammingHard
0473Matchsticks to SquareBit Manipulation,Array,Dynamic Programming,Backtracking,BitmaskMedium
0474Ones and ZeroesArray,String,Dynamic ProgrammingMedium
0475HeatersArray,Two Pointers,Binary Search,SortingMedium
0476Number ComplementBit ManipulationEasy
0477Total Hamming DistanceBit Manipulation,Array,MathMedium
0478Generate Random Point in a CircleGeometry,Math,Rejection Sampling,RandomizedMedium
0479Largest Palindrome ProductMathHard
0480Sliding Window MedianArray,Hash Table,Sliding Window,Heap (Priority Queue)Hard
0481Magical StringTwo Pointers,StringMedium
0482License Key FormattingStringEasy
0483Smallest Good BaseMath,Binary SearchHard
0484Find PermutationStack,Greedy,Array,StringMedium????
0485Max Consecutive OnesArrayEasy
0486Predict the WinnerRecursion,Array,Math,Dynamic Programming,Game TheoryMedium
0487Max Consecutive Ones IIArray,Dynamic Programming,Sliding WindowMedium????
0488Zuma GameStack,Breadth-First Search,Memoization,String,Dynamic ProgrammingHard
0489Robot Room CleanerBacktracking,InteractiveHard????
0490The MazeDepth-First Search,Breadth-First Search,Array,MatrixMedium????
0491Non-decreasing SubsequencesBit Manipulation,Array,Hash Table,BacktrackingMedium
0492Construct the RectangleMathEasy
0493Reverse PairsBinary Indexed Tree,Segment Tree,Array,Binary Search,Divide and Conquer,Ordered Set,Merge SortHard
0494Target SumArray,Dynamic Programming,BacktrackingMedium
0495Teemo AttackingArray,SimulationEasy
0496Next Greater Element IStack,Array,Hash Table,Monotonic StackEasy
0497Random Point in Non-overlapping RectanglesReservoir Sampling,Array,Math,Binary Search,Ordered Set,Prefix Sum,RandomizedMedium
0498Diagonal TraverseArray,Matrix,SimulationMedium
0499The Maze IIIDepth-First Search,Breadth-First Search,Graph,Array,String,Matrix,Shortest Path,Heap (Priority Queue)Hard????
0500Keyboard RowArray,Hash Table,StringEasy
0501Find Mode in Binary Search TreeTree,Depth-First Search,Binary Search Tree,Binary TreeEasy
0502IPOGreedy,Array,Sorting,Heap (Priority Queue)Hard
0503Next Greater Element IIStack,Array,Monotonic StackMedium
0504Base 7MathEasy
0505The Maze IIDepth-First Search,Breadth-First Search,Graph,Array,Matrix,Shortest Path,Heap (Priority Queue)Medium????
0506Relative RanksArray,Sorting,Heap (Priority Queue)Easy
0507Perfect NumberMathEasy
0508Most Frequent Subtree SumTree,Depth-First Search,Hash Table,Binary TreeMedium
0509Fibonacci NumberRecursion,Memoization,Math,Dynamic ProgrammingEasy
0510Inorder Successor in BST IITree,Binary Search Tree,Binary TreeMedium????
0511Game Play Analysis IDatabaseEasy
0512Game Play Analysis IIDatabaseEasy????
0513Find Bottom Left Tree ValueTree,Depth-First Search,Breadth-First Search,Binary TreeMedium
0514Freedom TrailDepth-First Search,Breadth-First Search,String,Dynamic ProgrammingHard
0515Find Largest Value in Each Tree RowTree,Depth-First Search,Breadth-First Search,Binary TreeMedium
0516Longest Palindromic SubsequenceString,Dynamic ProgrammingMedium
0517Super Washing MachinesGreedy,ArrayHard
0518Coin Change IIArray,Dynamic ProgrammingMedium
0519Random Flip MatrixReservoir Sampling,Hash Table,Math,RandomizedMedium
0520Detect CapitalStringEasy
0521Longest Uncommon Subsequence IStringEasy
0522Longest Uncommon Subsequence IIArray,Hash Table,Two Pointers,String,SortingMedium
0523Continuous Subarray SumArray,Hash Table,Math,Prefix SumMedium
0524Longest Word in Dictionary through DeletingArray,Two Pointers,String,SortingMedium
0525Contiguous ArrayArray,Hash Table,Prefix SumMedium
0526Beautiful ArrangementBit Manipulation,Array,Dynamic Programming,Backtracking,BitmaskMedium
0527Word AbbreviationGreedy,Trie,Array,String,SortingHard????
0528Random Pick with WeightArray,Math,Binary Search,Prefix Sum,RandomizedMedium
0529MinesweeperDepth-First Search,Breadth-First Search,Array,MatrixMedium
0530Minimum Absolute Difference in BSTTree,Depth-First Search,Breadth-First Search,Binary Search Tree,Binary TreeEasy
0531Lonely Pixel IArray,Hash Table,MatrixMedium????
0532K-diff Pairs in an ArrayArray,Hash Table,Two Pointers,Binary Search,SortingMedium
0533Lonely Pixel IIArray,Hash Table,MatrixMedium????
0534Game Play Analysis IIIDatabaseMedium????
0535Encode and Decode TinyURLDesign,Hash Table,String,Hash FunctionMedium
0536Construct Binary Tree from StringTree,Depth-First Search,String,Binary TreeMedium????
0537Complex Number MultiplicationMath,String,SimulationMedium
0538Convert BST to Greater TreeTree,Depth-First Search,Binary Search Tree,Binary TreeMedium
0539Minimum Time DifferenceArray,Math,String,SortingMedium
0540Single Element in a Sorted ArrayArray,Binary SearchMedium
0541Reverse String IITwo Pointers,StringEasy
054201 MatrixBreadth-First Search,Array,Dynamic Programming,MatrixMedium
0543Diameter of Binary TreeTree,Depth-First Search,Binary TreeEasy
0544Output Contest MatchesRecursion,String,SimulationMedium????
0545Boundary of Binary TreeTree,Depth-First Search,Binary TreeMedium????
0546Remove BoxesMemoization,Array,Dynamic ProgrammingHard
0547Number of ProvincesDepth-First Search,Breadth-First Search,Union Find,GraphMedium
0548Split Array with Equal SumArray,Prefix SumHard????
0549Binary Tree Longest Consecutive Sequence IITree,Depth-First Search,Binary TreeMedium????
0550Game Play Analysis IVDatabaseMedium
0551Student Attendance Record IStringEasy
0552Student Attendance Record IIDynamic ProgrammingHard
0553Optimal DivisionArray,Math,Dynamic ProgrammingMedium
0554Brick WallArray,Hash TableMedium
0555Split Concatenated StringsGreedy,Array,StringMedium????
0556Next Greater Element IIIMath,Two Pointers,StringMedium
0557Reverse Words in a String IIITwo Pointers,StringEasy
0558Logical OR of Two Binary Grids Represented as Quad-TreesTree,Divide and ConquerMedium
0559Maximum Depth of N-ary TreeTree,Depth-First Search,Breadth-First SearchEasy
0560Subarray Sum Equals KArray,Hash Table,Prefix SumMedium
0561Array PartitionGreedy,Array,Counting Sort,SortingEasy
0562Longest Line of Consecutive One in MatrixArray,Dynamic Programming,MatrixMedium????
0563Binary Tree TiltTree,Depth-First Search,Binary TreeEasy
0564Find the Closest PalindromeMath,StringHard
0565Array NestingDepth-First Search,ArrayMedium
0566Reshape the MatrixArray,Matrix,SimulationEasy
0567Permutation in StringHash Table,Two Pointers,String,Sliding WindowMedium
0568Maximum Vacation DaysArray,Dynamic Programming,MatrixHard????
0569Median Employee SalaryDatabaseHard????
0570Managers with at Least 5 Direct ReportsDatabaseMedium
0571Find Median Given Frequency of NumbersDatabaseHard????
0572Subtree of Another TreeTree,Depth-First Search,Binary Tree,String Matching,Hash FunctionEasy
0573Squirrel SimulationArray,MathMedium????
0574Winning CandidateDatabaseMedium????
0575Distribute CandiesArray,Hash TableEasy
0576Out of Boundary PathsDynamic ProgrammingMedium
0577Employee BonusDatabaseEasy
0578Get Highest Answer Rate QuestionDatabaseMedium????
0579Find Cumulative Salary of an EmployeeDatabaseHard????
0580Count Student Number in DepartmentsDatabaseMedium????
0581Shortest Unsorted Continuous SubarrayStack,Greedy,Array,Two Pointers,Sorting,Monotonic StackMedium
0582Kill ProcessTree,Depth-First Search,Breadth-First Search,Array,Hash TableMedium????
0583Delete Operation for Two StringsString,Dynamic ProgrammingMedium
0584Find Customer RefereeDatabaseEasy
0585Investments in 2016DatabaseMedium
0586Customer Placing the Largest Number of OrdersDatabaseEasy
0587Erect the FenceGeometry,Array,MathHard
0588Design In-Memory File SystemDesign,Trie,Hash Table,StringHard????
0589N-ary Tree Preorder TraversalStack,Tree,Depth-First SearchEasy
0590N-ary Tree Postorder TraversalStack,Tree,Depth-First SearchEasy
0591Tag ValidatorStack,StringHard
0592Fraction Addition and SubtractionMath,String,SimulationMedium
0593Valid SquareGeometry,MathMedium
0594Longest Harmonious SubsequenceArray,Hash Table,Counting,Sorting,Sliding WindowEasy
0595Big CountriesDatabaseEasy
0596Classes More Than 5 StudentsDatabaseEasy
0597Friend Requests I Overall Acceptance RateDatabaseEasy????
0598Range Addition IIArray,MathEasy
0599Minimum Index Sum of Two ListsArray,Hash Table,StringEasy
0600Non-negative Integers without Consecutive OnesDynamic ProgrammingHard
0601Human Traffic of StadiumDatabaseHard
0602Friend Requests II Who Has the Most FriendsDatabaseMedium
0603Consecutive Available SeatsDatabaseEasy????
0604Design Compressed String IteratorDesign,Array,String,IteratorEasy????
0605Can Place FlowersGreedy,ArrayEasy
0606Construct String from Binary TreeTree,Depth-First Search,String,Binary TreeMedium
0607Sales PersonDatabaseEasy
0608Tree NodeDatabaseMedium
0609Find Duplicate File in SystemArray,Hash Table,StringMedium
0610Triangle JudgementDatabaseEasy
0611Valid Triangle NumberGreedy,Array,Two Pointers,Binary Search,SortingMedium
0612Shortest Distance in a PlaneDatabaseMedium????
0613Shortest Distance in a LineDatabaseEasy????
0614Second Degree FollowerDatabaseMedium????
0615Average Salary Departments VS CompanyDatabaseHard????
0616Add Bold Tag in StringTrie,Array,Hash Table,String,String MatchingMedium????
0617Merge Two Binary TreesTree,Depth-First Search,Breadth-First Search,Binary TreeEasy
0618Students Report By GeographyDatabaseHard????
0619Biggest Single NumberDatabaseEasy
0620Not Boring MoviesDatabaseEasy
0621Task SchedulerGreedy,Array,Hash Table,Counting,Sorting,Heap (Priority Queue)Medium
0622Design Circular QueueDesign,Queue,Array,Linked ListMedium
0623Add One Row to TreeTree,Depth-First Search,Breadth-First Search,Binary TreeMedium
0624Maximum Distance in ArraysGreedy,ArrayMedium????
0625Minimum FactorizationGreedy,MathMedium????
0626Exchange SeatsDatabaseMedium
0627Swap SalaryDatabaseEasy
0628Maximum Product of Three NumbersArray,Math,SortingEasy
0629K Inverse Pairs ArrayDynamic ProgrammingHard
0630Course Schedule IIIGreedy,Array,Sorting,Heap (Priority Queue)Hard
0631Design Excel Sum FormulaGraph,Design,Topological Sort,Array,MatrixHard????
0632Smallest Range Covering Elements from K ListsGreedy,Array,Hash Table,Sorting,Sliding Window,Heap (Priority Queue)Hard
0633Sum of Square NumbersMath,Two Pointers,Binary SearchMedium
0634Find the Derangement of An ArrayMath,Dynamic ProgrammingMedium????
0635Design Log Storage SystemDesign,Hash Table,String,Ordered SetMedium????
0636Exclusive Time of FunctionsStack,ArrayMedium
0637Average of Levels in Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeEasy
0638Shopping OffersBit Manipulation,Memoization,Array,Dynamic Programming,Backtracking,BitmaskMedium
0639Decode Ways IIString,Dynamic ProgrammingHard
0640Solve the EquationMath,String,SimulationMedium
0641Design Circular DequeDesign,Queue,Array,Linked ListMedium
0642Design Search Autocomplete SystemDesign,Trie,String,Data StreamHard????
0643Maximum Average Subarray IArray,Sliding WindowEasy
0644Maximum Average Subarray IIArray,Binary Search,Prefix SumHard????
0645Set MismatchBit Manipulation,Array,Hash Table,SortingEasy
0646Maximum Length of Pair ChainGreedy,Array,Dynamic Programming,SortingMedium
0647Palindromic SubstringsString,Dynamic ProgrammingMedium
0648Replace WordsTrie,Array,Hash Table,StringMedium
0649Dota2 SenateGreedy,Queue,StringMedium
06502 Keys KeyboardMath,Dynamic ProgrammingMedium
06514 Keys KeyboardMath,Dynamic ProgrammingMedium????
0652Find Duplicate SubtreesTree,Depth-First Search,Hash Table,Binary TreeMedium
0653Two Sum IV - Input is a BSTTree,Depth-First Search,Breadth-First Search,Binary Search Tree,Hash Table,Two Pointers,Binary TreeEasy
0654Maximum Binary TreeStack,Tree,Array,Divide and Conquer,Binary Tree,Monotonic StackMedium
0655Print Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeMedium
0656Coin PathArray,Dynamic ProgrammingHard????
0657Robot Return to OriginString,SimulationEasy
0658Find K Closest ElementsArray,Two Pointers,Binary Search,Sorting,Sliding Window,Heap (Priority Queue)Medium
0659Split Array into Consecutive SubsequencesGreedy,Array,Hash Table,Heap (Priority Queue)Medium
0660Remove 9MathHard????
0661Image SmootherArray,MatrixEasy
0662Maximum Width of Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeMedium
0663Equal Tree PartitionTree,Depth-First Search,Binary TreeMedium????
0664Strange PrinterString,Dynamic ProgrammingHard
0665Non-decreasing ArrayArrayMedium
0666Path Sum IVTree,Depth-First Search,Array,Hash Table,Binary TreeMedium????
0667Beautiful Arrangement IIArray,MathMedium
0668Kth Smallest Number in Multiplication TableMath,Binary SearchHard
0669Trim a Binary Search TreeTree,Depth-First Search,Binary Search Tree,Binary TreeMedium
0670Maximum SwapGreedy,MathMedium
0671Second Minimum Node In a Binary TreeTree,Depth-First Search,Binary TreeEasy
0672Bulb Switcher IIBit Manipulation,Depth-First Search,Breadth-First Search,MathMedium
0673Number of Longest Increasing SubsequenceBinary Indexed Tree,Segment Tree,Array,Dynamic ProgrammingMedium
0674Longest Continuous Increasing SubsequenceArrayEasy
0675Cut Off Trees for Golf EventBreadth-First Search,Array,Matrix,Heap (Priority Queue)Hard
0676Implement Magic DictionaryDepth-First Search,Design,Trie,Hash Table,StringMedium
0677Map Sum PairsDesign,Trie,Hash Table,StringMedium
0678Valid Parenthesis StringStack,Greedy,String,Dynamic ProgrammingMedium
067924 GameArray,Math,BacktrackingHard
0680Valid Palindrome IIGreedy,Two Pointers,StringEasy
0681Next Closest TimeString,EnumerationMedium????
0682Baseball GameStack,Array,SimulationEasy
0683K Empty SlotsBinary Indexed Tree,Array,Ordered Set,Sliding WindowHard????
0684Redundant ConnectionDepth-First Search,Breadth-First Search,Union Find,GraphMedium
0685Redundant Connection IIDepth-First Search,Breadth-First Search,Union Find,GraphHard
0686Repeated String MatchString,String MatchingMedium
0687Longest Univalue PathTree,Depth-First Search,Binary TreeMedium
0688Knight Probability in ChessboardDynamic ProgrammingMedium
0689Maximum Sum of 3 Non-Overlapping SubarraysArray,Dynamic ProgrammingHard
0690Employee ImportanceTree,Depth-First Search,Breadth-First Search,Array,Hash TableMedium
0691Stickers to Spell WordBit Manipulation,Array,String,Dynamic Programming,Backtracking,BitmaskHard
0692Top K Frequent WordsTrie,Hash Table,String,Bucket Sort,Counting,Sorting,Heap (Priority Queue)Medium
0693Binary Number with Alternating BitsBit ManipulationEasy
0694Number of Distinct IslandsDepth-First Search,Breadth-First Search,Union Find,Hash Table,Hash FunctionMedium????
0695Max Area of IslandDepth-First Search,Breadth-First Search,Union Find,Array,MatrixMedium
0696Count Binary SubstringsTwo Pointers,StringEasy
0697Degree of an ArrayArray,Hash TableEasy
0698Partition to K Equal Sum SubsetsBit Manipulation,Memoization,Array,Dynamic Programming,Backtracking,BitmaskMedium
0699Falling SquaresSegment Tree,Array,Ordered SetHard
0700Search in a Binary Search TreeTree,Binary Search Tree,Binary TreeEasy
0701Insert into a Binary Search TreeTree,Binary Search Tree,Binary TreeMedium
0702Search in a Sorted Array of Unknown SizeArray,Binary Search,InteractiveMedium????
0703Kth Largest Element in a StreamTree,Design,Binary Search Tree,Binary Tree,Data Stream,Heap (Priority Queue)Easy
0704Binary SearchArray,Binary SearchEasy
0705Design HashSetDesign,Array,Hash Table,Linked List,Hash FunctionEasy
0706Design HashMapDesign,Array,Hash Table,Linked List,Hash FunctionEasy
0707Design Linked ListDesign,Linked ListMedium
0708Insert into a Sorted Circular Linked ListLinked ListMedium????
0709To Lower CaseStringEasy
0710Random Pick with BlacklistArray,Hash Table,Math,Binary Search,Sorting,RandomizedHard
0711Number of Distinct Islands IIDepth-First Search,Breadth-First Search,Union Find,Hash Table,Hash FunctionHard????
0712Minimum ASCII Delete Sum for Two StringsString,Dynamic ProgrammingMedium
0713Subarray Product Less Than KArray,Sliding WindowMedium
0714Best Time to Buy and Sell Stock with Transaction FeeGreedy,Array,Dynamic ProgrammingMedium
0715Range ModuleDesign,Segment Tree,Ordered SetHard
0716Max StackStack,Design,Linked List,Doubly-Linked List,Ordered SetHard????
07171-bit and 2-bit CharactersArrayEasy
0718Maximum Length of Repeated SubarrayArray,Binary Search,Dynamic Programming,Sliding Window,Hash Function,Rolling HashMedium
0719Find K-th Smallest Pair DistanceArray,Two Pointers,Binary Search,SortingHard
0720Longest Word in DictionaryTrie,Array,Hash Table,String,SortingMedium
0721Accounts MergeDepth-First Search,Breadth-First Search,Union Find,Array,Hash Table,String,SortingMedium
0722Remove CommentsArray,StringMedium
0723Candy CrushArray,Two Pointers,Matrix,SimulationMedium????
0724Find Pivot IndexArray,Prefix SumEasy
0725Split Linked List in PartsLinked ListMedium
0726Number of AtomsStack,Hash Table,String,SortingHard
0727Minimum Window SubsequenceString,Dynamic Programming,Sliding WindowHard????
0728Self Dividing NumbersMathEasy
0729My Calendar IDesign,Segment Tree,Binary Search,Ordered SetMedium
0730Count Different Palindromic SubsequencesString,Dynamic ProgrammingHard
0731My Calendar IIDesign,Segment Tree,Binary Search,Ordered SetMedium
0732My Calendar IIIDesign,Segment Tree,Binary Search,Ordered SetHard
0733Flood FillDepth-First Search,Breadth-First Search,Array,MatrixEasy
0734Sentence SimilarityArray,Hash Table,StringEasy????
0735Asteroid CollisionStack,Array,SimulationMedium
0736Parse Lisp ExpressionStack,Recursion,Hash Table,StringHard
0737Sentence Similarity IIDepth-First Search,Breadth-First Search,Union Find,Array,Hash Table,StringMedium????
0738Monotone Increasing DigitsGreedy,MathMedium
0739Daily TemperaturesStack,Array,Monotonic StackMedium
0740Delete and EarnArray,Hash Table,Dynamic ProgrammingMedium
0741Cherry PickupArray,Dynamic Programming,MatrixHard
0742Closest Leaf in a Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeMedium????
0743Network Delay TimeDepth-First Search,Breadth-First Search,Graph,Shortest Path,Heap (Priority Queue)Medium
0744Find Smallest Letter Greater Than TargetArray,Binary SearchEasy
0745Prefix and Suffix SearchDesign,Trie,Hash Table,StringHard
0746Min Cost Climbing StairsArray,Dynamic ProgrammingEasy
0747Largest Number At Least Twice of OthersArray,SortingEasy
0748Shortest Completing WordArray,Hash Table,StringEasy
0749Contain VirusDepth-First Search,Breadth-First Search,Array,Matrix,SimulationHard
0750Number Of Corner RectanglesArray,Math,Dynamic Programming,MatrixMedium????
0751IP to CIDRBit Manipulation,StringMedium????
0752Open the LockBreadth-First Search,Array,Hash Table,StringMedium
0753Cracking the SafeDepth-First Search,Graph,Eulerian CircuitHard
0754Reach a NumberMath,Binary SearchMedium
0755Pour WaterArray,SimulationMedium????
0756Pyramid Transition MatrixBit Manipulation,Depth-First Search,Breadth-First SearchMedium
0757Set Intersection Size At Least TwoGreedy,Array,SortingHard
0758Bold Words in StringTrie,Array,Hash Table,String,String MatchingMedium????
0759Employee Free TimeArray,Sorting,Heap (Priority Queue)Hard????
0760Find Anagram MappingsArray,Hash TableEasy????
0761Special Binary StringRecursion,StringHard
0762Prime Number of Set Bits in Binary RepresentationBit Manipulation,MathEasy
0763Partition LabelsGreedy,Hash Table,Two Pointers,StringMedium
0764Largest Plus SignArray,Dynamic ProgrammingMedium
0765Couples Holding HandsGreedy,Depth-First Search,Breadth-First Search,Union Find,GraphHard
0766Toeplitz MatrixArray,MatrixEasy
0767Reorganize StringGreedy,Hash Table,String,Counting,Sorting,Heap (Priority Queue)Medium
0768Max Chunks To Make Sorted IIStack,Greedy,Array,Sorting,Monotonic StackHard
0769Max Chunks To Make SortedStack,Greedy,Array,Sorting,Monotonic StackMedium
0770Basic Calculator IVStack,Recursion,Hash Table,Math,StringHard
0771Jewels and StonesHash Table,StringEasy
0772Basic Calculator IIIStack,Recursion,Math,StringHard????
0773Sliding PuzzleBreadth-First Search,Array,MatrixHard
0774Minimize Max Distance to Gas StationArray,Binary SearchHard????
0775Global and Local InversionsArray,MathMedium
0776Split BSTTree,Binary Search Tree,Recursion,Binary TreeMedium????
0777Swap Adjacent in LR StringTwo Pointers,StringMedium
0778Swim in Rising WaterDepth-First Search,Breadth-First Search,Union Find,Array,Binary Search,Matrix,Heap (Priority Queue)Hard
0779K-th Symbol in GrammarBit Manipulation,Recursion,MathMedium
0780Reaching PointsMathHard
0781Rabbits in ForestGreedy,Array,Hash Table,MathMedium
0782Transform to ChessboardBit Manipulation,Array,Math,MatrixHard
0783Minimum Distance Between BST NodesTree,Depth-First Search,Breadth-First Search,Binary Search Tree,Binary TreeEasy
0784Letter Case PermutationBit Manipulation,String,BacktrackingMedium
0785Is Graph BipartiteDepth-First Search,Breadth-First Search,Union Find,GraphMedium
0786K-th Smallest Prime FractionArray,Binary Search,Sorting,Heap (Priority Queue)Medium
0787Cheapest Flights Within K StopsDepth-First Search,Breadth-First Search,Graph,Dynamic Programming,Shortest Path,Heap (Priority Queue)Medium
0788Rotated DigitsMath,Dynamic ProgrammingMedium
0789Escape The GhostsArray,MathMedium
0790Domino and Tromino TilingDynamic ProgrammingMedium
0791Custom Sort StringHash Table,String,SortingMedium
0792Number of Matching SubsequencesTrie,Array,Hash Table,String,Binary Search,Dynamic Programming,SortingMedium
0793Preimage Size of Factorial Zeroes FunctionMath,Binary SearchHard
0794Valid Tic-Tac-Toe StateArray,MatrixMedium
0795Number of Subarrays with Bounded MaximumArray,Two PointersMedium
0796Rotate StringString,String MatchingEasy
0797All Paths From Source to TargetDepth-First Search,Breadth-First Search,Graph,BacktrackingMedium
0798Smallest Rotation with Highest ScoreArray,Prefix SumHard
0799Champagne TowerDynamic ProgrammingMedium
0800Similar RGB ColorMath,String,EnumerationEasy????
0801Minimum Swaps To Make Sequences IncreasingArray,Dynamic ProgrammingHard
0802Find Eventual Safe StatesDepth-First Search,Breadth-First Search,Graph,Topological SortMedium
0803Bricks Falling When HitUnion Find,Array,MatrixHard
0804Unique Morse Code WordsArray,Hash Table,StringEasy
0805Split Array With Same AverageBit Manipulation,Array,Math,Dynamic Programming,BitmaskHard
0806Number of Lines To Write StringArray,StringEasy
0807Max Increase to Keep City SkylineGreedy,Array,MatrixMedium
0808Soup ServingsMath,Dynamic Programming,Probability and StatisticsMedium
0809Expressive WordsArray,Two Pointers,StringMedium
0810Chalkboard XOR GameBit Manipulation,Brainteaser,Array,Math,Game TheoryHard
0811Subdomain Visit CountArray,Hash Table,String,CountingMedium
0812Largest Triangle AreaGeometry,Array,MathEasy
0813Largest Sum of AveragesArray,Dynamic Programming,Prefix SumMedium
0814Binary Tree PruningTree,Depth-First Search,Binary TreeMedium
0815Bus RoutesBreadth-First Search,Array,Hash TableHard
0816Ambiguous CoordinatesString,Backtracking,EnumerationMedium
0817Linked List ComponentsArray,Hash Table,Linked ListMedium
0818Race CarDynamic ProgrammingHard
0819Most Common WordArray,Hash Table,String,CountingEasy
0820Short Encoding of WordsTrie,Array,Hash Table,StringMedium
0821Shortest Distance to a CharacterArray,Two Pointers,StringEasy
0822Card Flipping GameArray,Hash TableMedium
0823Binary Trees With FactorsArray,Hash Table,Dynamic Programming,SortingMedium
0824Goat LatinStringEasy
0825Friends Of Appropriate AgesArray,Two Pointers,Binary Search,SortingMedium
0826Most Profit Assigning WorkGreedy,Array,Two Pointers,Binary Search,SortingMedium
0827Making A Large IslandDepth-First Search,Breadth-First Search,Union Find,Array,MatrixHard
0828Count Unique Characters of All Substrings of a Given StringHash Table,String,Dynamic ProgrammingHardWeekly Contest 83
0829Consecutive Numbers SumMath,EnumerationHardWeekly Contest 83
0830Positions of Large GroupsStringEasyWeekly Contest 83
0831Masking Personal InformationStringMediumWeekly Contest 83
0832Flipping an ImageBit Manipulation,Array,Two Pointers,Matrix,SimulationEasyWeekly Contest 84
0833Find And Replace in StringArray,String,SortingMediumWeekly Contest 84
0834Sum of Distances in TreeTree,Depth-First Search,Graph,Dynamic ProgrammingHardWeekly Contest 84
0835Image OverlapArray,MatrixMediumWeekly Contest 84
0836Rectangle OverlapGeometry,MathEasyWeekly Contest 85
0837New 21 GameMath,Dynamic Programming,Sliding Window,Probability and StatisticsMediumWeekly Contest 85
0838Push DominoesTwo Pointers,String,Dynamic ProgrammingMediumWeekly Contest 85
0839Similar String GroupsDepth-First Search,Breadth-First Search,Union Find,Array,Hash Table,StringHardWeekly Contest 85
0840Magic Squares In GridArray,Math,MatrixMediumWeekly Contest 86
0841Keys and RoomsDepth-First Search,Breadth-First Search,GraphMediumWeekly Contest 86
0842Split Array into Fibonacci SequenceString,BacktrackingMediumWeekly Contest 86
0843Guess the WordArray,Math,String,Game Theory,InteractiveHardWeekly Contest 86
0844Backspace String CompareStack,Two Pointers,String,SimulationEasyWeekly Contest 87
0845Longest Mountain in ArrayArray,Two Pointers,Dynamic Programming,EnumerationMediumWeekly Contest 87
0846Hand of StraightsGreedy,Array,Hash Table,SortingMediumWeekly Contest 87
0847Shortest Path Visiting All NodesBit Manipulation,Breadth-First Search,Graph,Dynamic Programming,BitmaskHardWeekly Contest 87
0848Shifting LettersArray,String,Prefix SumMediumWeekly Contest 88
0849Maximize Distance to Closest PersonArrayMediumWeekly Contest 88
0850Rectangle Area IISegment Tree,Array,Ordered Set,Line SweepHardWeekly Contest 88
0851Loud and RichDepth-First Search,Graph,Topological Sort,ArrayMediumWeekly Contest 88
0852Peak Index in a Mountain ArrayArray,Binary SearchMediumWeekly Contest 89
0853Car FleetStack,Array,Sorting,Monotonic StackMediumWeekly Contest 89
0854K-Similar StringsBreadth-First Search,StringHardWeekly Contest 89
0855Exam RoomDesign,Ordered Set,Heap (Priority Queue)MediumWeekly Contest 89
0856Score of ParenthesesStack,StringMediumWeekly Contest 90
0857Minimum Cost to Hire K WorkersGreedy,Array,Sorting,Heap (Priority Queue)HardWeekly Contest 90
0858Mirror ReflectionGeometry,Math,Number TheoryMediumWeekly Contest 90
0859Buddy StringsHash Table,StringEasyWeekly Contest 90
0860Lemonade ChangeGreedy,ArrayEasyWeekly Contest 91
0861Score After Flipping MatrixGreedy,Bit Manipulation,Array,MatrixMediumWeekly Contest 91
0862Shortest Subarray with Sum at Least KQueue,Array,Binary Search,Prefix Sum,Sliding Window,Monotonic Queue,Heap (Priority Queue)HardWeekly Contest 91
0863All Nodes Distance K in Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeMediumWeekly Contest 91
0864Shortest Path to Get All KeysBit Manipulation,Breadth-First Search,Array,MatrixHardWeekly Contest 92
0865Smallest Subtree with all the Deepest NodesTree,Depth-First Search,Breadth-First Search,Hash Table,Binary TreeMediumWeekly Contest 92
0866Prime PalindromeMathMediumWeekly Contest 92
0867Transpose MatrixArray,Matrix,SimulationEasyWeekly Contest 92
0868Binary GapBit ManipulationEasyWeekly Contest 93
0869Reordered Power of 2Hash Table,Math,Counting,Enumeration,SortingMediumWeekly Contest 93
0870Advantage ShuffleGreedy,Array,Two Pointers,SortingMediumWeekly Contest 93
0871Minimum Number of Refueling StopsGreedy,Array,Dynamic Programming,Heap (Priority Queue)HardWeekly Contest 93
0872Leaf-Similar TreesTree,Depth-First Search,Binary TreeEasyWeekly Contest 94
0873Length of Longest Fibonacci SubsequenceArray,Hash Table,Dynamic ProgrammingMediumWeekly Contest 94
0874Walking Robot SimulationArray,Hash Table,SimulationMediumWeekly Contest 94
0875Koko Eating BananasArray,Binary SearchMediumWeekly Contest 94
0876Middle of the Linked ListLinked List,Two PointersEasyWeekly Contest 95
0877Stone GameArray,Math,Dynamic Programming,Game TheoryMediumWeekly Contest 95
0878Nth Magical NumberMath,Binary SearchHardWeekly Contest 95
0879Profitable SchemesArray,Dynamic ProgrammingHardWeekly Contest 95
0880Decoded String at IndexStack,StringMediumWeekly Contest 96
0881Boats to Save PeopleGreedy,Array,Two Pointers,SortingMediumWeekly Contest 96
0882Reachable Nodes In Subdivided GraphGraph,Shortest Path,Heap (Priority Queue)HardWeekly Contest 96
0883Projection Area of 3D ShapesGeometry,Array,Math,MatrixEasyWeekly Contest 96
0884Uncommon Words from Two SentencesHash Table,StringEasyWeekly Contest 97
0885Spiral Matrix IIIArray,Matrix,SimulationMediumWeekly Contest 97
0886Possible BipartitionDepth-First Search,Breadth-First Search,Union Find,GraphMediumWeekly Contest 97
0887Super Egg DropMath,Binary Search,Dynamic ProgrammingHardWeekly Contest 97
0888Fair Candy SwapArray,Hash Table,Binary Search,SortingEasyWeekly Contest 98
0889Construct Binary Tree from Preorder and Postorder TraversalTree,Array,Hash Table,Divide and Conquer,Binary TreeMediumWeekly Contest 98
0890Find and Replace PatternArray,Hash Table,StringMediumWeekly Contest 98
0891Sum of Subsequence WidthsArray,Math,SortingHardWeekly Contest 98
0892Surface Area of 3D ShapesGeometry,Array,Math,MatrixEasyWeekly Contest 99
0893Groups of Special-Equivalent StringsArray,Hash Table,String,SortingMediumWeekly Contest 99
0894All Possible Full Binary TreesTree,Recursion,Memoization,Dynamic Programming,Binary TreeMediumWeekly Contest 99
0895Maximum Frequency StackStack,Design,Hash Table,Ordered SetHardWeekly Contest 99
0896Monotonic ArrayArrayEasyWeekly Contest 100
0897Increasing Order Search TreeStack,Tree,Depth-First Search,Binary Search Tree,Binary TreeEasyWeekly Contest 100
0898Bitwise ORs of SubarraysBit Manipulation,Array,Dynamic ProgrammingMediumWeekly Contest 100
0899Orderly QueueMath,String,SortingHardWeekly Contest 100
0900RLE IteratorDesign,Array,Counting,IteratorMediumWeekly Contest 101
0901Online Stock SpanStack,Design,Data Stream,Monotonic StackMediumWeekly Contest 101
0902Numbers At Most N Given Digit SetArray,Math,String,Binary Search,Dynamic ProgrammingHardWeekly Contest 101
0903Valid Permutations for DI SequenceString,Dynamic Programming,Prefix SumHardWeekly Contest 101
0904Fruit Into BasketsArray,Hash Table,Sliding WindowMediumWeekly Contest 102
0905Sort Array By ParityArray,Two Pointers,SortingEasyWeekly Contest 102
0906Super PalindromesMath,EnumerationHardWeekly Contest 102
0907Sum of Subarray MinimumsStack,Array,Dynamic Programming,Monotonic StackMediumWeekly Contest 102
0908Smallest Range IArray,MathEasyWeekly Contest 103
0909Snakes and LaddersBreadth-First Search,Array,MatrixMediumWeekly Contest 103
0910Smallest Range IIGreedy,Array,Math,SortingMediumWeekly Contest 103
0911Online ElectionDesign,Array,Hash Table,Binary SearchMediumWeekly Contest 103
0912Sort an ArrayArray,Divide and Conquer,Bucket Sort,Counting Sort,Radix Sort,Sorting,Heap (Priority Queue),Merge SortMedium
0913Cat and MouseGraph,Topological Sort,Memoization,Math,Dynamic Programming,Game TheoryHardWeekly Contest 104
0914X of a Kind in a Deck of CardsArray,Hash Table,Math,Counting,Number TheoryEasyWeekly Contest 104
0915Partition Array into Disjoint IntervalsArrayMediumWeekly Contest 104
0916Word SubsetsArray,Hash Table,StringMediumWeekly Contest 104
0917Reverse Only LettersTwo Pointers,StringEasyWeekly Contest 105
0918Maximum Sum Circular SubarrayQueue,Array,Divide and Conquer,Dynamic Programming,Monotonic QueueMediumWeekly Contest 105
0919Complete Binary Tree InserterTree,Breadth-First Search,Design,Binary TreeMediumWeekly Contest 105
0920Number of Music PlaylistsMath,Dynamic Programming,CombinatoricsHardWeekly Contest 105
0921Minimum Add to Make Parentheses ValidStack,Greedy,StringMediumWeekly Contest 106
0922Sort Array By Parity IIArray,Two Pointers,SortingEasyWeekly Contest 106
09233Sum With MultiplicityArray,Hash Table,Two Pointers,Counting,SortingMediumWeekly Contest 106
0924Minimize Malware SpreadDepth-First Search,Breadth-First Search,Union Find,Graph,Hash TableHardWeekly Contest 106
0925Long Pressed NameTwo Pointers,StringEasyWeekly Contest 107
0926Flip String to Monotone IncreasingString,Dynamic ProgrammingMediumWeekly Contest 107
0927Three Equal PartsArray,MathHardWeekly Contest 107
0928Minimize Malware Spread IIDepth-First Search,Breadth-First Search,Union Find,Graph,Hash TableHardWeekly Contest 107
0929Unique Email AddressesArray,Hash Table,StringEasyWeekly Contest 108
0930Binary Subarrays With SumArray,Hash Table,Prefix Sum,Sliding WindowMediumWeekly Contest 108
0931Minimum Falling Path SumArray,Dynamic Programming,MatrixMediumWeekly Contest 108
0932Beautiful ArrayArray,Math,Divide and ConquerMediumWeekly Contest 108
0933Number of Recent CallsDesign,Queue,Data StreamEasyWeekly Contest 109
0934Shortest BridgeDepth-First Search,Breadth-First Search,Array,MatrixMediumWeekly Contest 109
0935Knight DialerDynamic ProgrammingMediumWeekly Contest 109
0936Stamping The SequenceStack,Greedy,Queue,StringHardWeekly Contest 109
0937Reorder Data in Log FilesArray,String,SortingMediumWeekly Contest 110
0938Range Sum of BSTTree,Depth-First Search,Binary Search Tree,Binary TreeEasyWeekly Contest 110
0939Minimum Area RectangleGeometry,Array,Hash Table,Math,SortingMediumWeekly Contest 110
0940Distinct Subsequences IIString,Dynamic ProgrammingHardWeekly Contest 110
0941Valid Mountain ArrayArrayEasyWeekly Contest 111
0942DI String MatchGreedy,Array,Two Pointers,StringEasyWeekly Contest 111
0943Find the Shortest SuperstringBit Manipulation,Array,String,Dynamic Programming,BitmaskHardWeekly Contest 111
0944Delete Columns to Make SortedArray,StringEasyWeekly Contest 111
0945Minimum Increment to Make Array UniqueGreedy,Array,Counting,SortingMediumWeekly Contest 112
0946Validate Stack SequencesStack,Array,SimulationMediumWeekly Contest 112
0947Most Stones Removed with Same Row or ColumnDepth-First Search,Union Find,Graph,Hash TableMediumWeekly Contest 112
0948Bag of TokensGreedy,Array,Two Pointers,SortingMediumWeekly Contest 112
0949Largest Time for Given DigitsArray,String,EnumerationMediumWeekly Contest 113
0950Reveal Cards In Increasing OrderQueue,Array,Sorting,SimulationMediumWeekly Contest 113
0951Flip Equivalent Binary TreesTree,Depth-First Search,Binary TreeMediumWeekly Contest 113
0952Largest Component Size by Common FactorUnion Find,Array,Hash Table,Math,Number TheoryHardWeekly Contest 113
0953Verifying an Alien DictionaryArray,Hash Table,StringEasyWeekly Contest 114
0954Array of Doubled PairsGreedy,Array,Hash Table,SortingMediumWeekly Contest 114
0955Delete Columns to Make Sorted IIGreedy,Array,StringMediumWeekly Contest 114
0956Tallest BillboardArray,Dynamic ProgrammingHardWeekly Contest 114
0957Prison Cells After N DaysBit Manipulation,Array,Hash Table,MathMediumWeekly Contest 115
0958Check Completeness of a Binary TreeTree,Breadth-First Search,Binary TreeMediumWeekly Contest 115
0959Regions Cut By SlashesDepth-First Search,Breadth-First Search,Union Find,Array,Hash Table,MatrixMediumWeekly Contest 115
0960Delete Columns to Make Sorted IIIArray,String,Dynamic ProgrammingHardWeekly Contest 115
0961N-Repeated Element in Size 2N ArrayArray,Hash TableEasyWeekly Contest 116
0962Maximum Width RampStack,Array,Monotonic StackMediumWeekly Contest 116
0963Minimum Area Rectangle IIGeometry,Array,MathMediumWeekly Contest 116
0964Least Operators to Express NumberMemoization,Math,Dynamic ProgrammingHardWeekly Contest 116
0965Univalued Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeEasyWeekly Contest 117
0966Vowel SpellcheckerArray,Hash Table,StringMediumWeekly Contest 117
0967Numbers With Same Consecutive DifferencesBreadth-First Search,BacktrackingMediumWeekly Contest 117
0968Binary Tree CamerasTree,Depth-First Search,Dynamic Programming,Binary TreeHardWeekly Contest 117
0969Pancake SortingGreedy,Array,Two Pointers,SortingMediumWeekly Contest 118
0970Powerful IntegersHash Table,Math,EnumerationMediumWeekly Contest 118
0971Flip Binary Tree To Match Preorder TraversalTree,Depth-First Search,Binary TreeMediumWeekly Contest 118
0972Equal Rational NumbersMath,StringHardWeekly Contest 118
0973K Closest Points to OriginGeometry,Array,Math,Divide and Conquer,Quickselect,Sorting,Heap (Priority Queue)MediumWeekly Contest 119
0974Subarray Sums Divisible by KArray,Hash Table,Prefix SumMediumWeekly Contest 119
0975Odd Even JumpStack,Array,Dynamic Programming,Ordered Set,Monotonic StackHardWeekly Contest 119
0976Largest Perimeter TriangleGreedy,Array,Math,SortingEasyWeekly Contest 119
0977Squares of a Sorted ArrayArray,Two Pointers,SortingEasyWeekly Contest 120
0978Longest Turbulent SubarrayArray,Dynamic Programming,Sliding WindowMediumWeekly Contest 120
0979Distribute Coins in Binary TreeTree,Depth-First Search,Binary TreeMediumWeekly Contest 120
0980Unique Paths IIIBit Manipulation,Array,Backtracking,MatrixHardWeekly Contest 120
0981Time Based Key-Value StoreDesign,Hash Table,String,Binary SearchMediumWeekly Contest 121
0982Triples with Bitwise AND Equal To ZeroBit Manipulation,Array,Hash TableHardWeekly Contest 121
0983Minimum Cost For TicketsArray,Dynamic ProgrammingMediumWeekly Contest 121
0984String Without AAA or BBBGreedy,StringMediumWeekly Contest 121
0985Sum of Even Numbers After QueriesArray,SimulationMediumWeekly Contest 122
0986Interval List IntersectionsArray,Two PointersMediumWeekly Contest 122
0987Vertical Order Traversal of a Binary TreeTree,Depth-First Search,Breadth-First Search,Hash Table,Binary TreeHardWeekly Contest 122
0988Smallest String Starting From LeafTree,Depth-First Search,String,Binary TreeMediumWeekly Contest 122
0989Add to Array-Form of IntegerArray,MathEasyWeekly Contest 123
0990Satisfiability of Equality EquationsUnion Find,Graph,Array,StringMediumWeekly Contest 123
0991Broken CalculatorGreedy,MathMediumWeekly Contest 123
0992Subarrays with K Different IntegersArray,Hash Table,Counting,Sliding WindowHardWeekly Contest 123
0993Cousins in Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeEasyWeekly Contest 124
0994Rotting OrangesBreadth-First Search,Array,MatrixMediumWeekly Contest 124
0995Minimum Number of K Consecutive Bit FlipsBit Manipulation,Queue,Array,Prefix Sum,Sliding WindowHardWeekly Contest 124
0996Number of Squareful ArraysBit Manipulation,Array,Math,Dynamic Programming,Backtracking,BitmaskHardWeekly Contest 124
0997Find the Town JudgeGraph,Array,Hash TableEasyWeekly Contest 125
0998Maximum Binary Tree IITree,Binary TreeMediumWeekly Contest 125
0999Available Captures for RookArray,Matrix,SimulationEasyWeekly Contest 125
1000Minimum Cost to Merge StonesArray,Dynamic Programming,Prefix SumHardWeekly Contest 126
1001Grid IlluminationArray,Hash TableHardWeekly Contest 125
1002Find Common CharactersArray,Hash Table,StringEasyWeekly Contest 126
1003Check If Word Is Valid After SubstitutionsStack,StringMediumWeekly Contest 126
1004Max Consecutive Ones IIIArray,Binary Search,Prefix Sum,Sliding WindowMediumWeekly Contest 126
1005Maximize Sum Of Array After K NegationsGreedy,Array,SortingEasyWeekly Contest 127
1006Clumsy FactorialStack,Math,SimulationMediumWeekly Contest 127
1007Minimum Domino Rotations For Equal RowGreedy,ArrayMediumWeekly Contest 127
1008Construct Binary Search Tree from Preorder TraversalStack,Tree,Binary Search Tree,Array,Binary Tree,Monotonic StackMediumWeekly Contest 127
1009Complement of Base 10 IntegerBit ManipulationEasyWeekly Contest 128
1010Pairs of Songs With Total Durations Divisible by 60Array,Hash Table,CountingMediumWeekly Contest 128
1011Capacity To Ship Packages Within D DaysArray,Binary SearchMediumWeekly Contest 128
1012Numbers With Repeated DigitsMath,Dynamic ProgrammingHardWeekly Contest 128
1013Partition Array Into Three Parts With Equal SumGreedy,ArrayEasyWeekly Contest 129
1014Best Sightseeing PairArray,Dynamic ProgrammingMediumWeekly Contest 129
1015Smallest Integer Divisible by KHash Table,MathMediumWeekly Contest 129
1016Binary String With Substrings Representing 1 To NStringMediumWeekly Contest 129
1017Convert to Base -2MathMediumWeekly Contest 130
1018Binary Prefix Divisible By 5Bit Manipulation,ArrayEasyWeekly Contest 130
1019Next Greater Node In Linked ListStack,Array,Linked List,Monotonic StackMediumWeekly Contest 130
1020Number of EnclavesDepth-First Search,Breadth-First Search,Union Find,Array,MatrixMediumWeekly Contest 130
1021Remove Outermost ParenthesesStack,StringEasyWeekly Contest 131
1022Sum of Root To Leaf Binary NumbersTree,Depth-First Search,Binary TreeEasyWeekly Contest 131
1023Camelcase MatchingTrie,Array,Two Pointers,String,String MatchingMediumWeekly Contest 131
1024Video StitchingGreedy,Array,Dynamic ProgrammingMediumWeekly Contest 131
1025Divisor GameBrainteaser,Math,Dynamic Programming,Game TheoryEasyWeekly Contest 132
1026Maximum Difference Between Node and AncestorTree,Depth-First Search,Binary TreeMediumWeekly Contest 132
1027Longest Arithmetic SubsequenceArray,Hash Table,Binary Search,Dynamic ProgrammingMediumWeekly Contest 132
1028Recover a Tree From Preorder TraversalTree,Depth-First Search,String,Binary TreeHardWeekly Contest 132
1029Two City SchedulingGreedy,Array,SortingMediumWeekly Contest 133
1030Matrix Cells in Distance OrderGeometry,Array,Math,Matrix,SortingEasyWeekly Contest 133
1031Maximum Sum of Two Non-Overlapping SubarraysArray,Dynamic Programming,Sliding WindowMediumWeekly Contest 133
1032Stream of CharactersDesign,Trie,Array,String,Data StreamHardWeekly Contest 133
1033Moving Stones Until ConsecutiveBrainteaser,MathMediumWeekly Contest 134
1034Coloring A BorderDepth-First Search,Breadth-First Search,Array,MatrixMediumWeekly Contest 134
1035Uncrossed LinesArray,Dynamic ProgrammingMediumWeekly Contest 134
1036Escape a Large MazeDepth-First Search,Breadth-First Search,Array,Hash TableHardWeekly Contest 134
1037Valid BoomerangGeometry,Array,MathEasyWeekly Contest 135
1038Binary Search Tree to Greater Sum TreeTree,Depth-First Search,Binary Search Tree,Binary TreeMediumWeekly Contest 135
1039Minimum Score Triangulation of PolygonArray,Dynamic ProgrammingMediumWeekly Contest 135
1040Moving Stones Until Consecutive IIArray,Math,Two Pointers,SortingMediumWeekly Contest 135
1041Robot Bounded In CircleMath,String,SimulationMediumWeekly Contest 136
1042Flower Planting With No AdjacentDepth-First Search,Breadth-First Search,GraphMediumWeekly Contest 136
1043Partition Array for Maximum SumArray,Dynamic ProgrammingMediumWeekly Contest 136
1044Longest Duplicate SubstringString,Binary Search,Suffix Array,Sliding Window,Hash Function,Rolling HashHardWeekly Contest 136
1045Customers Who Bought All ProductsDatabaseMedium
1046Last Stone WeightArray,Heap (Priority Queue)EasyWeekly Contest 137
1047Remove All Adjacent Duplicates In StringStack,StringEasyWeekly Contest 137
1048Longest String ChainArray,Hash Table,Two Pointers,String,Dynamic ProgrammingMediumWeekly Contest 137
1049Last Stone Weight IIArray,Dynamic ProgrammingMediumWeekly Contest 137
1050Actors and Directors Who Cooperated At Least Three TimesDatabaseEasy
1051Height CheckerArray,Counting Sort,SortingEasyWeekly Contest 138
1052Grumpy Bookstore OwnerArray,Sliding WindowMediumWeekly Contest 138
1053Previous Permutation With One SwapGreedy,ArrayMediumWeekly Contest 138
1054Distant BarcodesGreedy,Array,Hash Table,Counting,Sorting,Heap (Priority Queue)MediumWeekly Contest 138
1055Shortest Way to Form StringGreedy,Two Pointers,StringMedium????
1056Confusing NumberMathEasy????
1057Campus BikesGreedy,Array,SortingMedium????
1058Minimize Rounding Error to Meet TargetGreedy,Array,Math,StringMedium????
1059All Paths from Source Lead to DestinationDepth-First Search,GraphMedium????
1060Missing Element in Sorted ArrayArray,Binary SearchMedium????
1061Lexicographically Smallest Equivalent StringUnion Find,StringMedium
1062Longest Repeating SubstringString,Binary Search,Dynamic Programming,Suffix Array,Hash Function,Rolling HashMedium????
1063Number of Valid SubarraysStack,Array,Monotonic StackHard????
1064Fixed PointArray,Binary SearchEasyBiweekly Contest 1
1065Index Pairs of a StringTrie,Array,String,SortingEasyBiweekly Contest 1
1066Campus Bikes IIBit Manipulation,Array,Dynamic Programming,Backtracking,BitmaskMediumBiweekly Contest 1
1067Digit Count in RangeMath,Dynamic ProgrammingHardBiweekly Contest 1
1068Product Sales Analysis IDatabaseEasy
1069Product Sales Analysis IIDatabaseEasy????
1070Product Sales Analysis IIIDatabaseMedium
1071Greatest Common Divisor of StringsMath,StringEasyWeekly Contest 139
1072Flip Columns For Maximum Number of Equal RowsArray,Hash Table,MatrixMediumWeekly Contest 139
1073Adding Two Negabinary NumbersArray,MathMediumWeekly Contest 139
1074Number of Submatrices That Sum to TargetArray,Hash Table,Matrix,Prefix SumHardWeekly Contest 139
1075Project Employees IDatabaseEasy
1076Project Employees IIDatabaseEasy????
1077Project Employees IIIDatabaseMedium????
1078Occurrences After BigramStringEasyWeekly Contest 140
1079Letter Tile PossibilitiesHash Table,String,Backtracking,CountingMediumWeekly Contest 140
1080Insufficient Nodes in Root to Leaf PathsTree,Depth-First Search,Binary TreeMediumWeekly Contest 140
1081Smallest Subsequence of Distinct CharactersStack,Greedy,String,Monotonic StackMediumWeekly Contest 140
1082Sales Analysis IDatabaseEasy????
1083Sales Analysis IIDatabaseEasy????
1084Sales Analysis IIIDatabaseEasy
1085Sum of Digits in the Minimum NumberArray,MathEasyBiweekly Contest 2
1086High FiveArray,Hash Table,Sorting,Heap (Priority Queue)EasyBiweekly Contest 2
1087Brace ExpansionBreadth-First Search,String,BacktrackingMediumBiweekly Contest 2
1088Confusing Number IIMath,BacktrackingHardBiweekly Contest 2
1089Duplicate ZerosArray,Two PointersEasyWeekly Contest 141
1090Largest Values From LabelsGreedy,Array,Hash Table,Counting,SortingMediumWeekly Contest 141
1091Shortest Path in Binary MatrixBreadth-First Search,Array,MatrixMediumWeekly Contest 141
1092Shortest Common SupersequenceString,Dynamic ProgrammingHardWeekly Contest 141
1093Statistics from a Large SampleArray,Math,Probability and StatisticsMediumWeekly Contest 142
1094Car PoolingArray,Prefix Sum,Sorting,Simulation,Heap (Priority Queue)MediumWeekly Contest 142
1095Find in Mountain ArrayArray,Binary Search,InteractiveHardWeekly Contest 142
1096Brace Expansion IIStack,Breadth-First Search,String,BacktrackingHardWeekly Contest 142
1097Game Play Analysis VDatabaseHard????
1098Unpopular BooksDatabaseMedium????
1099Two Sum Less Than KArray,Two Pointers,Binary Search,SortingEasyBiweekly Contest 3
1100Find K-Length Substrings With No Repeated CharactersHash Table,String,Sliding WindowMediumBiweekly Contest 3
1101The Earliest Moment When Everyone Become FriendsUnion Find,Array,SortingMediumBiweekly Contest 3
1102Path With Maximum Minimum ValueDepth-First Search,Breadth-First Search,Union Find,Array,Binary Search,Matrix,Heap (Priority Queue)MediumBiweekly Contest 3
1103Distribute Candies to PeopleMath,SimulationEasyWeekly Contest 143
1104Path In Zigzag Labelled Binary TreeTree,Math,Binary TreeMediumWeekly Contest 143
1105Filling Bookcase ShelvesArray,Dynamic ProgrammingMediumWeekly Contest 143
1106Parsing A Boolean ExpressionStack,Recursion,StringHardWeekly Contest 143
1107New Users Daily CountDatabaseMedium????
1108Defanging an IP AddressStringEasyWeekly Contest 144
1109Corporate Flight BookingsArray,Prefix SumMediumWeekly Contest 144
1110Delete Nodes And Return ForestTree,Depth-First Search,Array,Hash Table,Binary TreeMediumWeekly Contest 144
1111Maximum Nesting Depth of Two Valid Parentheses StringsStack,StringMediumWeekly Contest 144
1112Highest Grade For Each StudentDatabaseMedium????
1113Reported PostsDatabaseEasy????
1114Print in OrderConcurrencyEasy
1115Print FooBar AlternatelyConcurrencyMedium
1116Print Zero Even OddConcurrencyMedium
1117Building H2OConcurrencyMedium
1118Number of Days in a MonthMathEasyBiweekly Contest 4
1119Remove Vowels from a StringStringEasyBiweekly Contest 4
1120Maximum Average SubtreeTree,Depth-First Search,Binary TreeMediumBiweekly Contest 4
1121Divide Array Into Increasing SequencesArray,CountingHardBiweekly Contest 4
1122Relative Sort ArrayArray,Hash Table,Counting Sort,SortingEasyWeekly Contest 145
1123Lowest Common Ancestor of Deepest LeavesTree,Depth-First Search,Breadth-First Search,Hash Table,Binary TreeMediumWeekly Contest 145
1124Longest Well-Performing IntervalStack,Array,Hash Table,Prefix Sum,Monotonic StackMediumWeekly Contest 145
1125Smallest Sufficient TeamBit Manipulation,Array,Dynamic Programming,BitmaskHardWeekly Contest 145
1126Active BusinessesDatabaseMedium????
1127User Purchase PlatformDatabaseHard????
1128Number of Equivalent Domino PairsArray,Hash Table,CountingEasyWeekly Contest 146
1129Shortest Path with Alternating ColorsBreadth-First Search,GraphMediumWeekly Contest 146
1130Minimum Cost Tree From Leaf ValuesStack,Greedy,Array,Dynamic Programming,Monotonic StackMediumWeekly Contest 146
1131Maximum of Absolute Value ExpressionArray,MathMediumWeekly Contest 146
1132Reported Posts IIDatabaseMedium????
1133Largest Unique NumberArray,Hash Table,SortingEasyBiweekly Contest 5
1134Armstrong NumberMathEasyBiweekly Contest 5
1135Connecting Cities With Minimum CostUnion Find,Graph,Minimum Spanning Tree,Heap (Priority Queue)MediumBiweekly Contest 5
1136Parallel CoursesGraph,Topological SortMediumBiweekly Contest 5
1137N-th Tribonacci NumberMemoization,Math,Dynamic ProgrammingEasyWeekly Contest 147
1138Alphabet Board PathHash Table,StringMediumWeekly Contest 147
1139Largest 1-Bordered SquareArray,Dynamic Programming,MatrixMediumWeekly Contest 147
1140Stone Game IIArray,Math,Dynamic Programming,Game Theory,Prefix SumMediumWeekly Contest 147
1141User Activity for the Past 30 Days IDatabaseEasy
1142User Activity for the Past 30 Days IIDatabaseEasy????
1143Longest Common SubsequenceString,Dynamic ProgrammingMedium
1144Decrease Elements To Make Array ZigzagGreedy,ArrayMediumWeekly Contest 148
1145Binary Tree Coloring GameTree,Depth-First Search,Binary TreeMediumWeekly Contest 148
1146Snapshot ArrayDesign,Array,Hash Table,Binary SearchMediumWeekly Contest 148
1147Longest Chunked Palindrome DecompositionGreedy,Two Pointers,String,Dynamic Programming,Hash Function,Rolling HashHardWeekly Contest 148
1148Article Views IDatabaseEasy
1149Article Views IIDatabaseMedium????
1150Check If a Number Is Majority Element in a Sorted ArrayArray,Binary SearchEasyBiweekly Contest 6
1151Minimum Swaps to Group All 1's TogetherArray,Sliding WindowMediumBiweekly Contest 6
1152Analyze User Website Visit PatternArray,Hash Table,SortingMediumBiweekly Contest 6
1153String Transforms Into Another StringHash Table,StringHardBiweekly Contest 6
1154Day of the YearMath,StringEasyWeekly Contest 149
1155Number of Dice Rolls With Target SumDynamic ProgrammingMediumWeekly Contest 149
1156Swap For Longest Repeated Character SubstringHash Table,String,Sliding WindowMediumWeekly Contest 149
1157Online Majority Element In SubarrayDesign,Binary Indexed Tree,Segment Tree,Array,Binary SearchHardWeekly Contest 149
1158Market Analysis IDatabaseMedium
1159Market Analysis IIDatabaseHard????
1160Find Words That Can Be Formed by CharactersArray,Hash Table,StringEasyWeekly Contest 150
1161Maximum Level Sum of a Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeMediumWeekly Contest 150
1162As Far from Land as PossibleBreadth-First Search,Array,Dynamic Programming,MatrixMediumWeekly Contest 150
1163Last Substring in Lexicographical OrderTwo Pointers,StringHardWeekly Contest 150
1164Product Price at a Given DateDatabaseMedium
1165Single-Row KeyboardHash Table,StringEasyBiweekly Contest 7
1166Design File SystemDesign,Trie,Hash Table,StringMediumBiweekly Contest 7
1167Minimum Cost to Connect SticksGreedy,Array,Heap (Priority Queue)MediumBiweekly Contest 7
1168Optimize Water Distribution in a VillageUnion Find,Graph,Minimum Spanning Tree,Heap (Priority Queue)HardBiweekly Contest 7
1169Invalid TransactionsArray,Hash Table,String,SortingMediumWeekly Contest 151
1170Compare Strings by Frequency of the Smallest CharacterArray,Hash Table,String,Binary Search,SortingMediumWeekly Contest 151
1171Remove Zero Sum Consecutive Nodes from Linked ListHash Table,Linked ListMediumWeekly Contest 151
1172Dinner Plate StacksStack,Design,Hash Table,Heap (Priority Queue)HardWeekly Contest 151
1173Immediate Food Delivery IDatabaseEasy????
1174Immediate Food Delivery IIDatabaseMedium
1175Prime ArrangementsMathEasyWeekly Contest 152
1176Diet Plan PerformanceArray,Sliding WindowEasyWeekly Contest 152
1177Can Make Palindrome from SubstringBit Manipulation,Array,Hash Table,String,Prefix SumMediumWeekly Contest 152
1178Number of Valid Words for Each PuzzleBit Manipulation,Trie,Array,Hash Table,StringHardWeekly Contest 152
1179Reformat Department TableDatabaseEasy
1180Count Substrings with Only One Distinct LetterMath,StringEasyBiweekly Contest 8
1181Before and After PuzzleArray,Hash Table,String,SortingMediumBiweekly Contest 8
1182Shortest Distance to Target ColorArray,Binary Search,Dynamic ProgrammingMediumBiweekly Contest 8
1183Maximum Number of OnesGreedy,Heap (Priority Queue)HardBiweekly Contest 8
1184Distance Between Bus StopsArrayEasyWeekly Contest 153
1185Day of the WeekMathEasyWeekly Contest 153
1186Maximum Subarray Sum with One DeletionArray,Dynamic ProgrammingMediumWeekly Contest 153
1187Make Array Strictly IncreasingArray,Binary Search,Dynamic Programming,SortingHardWeekly Contest 153
1188Design Bounded Blocking QueueConcurrencyMedium????
1189Maximum Number of BalloonsHash Table,String,CountingEasyWeekly Contest 154
1190Reverse Substrings Between Each Pair of ParenthesesStack,StringMediumWeekly Contest 154
1191K-Concatenation Maximum SumArray,Dynamic ProgrammingMediumWeekly Contest 154
1192Critical Connections in a NetworkDepth-First Search,Graph,Biconnected ComponentHardWeekly Contest 154
1193Monthly Transactions IDatabaseMedium
1194Tournament WinnersDatabaseHard????
1195Fizz Buzz MultithreadedConcurrencyMedium
1196How Many Apples Can You Put into the BasketGreedy,Array,SortingEasyBiweekly Contest 9
1197Minimum Knight MovesBreadth-First SearchMediumBiweekly Contest 9
1198Find Smallest Common Element in All RowsArray,Hash Table,Binary Search,Counting,MatrixMediumBiweekly Contest 9
1199Minimum Time to Build BlocksGreedy,Array,Math,Heap (Priority Queue)HardBiweekly Contest 9
1200Minimum Absolute DifferenceArray,SortingEasyWeekly Contest 155
1201Ugly Number IIIMath,Binary Search,Number TheoryMediumWeekly Contest 155
1202Smallest String With SwapsDepth-First Search,Breadth-First Search,Union Find,Array,Hash Table,String,SortingMediumWeekly Contest 155
1203Sort Items by Groups Respecting DependenciesDepth-First Search,Breadth-First Search,Graph,Topological SortHardWeekly Contest 155
1204Last Person to Fit in the BusDatabaseMedium
1205Monthly Transactions IIDatabaseMedium????
1206Design SkiplistDesign,Linked ListHard
1207Unique Number of OccurrencesArray,Hash TableEasyWeekly Contest 156
1208Get Equal Substrings Within BudgetString,Binary Search,Prefix Sum,Sliding WindowMediumWeekly Contest 156
1209Remove All Adjacent Duplicates in String IIStack,StringMediumWeekly Contest 156
1210Minimum Moves to Reach Target with RotationsBreadth-First Search,Array,MatrixHardWeekly Contest 156
1211Queries Quality and PercentageDatabaseEasy
1212Team Scores in Football TournamentDatabaseMedium????
1213Intersection of Three Sorted ArraysArray,Hash Table,Binary Search,CountingEasyBiweekly Contest 10
1214Two Sum BSTsStack,Tree,Depth-First Search,Binary Search Tree,Two Pointers,Binary Search,Binary TreeMediumBiweekly Contest 10
1215Stepping NumbersBreadth-First Search,BacktrackingMediumBiweekly Contest 10
1216Valid Palindrome IIIString,Dynamic ProgrammingHardBiweekly Contest 10
1217Minimum Cost to Move Chips to The Same PositionGreedy,Array,MathEasyWeekly Contest 157
1218Longest Arithmetic Subsequence of Given DifferenceArray,Hash Table,Dynamic ProgrammingMediumWeekly Contest 157
1219Path with Maximum GoldArray,Backtracking,MatrixMediumWeekly Contest 157
1220Count Vowels PermutationDynamic ProgrammingHardWeekly Contest 157
1221Split a String in Balanced StringsGreedy,String,CountingEasyWeekly Contest 158
1222Queens That Can Attack the KingArray,Matrix,SimulationMediumWeekly Contest 158
1223Dice Roll SimulationArray,Dynamic ProgrammingHardWeekly Contest 158
1224Maximum Equal FrequencyArray,Hash TableHardWeekly Contest 158
1225Report Contiguous DatesDatabaseHard????
1226The Dining PhilosophersConcurrencyMedium
1227Airplane Seat Assignment ProbabilityBrainteaser,Math,Dynamic Programming,Probability and StatisticsMedium
1228Missing Number In Arithmetic ProgressionArray,MathEasyBiweekly Contest 11
1229Meeting SchedulerArray,Two Pointers,SortingMediumBiweekly Contest 11
1230Toss Strange CoinsArray,Math,Dynamic Programming,Probability and StatisticsMediumBiweekly Contest 11
1231Divide ChocolateArray,Binary SearchHardBiweekly Contest 11
1232Check If It Is a Straight LineGeometry,Array,MathEasyWeekly Contest 159
1233Remove Sub-Folders from the FilesystemDepth-First Search,Trie,Array,StringMediumWeekly Contest 159
1234Replace the Substring for Balanced StringString,Sliding WindowMediumWeekly Contest 159
1235Maximum Profit in Job SchedulingArray,Binary Search,Dynamic Programming,SortingHardWeekly Contest 159
1236Web CrawlerDepth-First Search,Breadth-First Search,String,InteractiveMedium????
1237Find Positive Integer Solution for a Given EquationMath,Two Pointers,Binary Search,InteractiveMediumWeekly Contest 160
1238Circular Permutation in Binary RepresentationBit Manipulation,Math,BacktrackingMediumWeekly Contest 160
1239Maximum Length of a Concatenated String with Unique CharactersBit Manipulation,Array,String,BacktrackingMediumWeekly Contest 160
1240Tiling a Rectangle with the Fewest SquaresBacktrackingHardWeekly Contest 160
1241Number of Comments per PostDatabaseEasy????
1242Web Crawler MultithreadedDepth-First Search,Breadth-First Search,ConcurrencyMedium????
1243Array TransformationArray,SimulationEasyBiweekly Contest 12
1244Design A LeaderboardDesign,Hash Table,SortingMediumBiweekly Contest 12
1245Tree DiameterTree,Depth-First Search,Breadth-First Search,Graph,Topological SortMediumBiweekly Contest 12
1246Palindrome RemovalArray,Dynamic ProgrammingHardBiweekly Contest 12
1247Minimum Swaps to Make Strings EqualGreedy,Math,StringMediumWeekly Contest 161
1248Count Number of Nice SubarraysArray,Hash Table,Math,Sliding WindowMediumWeekly Contest 161
1249Minimum Remove to Make Valid ParenthesesStack,StringMediumWeekly Contest 161
1250Check If It Is a Good ArrayArray,Math,Number TheoryHardWeekly Contest 161
1251Average Selling PriceDatabaseEasy
1252Cells with Odd Values in a MatrixArray,Math,SimulationEasyWeekly Contest 162
1253Reconstruct a 2-Row Binary MatrixGreedy,Array,MatrixMediumWeekly Contest 162
1254Number of Closed IslandsDepth-First Search,Breadth-First Search,Union Find,Array,MatrixMediumWeekly Contest 162
1255Maximum Score Words Formed by LettersBit Manipulation,Array,String,Dynamic Programming,Backtracking,BitmaskHardWeekly Contest 162
1256Encode NumberBit Manipulation,Math,StringMediumBiweekly Contest 13
1257Smallest Common RegionTree,Depth-First Search,Breadth-First Search,Array,Hash Table,StringMediumBiweekly Contest 13
1258Synonymous SentencesUnion Find,Array,Hash Table,String,BacktrackingMediumBiweekly Contest 13
1259Handshakes That Don't CrossMath,Dynamic ProgrammingHardBiweekly Contest 13
1260Shift 2D GridArray,Matrix,SimulationEasyWeekly Contest 163
1261Find Elements in a Contaminated Binary TreeTree,Depth-First Search,Breadth-First Search,Design,Hash Table,Binary TreeMediumWeekly Contest 163
1262Greatest Sum Divisible by ThreeGreedy,Array,Dynamic Programming,SortingMediumWeekly Contest 163
1263Minimum Moves to Move a Box to Their Target LocationBreadth-First Search,Array,Matrix,Heap (Priority Queue)HardWeekly Contest 163
1264Page RecommendationsDatabaseMedium????
1265Print Immutable Linked List in ReverseStack,Recursion,Linked List,Two PointersMedium????
1266Minimum Time Visiting All PointsGeometry,Array,MathEasyWeekly Contest 164
1267Count Servers that CommunicateDepth-First Search,Breadth-First Search,Union Find,Array,Counting,MatrixMediumWeekly Contest 164
1268Search Suggestions SystemTrie,Array,String,Binary Search,Sorting,Heap (Priority Queue)MediumWeekly Contest 164
1269Number of Ways to Stay in the Same Place After Some StepsDynamic ProgrammingHardWeekly Contest 164
1270All People Report to the Given ManagerDatabaseMedium????
1271HexspeakMath,StringEasyBiweekly Contest 14
1272Remove IntervalArrayMediumBiweekly Contest 14
1273Delete Tree NodesTree,Depth-First Search,Breadth-First Search,ArrayMediumBiweekly Contest 14
1274Number of Ships in a RectangleArray,Divide and Conquer,InteractiveHardBiweekly Contest 14
1275Find Winner on a Tic Tac Toe GameArray,Hash Table,Matrix,SimulationEasyWeekly Contest 165
1276Number of Burgers with No Waste of IngredientsMathMediumWeekly Contest 165
1277Count Square Submatrices with All OnesArray,Dynamic Programming,MatrixMediumWeekly Contest 165
1278Palindrome Partitioning IIIString,Dynamic ProgrammingHardWeekly Contest 165
1279Traffic Light Controlled IntersectionConcurrencyEasy????
1280Students and ExaminationsDatabaseEasy
1281Subtract the Product and Sum of Digits of an IntegerMathEasyWeekly Contest 166
1282Group the People Given the Group Size They Belong ToArray,Hash TableMediumWeekly Contest 166
1283Find the Smallest Divisor Given a ThresholdArray,Binary SearchMediumWeekly Contest 166
1284Minimum Number of Flips to Convert Binary Matrix to Zero MatrixBit Manipulation,Breadth-First Search,Array,Hash Table,MatrixHardWeekly Contest 166
1285Find the Start and End Number of Continuous RangesDatabaseMedium????
1286Iterator for CombinationDesign,String,Backtracking,IteratorMediumBiweekly Contest 15
1287Element Appearing More Than 25% In Sorted ArrayArrayEasyBiweekly Contest 15
1288Remove Covered IntervalsArray,SortingMediumBiweekly Contest 15
1289Minimum Falling Path Sum IIArray,Dynamic Programming,MatrixHardBiweekly Contest 15
1290Convert Binary Number in a Linked List to IntegerLinked List,MathEasyWeekly Contest 167
1291Sequential DigitsEnumerationMediumWeekly Contest 167
1292Maximum Side Length of a Square with Sum Less than or Equal to ThresholdArray,Binary Search,Matrix,Prefix SumMediumWeekly Contest 167
1293Shortest Path in a Grid with Obstacles EliminationBreadth-First Search,Array,MatrixHardWeekly Contest 167
1294Weather Type in Each CountryDatabaseEasy????
1295Find Numbers with Even Number of DigitsArrayEasyWeekly Contest 168
1296Divide Array in Sets of K Consecutive NumbersGreedy,Array,Hash Table,SortingMediumWeekly Contest 168
1297Maximum Number of Occurrences of a SubstringHash Table,String,Sliding WindowMediumWeekly Contest 168
1298Maximum Candies You Can Get from BoxesBreadth-First Search,Graph,ArrayHardWeekly Contest 168
1299Replace Elements with Greatest Element on Right SideArrayEasyBiweekly Contest 16
1300Sum of Mutated Array Closest to TargetArray,Binary Search,SortingMediumBiweekly Contest 16
1301Number of Paths with Max ScoreArray,Dynamic Programming,MatrixHardBiweekly Contest 16
1302Deepest Leaves SumTree,Depth-First Search,Breadth-First Search,Binary TreeMediumBiweekly Contest 16
1303Find the Team SizeDatabaseEasy????
1304Find N Unique Integers Sum up to ZeroArray,MathEasyWeekly Contest 169
1305All Elements in Two Binary Search TreesTree,Depth-First Search,Binary Search Tree,Binary Tree,SortingMediumWeekly Contest 169
1306Jump Game IIIDepth-First Search,Breadth-First Search,ArrayMediumWeekly Contest 169
1307Verbal Arithmetic PuzzleArray,Math,String,BacktrackingHardWeekly Contest 169
1308Running Total for Different GendersDatabaseMedium????
1309Decrypt String from Alphabet to Integer MappingStringEasyWeekly Contest 170
1310XOR Queries of a SubarrayBit Manipulation,Array,Prefix SumMediumWeekly Contest 170
1311Get Watched Videos by Your FriendsBreadth-First Search,Graph,Array,Hash Table,SortingMediumWeekly Contest 170
1312Minimum Insertion Steps to Make a String PalindromeString,Dynamic ProgrammingHardWeekly Contest 170
1313Decompress Run-Length Encoded ListArrayEasyBiweekly Contest 17
1314Matrix Block SumArray,Matrix,Prefix SumMediumBiweekly Contest 17
1315Sum of Nodes with Even-Valued GrandparentTree,Depth-First Search,Breadth-First Search,Binary TreeMediumBiweekly Contest 17
1316Distinct Echo SubstringsTrie,String,Hash Function,Rolling HashHardBiweekly Contest 17
1317Convert Integer to the Sum of Two No-Zero IntegersMathEasyWeekly Contest 171
1318Minimum Flips to Make a OR b Equal to cBit ManipulationMediumWeekly Contest 171
1319Number of Operations to Make Network ConnectedDepth-First Search,Breadth-First Search,Union Find,GraphMediumWeekly Contest 171
1320Minimum Distance to Type a Word Using Two FingersString,Dynamic ProgrammingHardWeekly Contest 171
1321Restaurant GrowthDatabaseMedium
1322Ads PerformanceDatabaseEasy????
1323Maximum 69 NumberGreedy,MathEasyWeekly Contest 172
1324Print Words VerticallyArray,String,SimulationMediumWeekly Contest 172
1325Delete Leaves With a Given ValueTree,Depth-First Search,Binary TreeMediumWeekly Contest 172
1326Minimum Number of Taps to Open to Water a GardenGreedy,Array,Dynamic ProgrammingHardWeekly Contest 172
1327List the Products Ordered in a PeriodDatabaseEasy
1328Break a PalindromeGreedy,StringMediumBiweekly Contest 18
1329Sort the Matrix DiagonallyArray,Matrix,SortingMediumBiweekly Contest 18
1330Reverse Subarray To Maximize Array ValueGreedy,Array,MathHardBiweekly Contest 18
1331Rank Transform of an ArrayArray,Hash Table,SortingEasyBiweekly Contest 18
1332Remove Palindromic SubsequencesTwo Pointers,StringEasyWeekly Contest 173
1333Filter Restaurants by Vegan-Friendly, Price and DistanceArray,SortingMediumWeekly Contest 173
1334Find the City With the Smallest Number of Neighbors at a Threshold DistanceGraph,Dynamic Programming,Shortest PathMediumWeekly Contest 173
1335Minimum Difficulty of a Job ScheduleArray,Dynamic ProgrammingHardWeekly Contest 173
1336Number of Transactions per VisitDatabaseHard????
1337The K Weakest Rows in a MatrixArray,Binary Search,Matrix,Sorting,Heap (Priority Queue)EasyWeekly Contest 174
1338Reduce Array Size to The HalfGreedy,Array,Hash Table,Sorting,Heap (Priority Queue)MediumWeekly Contest 174
1339Maximum Product of Splitted Binary TreeTree,Depth-First Search,Binary TreeMediumWeekly Contest 174
1340Jump Game VArray,Dynamic Programming,SortingHardWeekly Contest 174
1341Movie RatingDatabaseMedium
1342Number of Steps to Reduce a Number to ZeroBit Manipulation,MathEasyBiweekly Contest 19
1343Number of Sub-arrays of Size K and Average Greater than or Equal to ThresholdArray,Sliding WindowMediumBiweekly Contest 19
1344Angle Between Hands of a ClockMathMediumBiweekly Contest 19
1345Jump Game IVBreadth-First Search,Array,Hash TableHardBiweekly Contest 19
1346Check If N and Its Double ExistArray,Hash Table,Two Pointers,Binary Search,SortingEasyWeekly Contest 175
1347Minimum Number of Steps to Make Two Strings AnagramHash Table,String,CountingMediumWeekly Contest 175
1348Tweet Counts Per FrequencyDesign,Hash Table,Binary Search,Ordered Set,SortingMediumWeekly Contest 175
1349Maximum Students Taking ExamBit Manipulation,Array,Dynamic Programming,Bitmask,MatrixHardWeekly Contest 175
1350Students With Invalid DepartmentsDatabaseEasy????
1351Count Negative Numbers in a Sorted MatrixArray,Binary Search,MatrixEasyWeekly Contest 176
1352Product of the Last K NumbersDesign,Queue,Array,Math,Data StreamMediumWeekly Contest 176
1353Maximum Number of Events That Can Be AttendedGreedy,Array,Sorting,Heap (Priority Queue)MediumWeekly Contest 176
1354Construct Target Array With Multiple SumsArray,Heap (Priority Queue)HardWeekly Contest 176
1355Activity ParticipantsDatabaseMedium????
1356Sort Integers by The Number of 1 BitsBit Manipulation,Array,Counting,SortingEasyBiweekly Contest 20
1357Apply Discount Every n OrdersDesign,Array,Hash TableMediumBiweekly Contest 20
1358Number of Substrings Containing All Three CharactersHash Table,String,Sliding WindowMediumBiweekly Contest 20
1359Count All Valid Pickup and Delivery OptionsMath,Dynamic Programming,CombinatoricsHardBiweekly Contest 20
1360Number of Days Between Two DatesMath,StringEasyWeekly Contest 177
1361Validate Binary Tree NodesTree,Depth-First Search,Breadth-First Search,Union Find,Graph,Binary TreeMediumWeekly Contest 177
1362Closest DivisorsMathMediumWeekly Contest 177
1363Largest Multiple of ThreeGreedy,Array,Dynamic ProgrammingHardWeekly Contest 177
1364Number of Trusted Contacts of a CustomerDatabaseMedium????
1365How Many Numbers Are Smaller Than the Current NumberArray,Hash Table,Counting,SortingEasyWeekly Contest 178
1366Rank Teams by VotesArray,Hash Table,String,Counting,SortingMediumWeekly Contest 178
1367Linked List in Binary TreeTree,Depth-First Search,Breadth-First Search,Linked List,Binary TreeMediumWeekly Contest 178
1368Minimum Cost to Make at Least One Valid Path in a GridBreadth-First Search,Graph,Array,Matrix,Shortest Path,Heap (Priority Queue)HardWeekly Contest 178
1369Get the Second Most Recent ActivityDatabaseHard????
1370Increasing Decreasing StringHash Table,String,CountingEasyBiweekly Contest 21
1371Find the Longest Substring Containing Vowels in Even CountsBit Manipulation,Hash Table,String,Prefix SumMediumBiweekly Contest 21
1372Longest ZigZag Path in a Binary TreeTree,Depth-First Search,Dynamic Programming,Binary TreeMediumBiweekly Contest 21
1373Maximum Sum BST in Binary TreeTree,Depth-First Search,Binary Search Tree,Dynamic Programming,Binary TreeHardBiweekly Contest 21
1374Generate a String With Characters That Have Odd CountsStringEasyWeekly Contest 179
1375Number of Times Binary String Is Prefix-AlignedArrayMediumWeekly Contest 179
1376Time Needed to Inform All EmployeesTree,Depth-First Search,Breadth-First SearchMediumWeekly Contest 179
1377Frog Position After T SecondsTree,Depth-First Search,Breadth-First Search,GraphHardWeekly Contest 179
1378Replace Employee ID With The Unique IdentifierDatabaseEasy
1379Find a Corresponding Node of a Binary Tree in a Clone of That TreeTree,Depth-First Search,Breadth-First Search,Binary TreeEasy
1380Lucky Numbers in a MatrixArray,MatrixEasyWeekly Contest 180
1381Design a Stack With Increment OperationStack,Design,ArrayMediumWeekly Contest 180
1382Balance a Binary Search TreeGreedy,Tree,Depth-First Search,Binary Search Tree,Divide and Conquer,Binary TreeMediumWeekly Contest 180
1383Maximum Performance of a TeamGreedy,Array,Sorting,Heap (Priority Queue)HardWeekly Contest 180
1384Total Sales Amount by YearDatabaseHard????
1385Find the Distance Value Between Two ArraysArray,Two Pointers,Binary Search,SortingEasyBiweekly Contest 22
1386Cinema Seat AllocationGreedy,Bit Manipulation,Array,Hash TableMediumBiweekly Contest 22
1387Sort Integers by The Power ValueMemoization,Dynamic Programming,SortingMediumBiweekly Contest 22
1388Pizza With 3n SlicesGreedy,Array,Dynamic Programming,Heap (Priority Queue)HardBiweekly Contest 22
1389Create Target Array in the Given OrderArray,SimulationEasyWeekly Contest 181
1390Four DivisorsArray,MathMediumWeekly Contest 181
1391Check if There is a Valid Path in a GridDepth-First Search,Breadth-First Search,Union Find,Array,MatrixMediumWeekly Contest 181
1392Longest Happy PrefixString,String Matching,Hash Function,Rolling HashHardWeekly Contest 181
1393Capital GainLossDatabaseMedium
1394Find Lucky Integer in an ArrayArray,Hash Table,CountingEasyWeekly Contest 182
1395Count Number of TeamsBinary Indexed Tree,Array,Dynamic ProgrammingMediumWeekly Contest 182
1396Design Underground SystemDesign,Hash Table,StringMediumWeekly Contest 182
1397Find All Good StringsString,Dynamic Programming,String MatchingHardWeekly Contest 182
1398Customers Who Bought Products A and B but Not CDatabaseMedium????
1399Count Largest GroupHash Table,MathEasyBiweekly Contest 23
1400Construct K Palindrome StringsGreedy,Hash Table,String,CountingMediumBiweekly Contest 23
1401Circle and Rectangle OverlappingGeometry,MathMediumBiweekly Contest 23
1402Reducing DishesGreedy,Array,Dynamic Programming,SortingHardBiweekly Contest 23
1403Minimum Subsequence in Non-Increasing OrderGreedy,Array,SortingEasyWeekly Contest 183
1404Number of Steps to Reduce a Number in Binary Representation to OneBit Manipulation,StringMediumWeekly Contest 183
1405Longest Happy StringGreedy,String,Heap (Priority Queue)MediumWeekly Contest 183
1406Stone Game IIIArray,Math,Dynamic Programming,Game TheoryHardWeekly Contest 183
1407Top TravellersDatabaseEasy
1408String Matching in an ArrayArray,String,String MatchingEasyWeekly Contest 184
1409Queries on a Permutation With KeyBinary Indexed Tree,Array,SimulationMediumWeekly Contest 184
1410HTML Entity ParserHash Table,StringMediumWeekly Contest 184
1411Number of Ways to Paint N × 3 GridDynamic ProgrammingHardWeekly Contest 184
1412Find the Quiet Students in All ExamsDatabaseHard????
1413Minimum Value to Get Positive Step by Step SumArray,Prefix SumEasyBiweekly Contest 24
1414Find the Minimum Number of Fibonacci Numbers Whose Sum Is KGreedy,MathMediumBiweekly Contest 24
1415The k-th Lexicographical String of All Happy Strings of Length nString,BacktrackingMediumBiweekly Contest 24
1416Restore The ArrayString,Dynamic ProgrammingHardBiweekly Contest 24
1417Reformat The StringStringEasyWeekly Contest 185
1418Display Table of Food Orders in a RestaurantArray,Hash Table,String,Ordered Set,SortingMediumWeekly Contest 185
1419Minimum Number of Frogs CroakingString,CountingMediumWeekly Contest 185
1420Build Array Where You Can Find The Maximum Exactly K ComparisonsDynamic Programming,Prefix SumHardWeekly Contest 185
1421NPV QueriesDatabaseEasy????
1422Maximum Score After Splitting a StringString,Prefix SumEasyWeekly Contest 186
1423Maximum Points You Can Obtain from CardsArray,Prefix Sum,Sliding WindowMediumWeekly Contest 186
1424Diagonal Traverse IIArray,Sorting,Heap (Priority Queue)MediumWeekly Contest 186
1425Constrained Subsequence SumQueue,Array,Dynamic Programming,Sliding Window,Monotonic Queue,Heap (Priority Queue)HardWeekly Contest 186
1426Counting ElementsArray,Hash TableEasy????
1427Perform String ShiftsArray,Math,StringEasy????
1428Leftmost Column with at Least a OneArray,Binary Search,Interactive,MatrixMedium????
1429First Unique NumberDesign,Queue,Array,Hash Table,Data StreamMedium????
1430Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeMedium????
1431Kids With the Greatest Number of CandiesArrayEasyBiweekly Contest 25
1432Max Difference You Can Get From Changing an IntegerGreedy,MathMediumBiweekly Contest 25
1433Check If a String Can Break Another StringGreedy,String,SortingMediumBiweekly Contest 25
1434Number of Ways to Wear Different Hats to Each OtherBit Manipulation,Array,Dynamic Programming,BitmaskHardBiweekly Contest 25
1435Create a Session Bar ChartDatabaseEasy????
1436Destination CityArray,Hash Table,StringEasyWeekly Contest 187
1437Check If All 1's Are at Least Length K Places AwayArrayEasyWeekly Contest 187
1438Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitQueue,Array,Ordered Set,Sliding Window,Monotonic Queue,Heap (Priority Queue)MediumWeekly Contest 187
1439Find the Kth Smallest Sum of a Matrix With Sorted RowsArray,Binary Search,Matrix,Heap (Priority Queue)HardWeekly Contest 187
1440Evaluate Boolean ExpressionDatabaseMedium????
1441Build an Array With Stack OperationsStack,Array,SimulationMediumWeekly Contest 188
1442Count Triplets That Can Form Two Arrays of Equal XORBit Manipulation,Array,Hash Table,Math,Prefix SumMediumWeekly Contest 188
1443Minimum Time to Collect All Apples in a TreeTree,Depth-First Search,Breadth-First Search,Hash TableMediumWeekly Contest 188
1444Number of Ways of Cutting a PizzaMemoization,Array,Dynamic Programming,MatrixHardWeekly Contest 188
1445Apples & OrangesDatabaseMedium????
1446Consecutive CharactersStringEasyBiweekly Contest 26
1447Simplified FractionsMath,String,Number TheoryMediumBiweekly Contest 26
1448Count Good Nodes in Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeMediumBiweekly Contest 26
1449Form Largest Integer With Digits That Add up to TargetArray,Dynamic ProgrammingHardBiweekly Contest 26
1450Number of Students Doing Homework at a Given TimeArrayEasyWeekly Contest 189
1451Rearrange Words in a SentenceString,SortingMediumWeekly Contest 189
1452People Whose List of Favorite Companies Is Not a Subset of Another ListArray,Hash Table,StringMediumWeekly Contest 189
1453Maximum Number of Darts Inside of a Circular DartboardGeometry,Array,MathHardWeekly Contest 189
1454Active UsersDatabaseMedium????
1455Check If a Word Occurs As a Prefix of Any Word in a SentenceTwo Pointers,String,String MatchingEasyWeekly Contest 190
1456Maximum Number of Vowels in a Substring of Given LengthString,Sliding WindowMediumWeekly Contest 190
1457Pseudo-Palindromic Paths in a Binary TreeBit Manipulation,Tree,Depth-First Search,Breadth-First Search,Binary TreeMediumWeekly Contest 190
1458Max Dot Product of Two SubsequencesArray,Dynamic ProgrammingHardWeekly Contest 190
1459Rectangles AreaDatabaseMedium????
1460Make Two Arrays Equal by Reversing SubarraysArray,Hash Table,SortingEasyBiweekly Contest 27
1461Check If a String Contains All Binary Codes of Size KBit Manipulation,Hash Table,String,Hash Function,Rolling HashMediumBiweekly Contest 27
1462Course Schedule IVDepth-First Search,Breadth-First Search,Graph,Topological SortMediumBiweekly Contest 27
1463Cherry Pickup IIArray,Dynamic Programming,MatrixHardBiweekly Contest 27
1464Maximum Product of Two Elements in an ArrayArray,Sorting,Heap (Priority Queue)EasyWeekly Contest 191
1465Maximum Area of a Piece of Cake After Horizontal and Vertical CutsGreedy,Array,SortingMediumWeekly Contest 191
1466Reorder Routes to Make All Paths Lead to the City ZeroDepth-First Search,Breadth-First Search,GraphMediumWeekly Contest 191
1467Probability of a Two Boxes Having The Same Number of Distinct BallsArray,Math,Dynamic Programming,Backtracking,Combinatorics,Probability and StatisticsHardWeekly Contest 191
1468Calculate SalariesDatabaseMedium????
1469Find All The Lonely NodesTree,Depth-First Search,Breadth-First Search,Binary TreeEasy????
1470Shuffle the ArrayArrayEasyWeekly Contest 192
1471The k Strongest Values in an ArrayArray,Two Pointers,SortingMediumWeekly Contest 192
1472Design Browser HistoryStack,Design,Array,Linked List,Data Stream,Doubly-Linked ListMediumWeekly Contest 192
1473Paint House IIIArray,Dynamic ProgrammingHardWeekly Contest 192
1474Delete N Nodes After M Nodes of a Linked ListLinked ListEasy????
1475Final Prices With a Special Discount in a ShopStack,Array,Monotonic StackEasyBiweekly Contest 28
1476Subrectangle QueriesDesign,Array,MatrixMediumBiweekly Contest 28
1477Find Two Non-overlapping Sub-arrays Each With Target SumArray,Hash Table,Binary Search,Dynamic Programming,Sliding WindowMediumBiweekly Contest 28
1478Allocate MailboxesArray,Math,Dynamic Programming,SortingHardBiweekly Contest 28
1479Sales by Day of the WeekDatabaseHard????
1480Running Sum of 1d ArrayArray,Prefix SumEasyWeekly Contest 193
1481Least Number of Unique Integers after K RemovalsGreedy,Array,Hash Table,Counting,SortingMediumWeekly Contest 193
1482Minimum Number of Days to Make m BouquetsArray,Binary SearchMediumWeekly Contest 193
1483Kth Ancestor of a Tree NodeTree,Depth-First Search,Breadth-First Search,Design,Binary Search,Dynamic ProgrammingHardWeekly Contest 193
1484Group Sold Products By The DateDatabaseEasy
1485Clone Binary Tree With Random PointerTree,Depth-First Search,Breadth-First Search,Hash Table,Binary TreeMedium????
1486XOR Operation in an ArrayBit Manipulation,MathEasyWeekly Contest 194
1487Making File Names UniqueArray,Hash Table,StringMediumWeekly Contest 194
1488Avoid Flood in The CityGreedy,Array,Hash Table,Binary Search,Heap (Priority Queue)MediumWeekly Contest 194
1489Find Critical and Pseudo-Critical Edges in Minimum Spanning TreeUnion Find,Graph,Minimum Spanning Tree,Sorting,Strongly Connected ComponentHardWeekly Contest 194
1490Clone N-ary TreeTree,Depth-First Search,Breadth-First Search,Hash TableMedium????
1491Average Salary Excluding the Minimum and Maximum SalaryArray,SortingEasyBiweekly Contest 29
1492The kth Factor of nMath,Number TheoryMediumBiweekly Contest 29
1493Longest Subarray of 1's After Deleting One ElementArray,Dynamic Programming,Sliding WindowMediumBiweekly Contest 29
1494Parallel Courses IIBit Manipulation,Graph,Dynamic Programming,BitmaskHardBiweekly Contest 29
1495Friendly Movies Streamed Last MonthDatabaseEasy????
1496Path CrossingHash Table,StringEasyWeekly Contest 195
1497Check If Array Pairs Are Divisible by kArray,Hash Table,CountingMediumWeekly Contest 195
1498Number of Subsequences That Satisfy the Given Sum ConditionArray,Two Pointers,Binary Search,SortingMediumWeekly Contest 195
1499Max Value of EquationQueue,Array,Sliding Window,Monotonic Queue,Heap (Priority Queue)HardWeekly Contest 195
1500Design a File Sharing SystemDesign,Hash Table,Data Stream,Heap (Priority Queue)Medium????
1501Countries You Can Safely Invest InDatabaseMedium????
1502Can Make Arithmetic Progression From SequenceArray,SortingEasyWeekly Contest 196
1503Last Moment Before All Ants Fall Out of a PlankBrainteaser,Array,SimulationMediumWeekly Contest 196
1504Count Submatrices With All OnesStack,Array,Dynamic Programming,Matrix,Monotonic StackMediumWeekly Contest 196
1505Minimum Possible Integer After at Most K Adjacent Swaps On DigitsGreedy,Binary Indexed Tree,Segment Tree,StringHardWeekly Contest 196
1506Find Root of N-Ary TreeBit Manipulation,Tree,Depth-First Search,Hash TableMedium????
1507Reformat DateStringEasyBiweekly Contest 30
1508Range Sum of Sorted Subarray SumsArray,Two Pointers,Binary Search,SortingMediumBiweekly Contest 30
1509Minimum Difference Between Largest and Smallest Value in Three MovesGreedy,Array,SortingMediumBiweekly Contest 30
1510Stone Game IVMath,Dynamic Programming,Game TheoryHardBiweekly Contest 30
1511Customer Order FrequencyDatabaseEasy????
1512Number of Good PairsArray,Hash Table,Math,CountingEasyWeekly Contest 197
1513Number of Substrings With Only 1sMath,StringMediumWeekly Contest 197
1514Path with Maximum ProbabilityGraph,Array,Shortest Path,Heap (Priority Queue)MediumWeekly Contest 197
1515Best Position for a Service CentreGeometry,Math,RandomizedHardWeekly Contest 197
1516Move Sub-Tree of N-Ary TreeTree,Depth-First SearchHard????
1517Find Users With Valid E-MailsDatabaseEasy
1518Water BottlesMath,SimulationEasyWeekly Contest 198
1519Number of Nodes in the Sub-Tree With the Same LabelTree,Depth-First Search,Breadth-First Search,Hash Table,CountingMediumWeekly Contest 198
1520Maximum Number of Non-Overlapping SubstringsGreedy,StringHardWeekly Contest 198
1521Find a Value of a Mysterious Function Closest to TargetBit Manipulation,Segment Tree,Array,Binary SearchHardWeekly Contest 198
1522Diameter of N-Ary TreeTree,Depth-First SearchMedium????
1523Count Odd Numbers in an Interval RangeMathEasyBiweekly Contest 31
1524Number of Sub-arrays With Odd SumArray,Math,Dynamic Programming,Prefix SumMediumBiweekly Contest 31
1525Number of Good Ways to Split a StringBit Manipulation,String,Dynamic ProgrammingMediumBiweekly Contest 31
1526Minimum Number of Increments on Subarrays to Form a Target ArrayStack,Greedy,Array,Dynamic Programming,Monotonic StackHardBiweekly Contest 31
1527Patients With a ConditionDatabaseEasy
1528Shuffle StringArray,StringEasyWeekly Contest 199
1529Minimum Suffix FlipsGreedy,StringMediumWeekly Contest 199
1530Number of Good Leaf Nodes PairsTree,Depth-First Search,Binary TreeMediumWeekly Contest 199
1531String Compression IIString,Dynamic ProgrammingHardWeekly Contest 199
1532The Most Recent Three OrdersDatabaseMedium????
1533Find the Index of the Large IntegerArray,Binary Search,InteractiveMedium????
1534Count Good TripletsArray,EnumerationEasyWeekly Contest 200
1535Find the Winner of an Array GameArray,SimulationMediumWeekly Contest 200
1536Minimum Swaps to Arrange a Binary GridGreedy,Array,MatrixMediumWeekly Contest 200
1537Get the Maximum ScoreGreedy,Array,Two Pointers,Dynamic ProgrammingHardWeekly Contest 200
1538Guess the Majority in a Hidden ArrayArray,Math,InteractiveMedium????
1539Kth Missing Positive NumberArray,Binary SearchEasyBiweekly Contest 32
1540Can Convert String in K MovesHash Table,StringMediumBiweekly Contest 32
1541Minimum Insertions to Balance a Parentheses StringStack,Greedy,StringMediumBiweekly Contest 32
1542Find Longest Awesome SubstringBit Manipulation,Hash Table,StringHardBiweekly Contest 32
1543Fix Product Name FormatDatabaseEasy????
1544Make The String GreatStack,StringEasyWeekly Contest 201
1545Find Kth Bit in Nth Binary StringRecursion,String,SimulationMediumWeekly Contest 201
1546Maximum Number of Non-Overlapping Subarrays With Sum Equals TargetGreedy,Array,Hash Table,Prefix SumMediumWeekly Contest 201
1547Minimum Cost to Cut a StickArray,Dynamic Programming,SortingHardWeekly Contest 201
1548The Most Similar Path in a GraphGraph,Dynamic ProgrammingHard????
1549The Most Recent Orders for Each ProductDatabaseMedium????
1550Three Consecutive OddsArrayEasyWeekly Contest 202
1551Minimum Operations to Make Array EqualMathMediumWeekly Contest 202
1552Magnetic Force Between Two BallsArray,Binary Search,SortingMediumWeekly Contest 202
1553Minimum Number of Days to Eat N OrangesMemoization,Dynamic ProgrammingHardWeekly Contest 202
1554Strings Differ by One CharacterHash Table,String,Hash Function,Rolling HashMedium????
1555Bank Account SummaryDatabaseMedium????
1556Thousand SeparatorStringEasyBiweekly Contest 33
1557Minimum Number of Vertices to Reach All NodesGraphMediumBiweekly Contest 33
1558Minimum Numbers of Function Calls to Make Target ArrayGreedy,Bit Manipulation,ArrayMediumBiweekly Contest 33
1559Detect Cycles in 2D GridDepth-First Search,Breadth-First Search,Union Find,Array,MatrixMediumBiweekly Contest 33
1560Most Visited Sector in a Circular TrackArray,SimulationEasyWeekly Contest 203
1561Maximum Number of Coins You Can GetGreedy,Array,Math,Game Theory,SortingMediumWeekly Contest 203
1562Find Latest Group of Size MArray,Binary Search,SimulationMediumWeekly Contest 203
1563Stone Game VArray,Math,Dynamic Programming,Game TheoryHardWeekly Contest 203
1564Put Boxes Into the Warehouse IGreedy,Array,SortingMedium????
1565Unique Orders and Customers Per MonthDatabaseEasy????
1566Detect Pattern of Length M Repeated K or More TimesArray,EnumerationEasyWeekly Contest 204
1567Maximum Length of Subarray With Positive ProductGreedy,Array,Dynamic ProgrammingMediumWeekly Contest 204
1568Minimum Number of Days to Disconnect IslandDepth-First Search,Breadth-First Search,Array,Matrix,Strongly Connected ComponentHardWeekly Contest 204
1569Number of Ways to Reorder Array to Get Same BSTTree,Union Find,Binary Search Tree,Memoization,Array,Math,Divide and Conquer,Dynamic Programming,Binary Tree,CombinatoricsHardWeekly Contest 204
1570Dot Product of Two Sparse VectorsDesign,Array,Hash Table,Two PointersMedium????
1571Warehouse ManagerDatabaseEasy????
1572Matrix Diagonal SumArray,MatrixEasyBiweekly Contest 34
1573Number of Ways to Split a StringMath,StringMediumBiweekly Contest 34
1574Shortest Subarray to be Removed to Make Array SortedStack,Array,Two Pointers,Binary Search,Monotonic StackMediumBiweekly Contest 34
1575Count All Possible RoutesMemoization,Array,Dynamic ProgrammingHardBiweekly Contest 34
1576Replace All 's to Avoid Consecutive Repeating CharactersStringEasyWeekly Contest 205
1577Number of Ways Where Square of Number Is Equal to Product of Two NumbersArray,Hash Table,Math,Two PointersMediumWeekly Contest 205
1578Minimum Time to Make Rope ColorfulGreedy,Array,String,Dynamic ProgrammingMediumWeekly Contest 205
1579Remove Max Number of Edges to Keep Graph Fully TraversableUnion Find,GraphHardWeekly Contest 205
1580Put Boxes Into the Warehouse IIGreedy,Array,SortingMedium????
1581Customer Who Visited but Did Not Make Any TransactionsDatabaseEasy
1582Special Positions in a Binary MatrixArray,MatrixEasyWeekly Contest 206
1583Count Unhappy FriendsArray,SimulationMediumWeekly Contest 206
1584Min Cost to Connect All PointsUnion Find,Graph,Array,Minimum Spanning TreeMediumWeekly Contest 206
1585Check If String Is Transformable With Substring Sort OperationsGreedy,String,SortingHardWeekly Contest 206
1586Binary Search Tree Iterator IIStack,Tree,Design,Binary Search Tree,Binary Tree,IteratorMedium????
1587Bank Account Summary IIDatabaseEasy
1588Sum of All Odd Length SubarraysArray,Math,Prefix SumEasyBiweekly Contest 35
1589Maximum Sum Obtained of Any PermutationGreedy,Array,Prefix Sum,SortingMediumBiweekly Contest 35
1590Make Sum Divisible by PArray,Hash Table,Prefix SumMediumBiweekly Contest 35
1591Strange Printer IIGraph,Topological Sort,Array,MatrixHardBiweekly Contest 35
1592Rearrange Spaces Between WordsStringEasyWeekly Contest 207
1593Split a String Into the Max Number of Unique SubstringsHash Table,String,BacktrackingMediumWeekly Contest 207
1594Maximum Non Negative Product in a MatrixArray,Dynamic Programming,MatrixMediumWeekly Contest 207
1595Minimum Cost to Connect Two Groups of PointsBit Manipulation,Array,Dynamic Programming,Bitmask,MatrixHardWeekly Contest 207
1596The Most Frequently Ordered Products for Each CustomerDatabaseMedium????
1597Build Binary Expression Tree From Infix ExpressionStack,Tree,String,Binary TreeHard????
1598Crawler Log FolderStack,Array,StringEasyWeekly Contest 208
1599Maximum Profit of Operating a Centennial WheelArray,SimulationMediumWeekly Contest 208
1600Throne InheritanceTree,Depth-First Search,Design,Hash TableMediumWeekly Contest 208
1601Maximum Number of Achievable Transfer RequestsBit Manipulation,Array,Backtracking,EnumerationHardWeekly Contest 208
1602Find Nearest Right Node in Binary TreeTree,Breadth-First Search,Binary TreeMedium????
1603Design Parking SystemDesign,Counting,SimulationEasyBiweekly Contest 36
1604Alert Using Same Key-Card Three or More Times in a One Hour PeriodArray,Hash Table,String,SortingMediumBiweekly Contest 36
1605Find Valid Matrix Given Row and Column SumsGreedy,Array,MatrixMediumBiweekly Contest 36
1606Find Servers That Handled Most Number of RequestsGreedy,Array,Ordered Set,Heap (Priority Queue)HardBiweekly Contest 36
1607Sellers With No SalesDatabaseEasy????
1608Special Array With X Elements Greater Than or Equal XArray,Binary Search,SortingEasyWeekly Contest 209
1609Even Odd TreeTree,Breadth-First Search,Binary TreeMediumWeekly Contest 209
1610Maximum Number of Visible PointsGeometry,Array,Math,Sorting,Sliding WindowHardWeekly Contest 209
1611Minimum One Bit Operations to Make Integers ZeroBit Manipulation,Memoization,Dynamic ProgrammingHardWeekly Contest 209
1612Check If Two Expression Trees are EquivalentTree,Depth-First Search,Binary TreeMedium????
1613Find the Missing IDsDatabaseMedium????
1614Maximum Nesting Depth of the ParenthesesStack,StringEasyWeekly Contest 210
1615Maximal Network RankGraphMediumWeekly Contest 210
1616Split Two Strings to Make PalindromeTwo Pointers,StringMediumWeekly Contest 210
1617Count Subtrees With Max Distance Between CitiesBit Manipulation,Tree,Dynamic Programming,Bitmask,EnumerationHardWeekly Contest 210
1618Maximum Font to Fit a Sentence in a ScreenArray,String,Binary Search,InteractiveMedium????
1619Mean of Array After Removing Some ElementsArray,SortingEasyBiweekly Contest 37
1620Coordinate With Maximum Network QualityArray,EnumerationMediumBiweekly Contest 37
1621Number of Sets of K Non-Overlapping Line SegmentsMath,Dynamic Programming,CombinatoricsMediumBiweekly Contest 37
1622Fancy SequenceDesign,Segment Tree,MathHardBiweekly Contest 37
1623All Valid Triplets That Can Represent a CountryDatabaseEasy????
1624Largest Substring Between Two Equal CharactersHash Table,StringEasyWeekly Contest 211
1625Lexicographically Smallest String After Applying OperationsBreadth-First Search,StringMediumWeekly Contest 211
1626Best Team With No ConflictsArray,Dynamic Programming,SortingMediumWeekly Contest 211
1627Graph Connectivity With ThresholdUnion Find,Array,Math,Number TheoryHardWeekly Contest 211
1628Design an Expression Tree With Evaluate FunctionStack,Tree,Design,Math,Binary TreeMedium????
1629Slowest KeyArray,StringEasyWeekly Contest 212
1630Arithmetic SubarraysArray,Hash Table,SortingMediumWeekly Contest 212
1631Path With Minimum EffortDepth-First Search,Breadth-First Search,Union Find,Array,Binary Search,Matrix,Heap (Priority Queue)MediumWeekly Contest 212
1632Rank Transform of a MatrixUnion Find,Graph,Topological Sort,Array,Matrix,SortingHardWeekly Contest 212
1633Percentage of Users Attended a ContestDatabaseEasy
1634Add Two Polynomials Represented as Linked ListsLinked List,Math,Two PointersMedium????
1635Hopper Company Queries IDatabaseHard????
1636Sort Array by Increasing FrequencyArray,Hash Table,SortingEasyBiweekly Contest 38
1637Widest Vertical Area Between Two Points Containing No PointsArray,SortingEasyBiweekly Contest 38
1638Count Substrings That Differ by One CharacterHash Table,String,Dynamic ProgrammingMediumBiweekly Contest 38
1639Number of Ways to Form a Target String Given a DictionaryArray,String,Dynamic ProgrammingHardBiweekly Contest 38
1640Check Array Formation Through ConcatenationArray,Hash TableEasyWeekly Contest 213
1641Count Sorted Vowel StringsMath,Dynamic Programming,CombinatoricsMediumWeekly Contest 213
1642Furthest Building You Can ReachGreedy,Array,Heap (Priority Queue)MediumWeekly Contest 213
1643Kth Smallest InstructionsArray,Math,Dynamic Programming,CombinatoricsHardWeekly Contest 213
1644Lowest Common Ancestor of a Binary Tree IITree,Depth-First Search,Binary TreeMedium????
1645Hopper Company Queries IIDatabaseHard????
1646Get Maximum in Generated ArrayArray,SimulationEasyWeekly Contest 214
1647Minimum Deletions to Make Character Frequencies UniqueGreedy,Hash Table,String,SortingMediumWeekly Contest 214
1648Sell Diminishing-Valued Colored BallsGreedy,Array,Math,Binary Search,Sorting,Heap (Priority Queue)MediumWeekly Contest 214
1649Create Sorted Array through InstructionsBinary Indexed Tree,Segment Tree,Array,Binary Search,Divide and Conquer,Ordered Set,Merge SortHardWeekly Contest 214
1650Lowest Common Ancestor of a Binary Tree IIITree,Hash Table,Two Pointers,Binary TreeMedium????
1651Hopper Company Queries IIIDatabaseHard????
1652Defuse the BombArray,Sliding WindowEasyBiweekly Contest 39
1653Minimum Deletions to Make String BalancedStack,String,Dynamic ProgrammingMediumBiweekly Contest 39
1654Minimum Jumps to Reach HomeBreadth-First Search,Array,Dynamic ProgrammingMediumBiweekly Contest 39
1655Distribute Repeating IntegersBit Manipulation,Array,Dynamic Programming,Backtracking,BitmaskHardBiweekly Contest 39
1656Design an Ordered StreamDesign,Array,Hash Table,Data StreamEasyWeekly Contest 215
1657Determine if Two Strings Are CloseHash Table,String,Counting,SortingMediumWeekly Contest 215
1658Minimum Operations to Reduce X to ZeroArray,Hash Table,Binary Search,Prefix Sum,Sliding WindowMediumWeekly Contest 215
1659Maximize Grid HappinessBit Manipulation,Memoization,Dynamic Programming,BitmaskHardWeekly Contest 215
1660Correct a Binary TreeTree,Depth-First Search,Breadth-First Search,Hash Table,Binary TreeMedium????
1661Average Time of Process per MachineDatabaseEasy
1662Check If Two String Arrays are EquivalentArray,StringEasyWeekly Contest 216
1663Smallest String With A Given Numeric ValueGreedy,StringMediumWeekly Contest 216
1664Ways to Make a Fair ArrayArray,Prefix SumMediumWeekly Contest 216
1665Minimum Initial Energy to Finish TasksGreedy,Array,SortingHardWeekly Contest 216
1666Change the Root of a Binary TreeTree,Depth-First Search,Binary TreeMedium????
1667Fix Names in a TableDatabaseEasy
1668Maximum Repeating SubstringString,String MatchingEasyBiweekly Contest 40
1669Merge In Between Linked ListsLinked ListMediumBiweekly Contest 40
1670Design Front Middle Back QueueDesign,Queue,Array,Linked List,Data StreamMediumBiweekly Contest 40
1671Minimum Number of Removals to Make Mountain ArrayGreedy,Array,Binary Search,Dynamic ProgrammingHardBiweekly Contest 40
1672Richest Customer WealthArray,MatrixEasyWeekly Contest 217
1673Find the Most Competitive SubsequenceStack,Greedy,Array,Monotonic StackMediumWeekly Contest 217
1674Minimum Moves to Make Array ComplementaryArray,Hash Table,Prefix SumMediumWeekly Contest 217
1675Minimize Deviation in ArrayGreedy,Array,Ordered Set,Heap (Priority Queue)HardWeekly Contest 217
1676Lowest Common Ancestor of a Binary Tree IVTree,Depth-First Search,Hash Table,Binary TreeMedium????
1677Product's Worth Over InvoicesDatabaseEasy????
1678Goal Parser InterpretationStringEasyWeekly Contest 218
1679Max Number of K-Sum PairsArray,Hash Table,Two Pointers,SortingMediumWeekly Contest 218
1680Concatenation of Consecutive Binary NumbersBit Manipulation,Math,SimulationMediumWeekly Contest 218
1681Minimum IncompatibilityBit Manipulation,Array,Dynamic Programming,BitmaskHardWeekly Contest 218
1682Longest Palindromic Subsequence IIString,Dynamic ProgrammingMedium????
1683Invalid TweetsDatabaseEasy
1684Count the Number of Consistent StringsBit Manipulation,Array,Hash Table,StringEasyBiweekly Contest 41
1685Sum of Absolute Differences in a Sorted ArrayArray,Math,Prefix SumMediumBiweekly Contest 41
1686Stone Game VIGreedy,Array,Math,Game Theory,Sorting,Heap (Priority Queue)MediumBiweekly Contest 41
1687Delivering Boxes from Storage to PortsSegment Tree,Queue,Array,Dynamic Programming,Prefix Sum,Monotonic Queue,Heap (Priority Queue)HardBiweekly Contest 41
1688Count of Matches in TournamentMath,SimulationEasyWeekly Contest 219
1689Partitioning Into Minimum Number Of Deci-Binary NumbersGreedy,StringMediumWeekly Contest 219
1690Stone Game VIIArray,Math,Dynamic Programming,Game TheoryMediumWeekly Contest 219
1691Maximum Height by Stacking CuboidsArray,Dynamic Programming,SortingHardWeekly Contest 219
1692Count Ways to Distribute CandiesDynamic ProgrammingHard????
1693Daily Leads and PartnersDatabaseEasy
1694Reformat Phone NumberStringEasyWeekly Contest 220
1695Maximum Erasure ValueArray,Hash Table,Sliding WindowMediumWeekly Contest 220
1696Jump Game VIQueue,Array,Dynamic Programming,Monotonic Queue,Heap (Priority Queue)MediumWeekly Contest 220
1697Checking Existence of Edge Length Limited PathsUnion Find,Graph,Array,Two Pointers,SortingHardWeekly Contest 220
1698Number of Distinct Substrings in a StringTrie,String,Suffix Array,Hash Function,Rolling HashMedium????
1699Number of Calls Between Two PersonsDatabaseMedium????
1700Number of Students Unable to Eat LunchStack,Queue,Array,SimulationEasyBiweekly Contest 42
1701Average Waiting TimeArray,SimulationMediumBiweekly Contest 42
1702Maximum Binary String After ChangeGreedy,StringMediumBiweekly Contest 42
1703Minimum Adjacent Swaps for K Consecutive OnesGreedy,Array,Prefix Sum,Sliding WindowHardBiweekly Contest 42
1704Determine if String Halves Are AlikeString,CountingEasyWeekly Contest 221
1705Maximum Number of Eaten ApplesGreedy,Array,Heap (Priority Queue)MediumWeekly Contest 221
1706Where Will the Ball FallArray,Matrix,SimulationMediumWeekly Contest 221
1707Maximum XOR With an Element From ArrayBit Manipulation,Trie,ArrayHardWeekly Contest 221
1708Largest Subarray Length KGreedy,ArrayEasy????
1709Biggest Window Between VisitsDatabaseMedium????
1710Maximum Units on a TruckGreedy,Array,SortingEasyWeekly Contest 222
1711Count Good MealsArray,Hash TableMediumWeekly Contest 222
1712Ways to Split Array Into Three SubarraysArray,Two Pointers,Binary Search,Prefix SumMediumWeekly Contest 222
1713Minimum Operations to Make a SubsequenceGreedy,Array,Hash Table,Binary SearchHardWeekly Contest 222
1714Sum Of Special Evenly-Spaced Elements In ArrayArray,Dynamic ProgrammingHard????
1715Count Apples and OrangesDatabaseMedium????
1716Calculate Money in Leetcode BankMathEasyBiweekly Contest 43
1717Maximum Score From Removing SubstringsStack,Greedy,StringMediumBiweekly Contest 43
1718Construct the Lexicographically Largest Valid SequenceArray,BacktrackingMediumBiweekly Contest 43
1719Number Of Ways To Reconstruct A TreeTree,GraphHardBiweekly Contest 43
1720Decode XORed ArrayBit Manipulation,ArrayEasyWeekly Contest 223
1721Swapping Nodes in a Linked ListLinked List,Two PointersMediumWeekly Contest 223
1722Minimize Hamming Distance After Swap OperationsDepth-First Search,Union Find,ArrayMediumWeekly Contest 223
1723Find Minimum Time to Finish All JobsBit Manipulation,Array,Dynamic Programming,Backtracking,BitmaskHardWeekly Contest 223
1724Checking Existence of Edge Length Limited Paths IIUnion Find,Graph,Minimum Spanning TreeHard????
1725Number Of Rectangles That Can Form The Largest SquareArrayEasyWeekly Contest 224
1726Tuple with Same ProductArray,Hash Table,CountingMediumWeekly Contest 224
1727Largest Submatrix With RearrangementsGreedy,Array,Matrix,SortingMediumWeekly Contest 224
1728Cat and Mouse IIGraph,Topological Sort,Memoization,Array,Math,Dynamic Programming,Game Theory,MatrixHardWeekly Contest 224
1729Find Followers CountDatabaseEasy
1730Shortest Path to Get FoodBreadth-First Search,Array,MatrixMedium????
1731The Number of Employees Which Report to Each EmployeeDatabaseEasy
1732Find the Highest AltitudeArray,Prefix SumEasyBiweekly Contest 44
1733Minimum Number of People to TeachGreedy,Array,Hash TableMediumBiweekly Contest 44
1734Decode XORed PermutationBit Manipulation,ArrayMediumBiweekly Contest 44
1735Count Ways to Make Array With ProductArray,Math,Dynamic Programming,Combinatorics,Number TheoryHardBiweekly Contest 44
1736Latest Time by Replacing Hidden DigitsGreedy,StringEasyWeekly Contest 225
1737Change Minimum Characters to Satisfy One of Three ConditionsHash Table,String,Counting,Prefix SumMediumWeekly Contest 225
1738Find Kth Largest XOR Coordinate ValueBit Manipulation,Array,Divide and Conquer,Matrix,Prefix Sum,Quickselect,Heap (Priority Queue)MediumWeekly Contest 225
1739Building BoxesGreedy,Math,Binary SearchHardWeekly Contest 225
1740Find Distance in a Binary TreeTree,Depth-First Search,Breadth-First Search,Hash Table,Binary TreeMedium????
1741Find Total Time Spent by Each EmployeeDatabaseEasy
1742Maximum Number of Balls in a BoxHash Table,Math,CountingEasyWeekly Contest 226
1743Restore the Array From Adjacent PairsArray,Hash TableMediumWeekly Contest 226
1744Can You Eat Your Favorite Candy on Your Favorite DayArray,Prefix SumMediumWeekly Contest 226
1745Palindrome Partitioning IVString,Dynamic ProgrammingHardWeekly Contest 226
1746Maximum Subarray Sum After One OperationArray,Dynamic ProgrammingMedium????
1747Leetflex Banned AccountsDatabaseMedium????
1748Sum of Unique ElementsArray,Hash Table,CountingEasyBiweekly Contest 45
1749Maximum Absolute Sum of Any SubarrayArray,Dynamic ProgrammingMediumBiweekly Contest 45
1750Minimum Length of String After Deleting Similar EndsTwo Pointers,StringMediumBiweekly Contest 45
1751Maximum Number of Events That Can Be Attended IIArray,Binary Search,Dynamic Programming,SortingHardBiweekly Contest 45
1752Check if Array Is Sorted and RotatedArrayEasyWeekly Contest 227
1753Maximum Score From Removing StonesGreedy,Math,Heap (Priority Queue)MediumWeekly Contest 227
1754Largest Merge Of Two StringsGreedy,Two Pointers,StringMediumWeekly Contest 227
1755Closest Subsequence SumBit Manipulation,Array,Two Pointers,Dynamic Programming,BitmaskHardWeekly Contest 227
1756Design Most Recently Used QueueStack,Design,Binary Indexed Tree,Array,Hash Table,Ordered SetMedium????
1757Recyclable and Low Fat ProductsDatabaseEasy
1758Minimum Changes To Make Alternating Binary StringStringEasyWeekly Contest 228
1759Count Number of Homogenous SubstringsMath,StringMediumWeekly Contest 228
1760Minimum Limit of Balls in a BagArray,Binary SearchMediumWeekly Contest 228
1761Minimum Degree of a Connected Trio in a GraphGraphHardWeekly Contest 228
1762Buildings With an Ocean ViewStack,Array,Monotonic StackMedium????
1763Longest Nice SubstringBit Manipulation,Hash Table,String,Divide and Conquer,Sliding WindowEasyBiweekly Contest 46
1764Form Array by Concatenating Subarrays of Another ArrayGreedy,Array,String MatchingMediumBiweekly Contest 46
1765Map of Highest PeakBreadth-First Search,Array,MatrixMediumBiweekly Contest 46
1766Tree of CoprimesTree,Depth-First Search,Breadth-First Search,MathHardBiweekly Contest 46
1767Find the Subtasks That Did Not ExecuteDatabaseHard????
1768Merge Strings AlternatelyTwo Pointers,StringEasyWeekly Contest 229
1769Minimum Number of Operations to Move All Balls to Each BoxArray,StringMediumWeekly Contest 229
1770Maximum Score from Performing Multiplication OperationsArray,Dynamic ProgrammingHardWeekly Contest 229
1771Maximize Palindrome Length From SubsequencesString,Dynamic ProgrammingHardWeekly Contest 229
1772Sort Features by PopularityArray,Hash Table,String,SortingMedium????
1773Count Items Matching a RuleArray,StringEasyWeekly Contest 230
1774Closest Dessert CostArray,Dynamic Programming,BacktrackingMediumWeekly Contest 230
1775Equal Sum Arrays With Minimum Number of OperationsGreedy,Array,Hash Table,CountingMediumWeekly Contest 230
1776Car Fleet IIStack,Array,Math,Monotonic Stack,Heap (Priority Queue)HardWeekly Contest 230
1777Product's Price for Each StoreDatabaseEasy????
1778Shortest Path in a Hidden GridDepth-First Search,Breadth-First Search,Graph,InteractiveMedium????
1779Find Nearest Point That Has the Same X or Y CoordinateArrayEasyBiweekly Contest 47
1780Check if Number is a Sum of Powers of ThreeMathMediumBiweekly Contest 47
1781Sum of Beauty of All SubstringsHash Table,String,CountingMediumBiweekly Contest 47
1782Count Pairs Of NodesGraph,Array,Two Pointers,Binary Search,SortingHardBiweekly Contest 47
1783Grand Slam TitlesDatabaseMedium????
1784Check if Binary String Has at Most One Segment of OnesStringEasyWeekly Contest 231
1785Minimum Elements to Add to Form a Given SumGreedy,ArrayMediumWeekly Contest 231
1786Number of Restricted Paths From First to Last NodeGraph,Topological Sort,Dynamic Programming,Shortest Path,Heap (Priority Queue)MediumWeekly Contest 231
1787Make the XOR of All Segments Equal to ZeroBit Manipulation,Array,Dynamic ProgrammingHardWeekly Contest 231
1788Maximize the Beauty of the GardenGreedy,Array,Prefix SumHard????
1789Primary Department for Each EmployeeDatabaseEasy
1790Check if One String Swap Can Make Strings EqualHash Table,String,CountingEasyWeekly Contest 232
1791Find Center of Star GraphGraphEasyWeekly Contest 232
1792Maximum Average Pass RatioGreedy,Array,Heap (Priority Queue)MediumWeekly Contest 232
1793Maximum Score of a Good SubarrayStack,Array,Two Pointers,Binary Search,Monotonic StackHardWeekly Contest 232
1794Count Pairs of Equal Substrings With Minimum DifferenceGreedy,Hash Table,StringMedium????
1795Rearrange Products TableDatabaseEasy
1796Second Largest Digit in a StringHash Table,StringEasyBiweekly Contest 48
1797Design Authentication ManagerDesign,Hash TableMediumBiweekly Contest 48
1798Maximum Number of Consecutive Values You Can MakeGreedy,Array,SortingMediumBiweekly Contest 48
1799Maximize Score After N OperationsBit Manipulation,Array,Math,Dynamic Programming,Backtracking,Bitmask,Number TheoryHardBiweekly Contest 48
1800Maximum Ascending Subarray SumArrayEasyWeekly Contest 233
1801Number of Orders in the BacklogArray,Simulation,Heap (Priority Queue)MediumWeekly Contest 233
1802Maximum Value at a Given Index in a Bounded ArrayGreedy,Binary SearchMediumWeekly Contest 233
1803Count Pairs With XOR in a RangeBit Manipulation,Trie,ArrayHardWeekly Contest 233
1804Implement Trie II (Prefix Tree)Design,Trie,Hash Table,StringMedium????
1805Number of Different Integers in a StringHash Table,StringEasyWeekly Contest 234
1806Minimum Number of Operations to Reinitialize a PermutationArray,Math,SimulationMediumWeekly Contest 234
1807Evaluate the Bracket Pairs of a StringArray,Hash Table,StringMediumWeekly Contest 234
1808Maximize Number of Nice DivisorsRecursion,MathHardWeekly Contest 234
1809Ad-Free SessionsDatabaseEasy????
1810Minimum Path Cost in a Hidden GridDepth-First Search,Breadth-First Search,Graph,Interactive,Heap (Priority Queue)Medium????
1811Find Interview CandidatesDatabaseMedium????
1812Determine Color of a Chessboard SquareMath,StringEasyBiweekly Contest 49
1813Sentence Similarity IIIArray,Two Pointers,StringMediumBiweekly Contest 49
1814Count Nice Pairs in an ArrayArray,Hash Table,Math,CountingMediumBiweekly Contest 49
1815Maximum Number of Groups Getting Fresh DonutsBit Manipulation,Memoization,Array,Dynamic Programming,BitmaskHardBiweekly Contest 49
1816Truncate SentenceArray,StringEasyWeekly Contest 235
1817Finding the Users Active MinutesArray,Hash TableMediumWeekly Contest 235
1818Minimum Absolute Sum DifferenceArray,Binary Search,Ordered Set,SortingMediumWeekly Contest 235
1819Number of Different Subsequences GCDsArray,Math,Counting,Number TheoryHardWeekly Contest 235
1820Maximum Number of Accepted InvitationsArray,Backtracking,MatrixMedium????
1821Find Customers With Positive Revenue this YearDatabaseEasy????
1822Sign of the Product of an ArrayArray,MathEasyWeekly Contest 236
1823Find the Winner of the Circular GameRecursion,Queue,Array,Math,SimulationMediumWeekly Contest 236
1824Minimum Sideway JumpsGreedy,Array,Dynamic ProgrammingMediumWeekly Contest 236
1825Finding MK AverageDesign,Queue,Data Stream,Ordered Set,Heap (Priority Queue)HardWeekly Contest 236
1826Faulty SensorArray,Two PointersEasy????
1827Minimum Operations to Make the Array IncreasingGreedy,ArrayEasyBiweekly Contest 50
1828Queries on Number of Points Inside a CircleGeometry,Array,MathMediumBiweekly Contest 50
1829Maximum XOR for Each QueryBit Manipulation,Array,Prefix SumMediumBiweekly Contest 50
1830Minimum Number of Operations to Make String SortedMath,String,CombinatoricsHardBiweekly Contest 50
1831Maximum Transaction Each DayDatabaseMedium????
1832Check if the Sentence Is PangramHash Table,StringEasyWeekly Contest 237
1833Maximum Ice Cream BarsGreedy,Array,SortingMediumWeekly Contest 237
1834Single-Threaded CPUArray,Sorting,Heap (Priority Queue)MediumWeekly Contest 237
1835Find XOR Sum of All Pairs Bitwise ANDBit Manipulation,Array,MathHardWeekly Contest 237
1836Remove Duplicates From an Unsorted Linked ListHash Table,Linked ListMedium????
1837Sum of Digits in Base KMathEasyWeekly Contest 238
1838Frequency of the Most Frequent ElementGreedy,Array,Binary Search,Prefix Sum,Sorting,Sliding WindowMediumWeekly Contest 238
1839Longest Substring Of All Vowels in OrderString,Sliding WindowMediumWeekly Contest 238
1840Maximum Building HeightArray,MathHardWeekly Contest 238
1841League StatisticsDatabaseMedium????
1842Next Palindrome Using Same DigitsTwo Pointers,StringHard????
1843Suspicious Bank AccountsDatabaseMedium????
1844Replace All Digits with CharactersStringEasyBiweekly Contest 51
1845Seat Reservation ManagerDesign,Heap (Priority Queue)MediumBiweekly Contest 51
1846Maximum Element After Decreasing and RearrangingGreedy,Array,SortingMediumBiweekly Contest 51
1847Closest RoomArray,Binary Search,SortingHardBiweekly Contest 51
1848Minimum Distance to the Target ElementArrayEasyWeekly Contest 239
1849Splitting a String Into Descending Consecutive ValuesString,BacktrackingMediumWeekly Contest 239
1850Minimum Adjacent Swaps to Reach the Kth Smallest NumberGreedy,Two Pointers,StringMediumWeekly Contest 239
1851Minimum Interval to Include Each QueryArray,Binary Search,Sorting,Line Sweep,Heap (Priority Queue)HardWeekly Contest 239
1852Distinct Numbers in Each SubarrayArray,Hash Table,Sliding WindowMedium????
1853Convert Date FormatDatabaseEasy????
1854Maximum Population YearArray,Counting,Prefix SumEasyWeekly Contest 240
1855Maximum Distance Between a Pair of ValuesArray,Two Pointers,Binary SearchMediumWeekly Contest 240
1856Maximum Subarray Min-ProductStack,Array,Prefix Sum,Monotonic StackMediumWeekly Contest 240
1857Largest Color Value in a Directed GraphGraph,Topological Sort,Memoization,Hash Table,Dynamic Programming,CountingHardWeekly Contest 240
1858Longest Word With All PrefixesDepth-First Search,TrieMedium????
1859Sorting the SentenceString,SortingEasyBiweekly Contest 52
1860Incremental Memory LeakMath,SimulationMediumBiweekly Contest 52
1861Rotating the BoxArray,Two Pointers,MatrixMediumBiweekly Contest 52
1862Sum of Floored PairsArray,Math,Binary Search,Prefix SumHardBiweekly Contest 52
1863Sum of All Subset XOR TotalsBit Manipulation,Array,Math,Backtracking,CombinatoricsEasyWeekly Contest 241
1864Minimum Number of Swaps to Make the Binary String AlternatingGreedy,StringMediumWeekly Contest 241
1865Finding Pairs With a Certain SumDesign,Array,Hash TableMediumWeekly Contest 241
1866Number of Ways to Rearrange Sticks With K Sticks VisibleMath,Dynamic Programming,CombinatoricsHardWeekly Contest 241
1867Orders With Maximum Quantity Above AverageDatabaseMedium????
1868Product of Two Run-Length Encoded ArraysArray,Two PointersMedium????
1869Longer Contiguous Segments of Ones than ZerosStringEasyWeekly Contest 242
1870Minimum Speed to Arrive on TimeArray,Binary SearchMediumWeekly Contest 242
1871Jump Game VIIString,Dynamic Programming,Prefix Sum,Sliding WindowMediumWeekly Contest 242
1872Stone Game VIIIArray,Math,Dynamic Programming,Game Theory,Prefix SumHardWeekly Contest 242
1873Calculate Special BonusDatabaseEasy
1874Minimize Product Sum of Two ArraysGreedy,Array,SortingMedium????
1875Group Employees of the Same SalaryDatabaseMedium????
1876Substrings of Size Three with Distinct CharactersHash Table,String,Counting,Sliding WindowEasyBiweekly Contest 53
1877Minimize Maximum Pair Sum in ArrayGreedy,Array,Two Pointers,SortingMediumBiweekly Contest 53
1878Get Biggest Three Rhombus Sums in a GridArray,Math,Matrix,Prefix Sum,Sorting,Heap (Priority Queue)MediumBiweekly Contest 53
1879Minimum XOR Sum of Two ArraysBit Manipulation,Array,Dynamic Programming,BitmaskHardBiweekly Contest 53
1880Check if Word Equals Summation of Two WordsStringEasyWeekly Contest 243
1881Maximum Value after InsertionGreedy,StringMediumWeekly Contest 243
1882Process Tasks Using ServersArray,Heap (Priority Queue)MediumWeekly Contest 243
1883Minimum Skips to Arrive at Meeting On TimeArray,Dynamic ProgrammingHardWeekly Contest 243
1884Egg Drop With 2 Eggs and N FloorsMath,Dynamic ProgrammingMedium
1885Count Pairs in Two ArraysArray,Two Pointers,Binary Search,SortingMedium????
1886Determine Whether Matrix Can Be Obtained By RotationArray,MatrixEasyWeekly Contest 244
1887Reduction Operations to Make the Array Elements EqualArray,SortingMediumWeekly Contest 244
1888Minimum Number of Flips to Make the Binary String AlternatingGreedy,String,Dynamic Programming,Sliding WindowMediumWeekly Contest 244
1889Minimum Space Wasted From PackagingArray,Binary Search,Prefix Sum,SortingHardWeekly Contest 244
1890The Latest Login in 2020DatabaseEasy
1891Cutting RibbonsArray,Binary SearchMedium????
1892Page Recommendations IIDatabaseHard????
1893Check if All the Integers in a Range Are CoveredArray,Hash Table,Prefix SumEasyBiweekly Contest 54
1894Find the Student that Will Replace the ChalkArray,Binary Search,Prefix Sum,SimulationMediumBiweekly Contest 54
1895Largest Magic SquareArray,Matrix,Prefix SumMediumBiweekly Contest 54
1896Minimum Cost to Change the Final Value of ExpressionStack,Math,String,Dynamic ProgrammingHardBiweekly Contest 54
1897Redistribute Characters to Make All Strings EqualHash Table,String,CountingEasyWeekly Contest 245
1898Maximum Number of Removable CharactersArray,Two Pointers,String,Binary SearchMediumWeekly Contest 245
1899Merge Triplets to Form Target TripletGreedy,ArrayMediumWeekly Contest 245
1900The Earliest and Latest Rounds Where Players CompeteMemoization,Dynamic ProgrammingHardWeekly Contest 245
1901Find a Peak Element IIArray,Binary Search,MatrixMedium
1902Depth of BST Given Insertion OrderTree,Binary Search Tree,Binary Tree,Ordered SetMedium????
1903Largest Odd Number in StringGreedy,Math,StringEasyWeekly Contest 246
1904The Number of Full Rounds You Have PlayedMath,StringMediumWeekly Contest 246
1905Count Sub IslandsDepth-First Search,Breadth-First Search,Union Find,Array,MatrixMediumWeekly Contest 246
1906Minimum Absolute Difference QueriesArray,Hash TableMediumWeekly Contest 246
1907Count Salary CategoriesDatabaseMedium
1908Game of NimBit Manipulation,Brainteaser,Array,Math,Dynamic Programming,Game TheoryMedium????
1909Remove One Element to Make the Array Strictly IncreasingArrayEasyBiweekly Contest 55
1910Remove All Occurrences of a SubstringStringMediumBiweekly Contest 55
1911Maximum Alternating Subsequence SumArray,Dynamic ProgrammingMediumBiweekly Contest 55
1912Design Movie Rental SystemDesign,Array,Hash Table,Ordered Set,Heap (Priority Queue)HardBiweekly Contest 55
1913Maximum Product Difference Between Two PairsArray,SortingEasyWeekly Contest 247
1914Cyclically Rotating a GridArray,Matrix,SimulationMediumWeekly Contest 247
1915Number of Wonderful SubstringsBit Manipulation,Hash Table,String,Prefix SumMediumWeekly Contest 247
1916Count Ways to Build Rooms in an Ant ColonyTree,Graph,Topological Sort,Math,Dynamic Programming,CombinatoricsHardWeekly Contest 247
1917Leetcodify Friends RecommendationsDatabaseHard????
1918Kth Smallest Subarray SumArray,Binary Search,Sliding WindowMedium????
1919Leetcodify Similar FriendsDatabaseHard????
1920Build Array from PermutationArray,SimulationEasyWeekly Contest 248
1921Eliminate Maximum Number of MonstersGreedy,Array,SortingMediumWeekly Contest 248
1922Count Good NumbersRecursion,MathMediumWeekly Contest 248
1923Longest Common SubpathArray,Binary Search,Suffix Array,Hash Function,Rolling HashHardWeekly Contest 248
1924Erect the Fence IIGeometry,Array,MathHard????
1925Count Square Sum TriplesMath,EnumerationEasyBiweekly Contest 56
1926Nearest Exit from Entrance in MazeBreadth-First Search,Array,MatrixMediumBiweekly Contest 56
1927Sum GameGreedy,Math,String,Game TheoryMediumBiweekly Contest 56
1928Minimum Cost to Reach Destination in TimeGraph,Dynamic ProgrammingHardBiweekly Contest 56
1929Concatenation of ArrayArray,SimulationEasyWeekly Contest 249
1930Unique Length-3 Palindromic SubsequencesBit Manipulation,Hash Table,String,Prefix SumMediumWeekly Contest 249
1931Painting a Grid With Three Different ColorsDynamic ProgrammingHardWeekly Contest 249
1932Merge BSTs to Create Single BSTTree,Depth-First Search,Hash Table,Binary Search,Binary TreeHardWeekly Contest 249
1933Check if String Is Decomposable Into Value-Equal SubstringsStringEasy????
1934Confirmation RateDatabaseMedium
1935Maximum Number of Words You Can TypeHash Table,StringEasyWeekly Contest 250
1936Add Minimum Number of RungsGreedy,ArrayMediumWeekly Contest 250
1937Maximum Number of Points with CostArray,Dynamic ProgrammingMediumWeekly Contest 250
1938Maximum Genetic Difference QueryBit Manipulation,Trie,ArrayHardWeekly Contest 250
1939Users That Actively Request Confirmation MessagesDatabaseEasy????
1940Longest Common Subsequence Between Sorted ArraysArray,Hash Table,CountingMedium????
1941Check if All Characters Have Equal Number of OccurrencesHash Table,String,CountingEasyBiweekly Contest 57
1942The Number of the Smallest Unoccupied ChairArray,Hash Table,Heap (Priority Queue)MediumBiweekly Contest 57
1943Describe the PaintingArray,Hash Table,Prefix Sum,SortingMediumBiweekly Contest 57
1944Number of Visible People in a QueueStack,Array,Monotonic StackHardBiweekly Contest 57
1945Sum of Digits of String After ConvertString,SimulationEasyWeekly Contest 251
1946Largest Number After Mutating SubstringGreedy,Array,StringMediumWeekly Contest 251
1947Maximum Compatibility Score SumBit Manipulation,Array,Dynamic Programming,Backtracking,BitmaskMediumWeekly Contest 251
1948Delete Duplicate Folders in SystemTrie,Array,Hash Table,String,Hash FunctionHardWeekly Contest 251
1949Strong FriendshipDatabaseMedium????
1950Maximum of Minimum Values in All SubarraysStack,Array,Monotonic StackMedium????
1951All the Pairs With the Maximum Number of Common FollowersDatabaseMedium????
1952Three DivisorsMath,Enumeration,Number TheoryEasyWeekly Contest 252
1953Maximum Number of Weeks for Which You Can WorkGreedy,ArrayMediumWeekly Contest 252
1954Minimum Garden Perimeter to Collect Enough ApplesMath,Binary SearchMediumWeekly Contest 252
1955Count Number of Special SubsequencesArray,Dynamic ProgrammingHardWeekly Contest 252
1956Minimum Time For K Virus Variants to SpreadGeometry,Array,Math,Binary Search,EnumerationHard????
1957Delete Characters to Make Fancy StringStringEasyBiweekly Contest 58
1958Check if Move is LegalArray,Enumeration,MatrixMediumBiweekly Contest 58
1959Minimum Total Space Wasted With K Resizing OperationsArray,Dynamic ProgrammingMediumBiweekly Contest 58
1960Maximum Product of the Length of Two Palindromic SubstringsString,Hash Function,Rolling HashHardBiweekly Contest 58
1961Check If String Is a Prefix of ArrayArray,Two Pointers,StringEasyWeekly Contest 253
1962Remove Stones to Minimize the TotalGreedy,Array,Heap (Priority Queue)MediumWeekly Contest 253
1963Minimum Number of Swaps to Make the String BalancedStack,Greedy,Two Pointers,StringMediumWeekly Contest 253
1964Find the Longest Valid Obstacle Course at Each PositionBinary Indexed Tree,Array,Binary SearchHardWeekly Contest 253
1965Employees With Missing InformationDatabaseEasy
1966Binary Searchable Numbers in an Unsorted ArrayArray,Binary SearchMedium????
1967Number of Strings That Appear as Substrings in WordStringEasyWeekly Contest 254
1968Array With Elements Not Equal to Average of NeighborsGreedy,Array,SortingMediumWeekly Contest 254
1969Minimum Non-Zero Product of the Array ElementsGreedy,Recursion,MathMediumWeekly Contest 254
1970Last Day Where You Can Still CrossDepth-First Search,Breadth-First Search,Union Find,Array,Binary Search,MatrixHardWeekly Contest 254
1971Find if Path Exists in GraphDepth-First Search,Breadth-First Search,Union Find,GraphEasy
1972First and Last Call On the Same DayDatabaseHard????
1973Count Nodes Equal to Sum of DescendantsTree,Depth-First Search,Binary TreeMedium????
1974Minimum Time to Type Word Using Special TypewriterGreedy,StringEasyBiweekly Contest 59
1975Maximum Matrix SumGreedy,Array,MatrixMediumBiweekly Contest 59
1976Number of Ways to Arrive at DestinationGraph,Topological Sort,Dynamic Programming,Shortest PathMediumBiweekly Contest 59
1977Number of Ways to Separate NumbersString,Dynamic Programming,Suffix ArrayHardBiweekly Contest 59
1978Employees Whose Manager Left the CompanyDatabaseEasy
1979Find Greatest Common Divisor of ArrayArray,Math,Number TheoryEasyWeekly Contest 255
1980Find Unique Binary StringArray,Hash Table,String,BacktrackingMediumWeekly Contest 255
1981Minimize the Difference Between Target and Chosen ElementsArray,Dynamic Programming,MatrixMediumWeekly Contest 255
1982Find Array Given Subset SumsArray,Divide and ConquerHardWeekly Contest 255
1983Widest Pair of Indices With Equal Range SumArray,Hash Table,Prefix SumMedium????
1984Minimum Difference Between Highest and Lowest of K ScoresArray,Sorting,Sliding WindowEasyWeekly Contest 256
1985Find the Kth Largest Integer in the ArrayArray,String,Divide and Conquer,Quickselect,Sorting,Heap (Priority Queue)MediumWeekly Contest 256
1986Minimum Number of Work Sessions to Finish the TasksBit Manipulation,Array,Dynamic Programming,Backtracking,BitmaskMediumWeekly Contest 256
1987Number of Unique Good SubsequencesString,Dynamic ProgrammingHardWeekly Contest 256
1988Find Cutoff Score for Each SchoolDatabaseMedium????
1989Maximum Number of People That Can Be Caught in TagGreedy,ArrayMedium????
1990Count the Number of ExperimentsDatabaseMedium????
1991Find the Middle Index in ArrayArray,Prefix SumEasyBiweekly Contest 60
1992Find All Groups of FarmlandDepth-First Search,Breadth-First Search,Array,MatrixMediumBiweekly Contest 60
1993Operations on TreeTree,Depth-First Search,Breadth-First Search,Design,Array,Hash TableMediumBiweekly Contest 60
1994The Number of Good SubsetsBit Manipulation,Array,Math,Dynamic Programming,BitmaskHardBiweekly Contest 60
1995Count Special QuadrupletsArray,EnumerationEasyWeekly Contest 257
1996The Number of Weak Characters in the GameStack,Greedy,Array,Sorting,Monotonic StackMediumWeekly Contest 257
1997First Day Where You Have Been in All the RoomsArray,Dynamic ProgrammingMediumWeekly Contest 257
1998GCD Sort of an ArrayUnion Find,Array,Math,Number Theory,SortingHardWeekly Contest 257
1999Smallest Greater Multiple Made of Two DigitsMath,EnumerationMedium????
2000Reverse Prefix of WordTwo Pointers,StringEasyWeekly Contest 258
2001Number of Pairs of Interchangeable RectanglesArray,Hash Table,Math,Counting,Number TheoryMediumWeekly Contest 258
2002Maximum Product of the Length of Two Palindromic SubsequencesBit Manipulation,String,Dynamic Programming,Backtracking,BitmaskMediumWeekly Contest 258
2003Smallest Missing Genetic Value in Each SubtreeTree,Depth-First Search,Union Find,Dynamic ProgrammingHardWeekly Contest 258
2004The Number of Seniors and Juniors to Join the CompanyDatabaseHard????
2005Subtree Removal Game with Fibonacci TreeTree,Math,Dynamic Programming,Binary Tree,Game TheoryHard????
2006Count Number of Pairs With Absolute Difference KArray,Hash Table,CountingEasyBiweekly Contest 61
2007Find Original Array From Doubled ArrayGreedy,Array,Hash Table,SortingMediumBiweekly Contest 61
2008Maximum Earnings From TaxiArray,Hash Table,Binary Search,Dynamic Programming,SortingMediumBiweekly Contest 61
2009Minimum Number of Operations to Make Array ContinuousArray,Binary SearchHardBiweekly Contest 61
2010The Number of Seniors and Juniors to Join the Company IIDatabaseHard????
2011Final Value of Variable After Performing OperationsArray,String,SimulationEasyWeekly Contest 259
2012Sum of Beauty in the ArrayArrayMediumWeekly Contest 259
2013Detect SquaresDesign,Array,Hash Table,CountingMediumWeekly Contest 259
2014Longest Subsequence Repeated k TimesGreedy,String,Backtracking,Counting,EnumerationHardWeekly Contest 259
2015Average Height of Buildings in Each SegmentGreedy,Array,Sorting,Heap (Priority Queue)Medium????
2016Maximum Difference Between Increasing ElementsArrayEasyWeekly Contest 260
2017Grid GameArray,Matrix,Prefix SumMediumWeekly Contest 260
2018Check if Word Can Be Placed In CrosswordArray,Enumeration,MatrixMediumWeekly Contest 260
2019The Score of Students Solving Math ExpressionStack,Memoization,Array,Math,String,Dynamic ProgrammingHardWeekly Contest 260
2020Number of Accounts That Did Not StreamDatabaseMedium????
2021Brightest Position on StreetArray,Ordered Set,Prefix SumMedium????
2022Convert 1D Array Into 2D ArrayArray,Matrix,SimulationEasyBiweekly Contest 62
2023Number of Pairs of Strings With Concatenation Equal to TargetArray,Hash Table,String,CountingMediumBiweekly Contest 62
2024Maximize the Confusion of an ExamString,Binary Search,Prefix Sum,Sliding WindowMediumBiweekly Contest 62
2025Maximum Number of Ways to Partition an ArrayArray,Hash Table,Counting,Enumeration,Prefix SumHardBiweekly Contest 62
2026Low-Quality ProblemsDatabaseEasy????
2027Minimum Moves to Convert StringGreedy,StringEasyWeekly Contest 261
2028Find Missing ObservationsArray,Math,SimulationMediumWeekly Contest 261
2029Stone Game IXGreedy,Array,Math,Counting,Game TheoryMediumWeekly Contest 261
2030Smallest K-Length Subsequence With Occurrences of a LetterStack,Greedy,String,Monotonic StackHardWeekly Contest 261
2031Count Subarrays With More Ones Than ZerosBinary Indexed Tree,Segment Tree,Array,Binary Search,Divide and Conquer,Ordered Set,Merge SortMedium????
2032Two Out of ThreeBit Manipulation,Array,Hash TableEasyWeekly Contest 262
2033Minimum Operations to Make a Uni-Value GridArray,Math,Matrix,SortingMediumWeekly Contest 262
2034Stock Price FluctuationDesign,Hash Table,Data Stream,Ordered Set,Heap (Priority Queue)MediumWeekly Contest 262
2035Partition Array Into Two Arrays to Minimize Sum DifferenceBit Manipulation,Array,Two Pointers,Binary Search,Dynamic Programming,Bitmask,Ordered SetHardWeekly Contest 262
2036Maximum Alternating Subarray SumArray,Dynamic ProgrammingMedium????
2037Minimum Number of Moves to Seat EveryoneGreedy,Array,SortingEasyBiweekly Contest 63
2038Remove Colored Pieces if Both Neighbors are the Same ColorGreedy,Math,String,Game TheoryMediumBiweekly Contest 63
2039The Time When the Network Becomes IdleBreadth-First Search,Graph,ArrayMediumBiweekly Contest 63
2040Kth Smallest Product of Two Sorted ArraysArray,Binary SearchHardBiweekly Contest 63
2041Accepted Candidates From the InterviewsDatabaseMedium????
2042Check if Numbers Are Ascending in a SentenceStringEasyWeekly Contest 263
2043Simple Bank SystemDesign,Array,Hash Table,SimulationMediumWeekly Contest 263
2044Count Number of Maximum Bitwise-OR SubsetsBit Manipulation,Array,BacktrackingMediumWeekly Contest 263
2045Second Minimum Time to Reach DestinationBreadth-First Search,Graph,Shortest PathHardWeekly Contest 263
2046Sort Linked List Already Sorted Using Absolute ValuesLinked List,Two Pointers,SortingMedium????
2047Number of Valid Words in a SentenceStringEasyWeekly Contest 264
2048Next Greater Numerically Balanced NumberMath,Backtracking,EnumerationMediumWeekly Contest 264
2049Count Nodes With the Highest ScoreTree,Depth-First Search,Array,Binary TreeMediumWeekly Contest 264
2050Parallel Courses IIIGraph,Topological Sort,Array,Dynamic ProgrammingHardWeekly Contest 264
2051The Category of Each Member in the StoreDatabaseMedium????
2052Minimum Cost to Separate Sentence Into RowsArray,Dynamic ProgrammingMedium????
2053Kth Distinct String in an ArrayArray,Hash Table,String,CountingEasyBiweekly Contest 64
2054Two Best Non-Overlapping EventsArray,Binary Search,Dynamic Programming,Sorting,Heap (Priority Queue)MediumBiweekly Contest 64
2055Plates Between CandlesArray,String,Binary Search,Prefix SumMediumBiweekly Contest 64
2056Number of Valid Move Combinations On ChessboardArray,String,Backtracking,SimulationHardBiweekly Contest 64
2057Smallest Index With Equal ValueArrayEasyWeekly Contest 265
2058Find the Minimum and Maximum Number of Nodes Between Critical PointsLinked ListMediumWeekly Contest 265
2059Minimum Operations to Convert NumberBreadth-First Search,ArrayMediumWeekly Contest 265
2060Check if an Original String Exists Given Two Encoded StringsString,Dynamic ProgrammingHardWeekly Contest 265
2061Number of Spaces Cleaning Robot CleanedArray,Matrix,SimulationMedium????
2062Count Vowel Substrings of a StringHash Table,StringEasyWeekly Contest 266
2063Vowels of All SubstringsMath,String,Dynamic Programming,CombinatoricsMediumWeekly Contest 266
2064Minimized Maximum of Products Distributed to Any StoreArray,Binary SearchMediumWeekly Contest 266
2065Maximum Path Quality of a GraphGraph,Array,BacktrackingHardWeekly Contest 266
2066Account BalanceDatabaseMedium????
2067Number of Equal Count SubstringsString,Counting,Prefix SumMedium????
2068Check Whether Two Strings are Almost EquivalentHash Table,String,CountingEasyBiweekly Contest 65
2069Walking Robot Simulation IIDesign,SimulationMediumBiweekly Contest 65
2070Most Beautiful Item for Each QueryArray,Binary Search,SortingMediumBiweekly Contest 65
2071Maximum Number of Tasks You Can AssignGreedy,Queue,Array,Binary Search,Sorting,Monotonic QueueHardBiweekly Contest 65
2072The Winner UniversityDatabaseEasy????
2073Time Needed to Buy TicketsQueue,Array,SimulationEasyWeekly Contest 267
2074Reverse Nodes in Even Length GroupsLinked ListMediumWeekly Contest 267
2075Decode the Slanted CiphertextString,SimulationMediumWeekly Contest 267
2076Process Restricted Friend RequestsUnion Find,GraphHardWeekly Contest 267
2077Paths in Maze That Lead to Same RoomGraphMedium????
2078Two Furthest Houses With Different ColorsGreedy,ArrayEasyWeekly Contest 268
2079Watering PlantsArray,SimulationMediumWeekly Contest 268
2080Range Frequency QueriesDesign,Segment Tree,Array,Hash Table,Binary SearchMediumWeekly Contest 268
2081Sum of k-Mirror NumbersMath,EnumerationHardWeekly Contest 268
2082The Number of Rich CustomersDatabaseEasy????
2083Substrings That Begin and End With the Same LetterHash Table,Math,String,Counting,Prefix SumMedium????
2084Drop Type 1 Orders for Customers With Type 0 OrdersDatabaseMedium????
2085Count Common Words With One OccurrenceArray,Hash Table,String,CountingEasyBiweekly Contest 66
2086Minimum Number of Food Buckets to Feed the HamstersGreedy,String,Dynamic ProgrammingMediumBiweekly Contest 66
2087Minimum Cost Homecoming of a Robot in a GridGreedy,ArrayMediumBiweekly Contest 66
2088Count Fertile Pyramids in a LandArray,Dynamic Programming,MatrixHardBiweekly Contest 66
2089Find Target Indices After Sorting ArrayArray,Binary Search,SortingEasyWeekly Contest 269
2090K Radius Subarray AveragesArray,Sliding WindowMediumWeekly Contest 269
2091Removing Minimum and Maximum From ArrayGreedy,ArrayMediumWeekly Contest 269
2092Find All People With SecretDepth-First Search,Breadth-First Search,Union Find,Graph,SortingHardWeekly Contest 269
2093Minimum Cost to Reach City With DiscountsGraph,Shortest Path,Heap (Priority Queue)Medium????
2094Finding 3-Digit Even NumbersArray,Hash Table,Enumeration,SortingEasyWeekly Contest 270
2095Delete the Middle Node of a Linked ListLinked List,Two PointersMediumWeekly Contest 270
2096Step-By-Step Directions From a Binary Tree Node to AnotherTree,Depth-First Search,String,Binary TreeMediumWeekly Contest 270
2097Valid Arrangement of PairsDepth-First Search,Graph,Eulerian CircuitHardWeekly Contest 270
2098Subsequence of Size K With the Largest Even SumGreedy,Array,SortingMedium????
2099Find Subsequence of Length K With the Largest SumArray,Hash Table,Sorting,Heap (Priority Queue)EasyBiweekly Contest 67
2100Find Good Days to Rob the BankArray,Dynamic Programming,Prefix SumMediumBiweekly Contest 67
2101Detonate the Maximum BombsDepth-First Search,Breadth-First Search,Graph,Geometry,Array,MathMediumBiweekly Contest 67
2102Sequentially Ordinal Rank TrackerDesign,Data Stream,Ordered Set,Heap (Priority Queue)HardBiweekly Contest 67
2103Rings and RodsHash Table,StringEasyWeekly Contest 271
2104Sum of Subarray RangesStack,Array,Monotonic StackMediumWeekly Contest 271
2105Watering Plants IIArray,Two Pointers,SimulationMediumWeekly Contest 271
2106Maximum Fruits Harvested After at Most K StepsArray,Binary Search,Prefix Sum,Sliding WindowHardWeekly Contest 271
2107Number of Unique Flavors After Sharing K CandiesArray,Hash Table,Sliding WindowMedium????
2108Find First Palindromic String in the ArrayArray,Two Pointers,StringEasyWeekly Contest 272
2109Adding Spaces to a StringArray,Two Pointers,String,SimulationMediumWeekly Contest 272
2110Number of Smooth Descent Periods of a StockArray,Math,Dynamic ProgrammingMediumWeekly Contest 272
2111Minimum Operations to Make the Array K-IncreasingArray,Binary SearchHardWeekly Contest 272
2112The Airport With the Most TrafficDatabaseMedium????
2113Elements in Array After Removing and Replacing ElementsArrayMedium????
2114Maximum Number of Words Found in SentencesArray,StringEasyBiweekly Contest 68
2115Find All Possible Recipes from Given SuppliesGraph,Topological Sort,Array,Hash Table,StringMediumBiweekly Contest 68
2116Check if a Parentheses String Can Be ValidStack,Greedy,StringMediumBiweekly Contest 68
2117Abbreviating the Product of a RangeMathHardBiweekly Contest 68
2118Build the EquationDatabaseHard????
2119A Number After a Double ReversalMathEasyWeekly Contest 273
2120Execution of All Suffix Instructions Staying in a GridString,SimulationMediumWeekly Contest 273
2121Intervals Between Identical ElementsArray,Hash Table,Prefix SumMediumWeekly Contest 273
2122Recover the Original ArrayArray,Hash Table,Enumeration,SortingHardWeekly Contest 273
2123Minimum Operations to Remove Adjacent Ones in MatrixGraph,Array,MatrixHard????
2124Check if All A's Appears Before All B'sStringEasyWeekly Contest 274
2125Number of Laser Beams in a BankArray,Math,String,MatrixMediumWeekly Contest 274
2126Destroying AsteroidsGreedy,Array,SortingMediumWeekly Contest 274
2127Maximum Employees to Be Invited to a MeetingDepth-First Search,Graph,Topological SortHardWeekly Contest 274
2128Remove All Ones With Row and Column FlipsBit Manipulation,Array,Math,MatrixMedium????
2129Capitalize the TitleStringEasyBiweekly Contest 69
2130Maximum Twin Sum of a Linked ListStack,Linked List,Two PointersMediumBiweekly Contest 69
2131Longest Palindrome by Concatenating Two Letter WordsGreedy,Array,Hash Table,String,CountingMediumBiweekly Contest 69
2132Stamping the GridGreedy,Array,Matrix,Prefix SumHardBiweekly Contest 69
2133Check if Every Row and Column Contains All NumbersArray,Hash Table,MatrixEasyWeekly Contest 275
2134Minimum Swaps to Group All 1's Together IIArray,Sliding WindowMediumWeekly Contest 275
2135Count Words Obtained After Adding a LetterBit Manipulation,Array,Hash Table,String,SortingMediumWeekly Contest 275
2136Earliest Possible Day of Full BloomGreedy,Array,SortingHardWeekly Contest 275
2137Pour Water Between Buckets to Make Water Levels EqualArray,Binary SearchMedium????
2138Divide a String Into Groups of Size kString,SimulationEasyWeekly Contest 276
2139Minimum Moves to Reach Target ScoreGreedy,MathMediumWeekly Contest 276
2140Solving Questions With BrainpowerArray,Dynamic ProgrammingMediumWeekly Contest 276
2141Maximum Running Time of N ComputersGreedy,Array,Binary Search,SortingHardWeekly Contest 276
2142The Number of Passengers in Each Bus IDatabaseMedium????
2143Choose Numbers From Two Arrays in RangeArray,Dynamic ProgrammingHard????
2144Minimum Cost of Buying Candies With DiscountGreedy,Array,SortingEasyBiweekly Contest 70
2145Count the Hidden SequencesArray,Prefix SumMediumBiweekly Contest 70
2146K Highest Ranked Items Within a Price RangeBreadth-First Search,Array,Matrix,Sorting,Heap (Priority Queue)MediumBiweekly Contest 70
2147Number of Ways to Divide a Long CorridorMath,String,Dynamic ProgrammingHardBiweekly Contest 70
2148Count Elements With Strictly Smaller and Greater ElementsArray,SortingEasyWeekly Contest 277
2149Rearrange Array Elements by SignArray,Two Pointers,SimulationMediumWeekly Contest 277
2150Find All Lonely Numbers in the ArrayArray,Hash Table,CountingMediumWeekly Contest 277
2151Maximum Good People Based on StatementsBit Manipulation,Array,Backtracking,EnumerationHardWeekly Contest 277
2152Minimum Number of Lines to Cover PointsBit Manipulation,Geometry,Array,Hash Table,Math,Dynamic Programming,Backtracking,BitmaskMedium????
2153The Number of Passengers in Each Bus IIDatabaseHard????
2154Keep Multiplying Found Values by TwoArray,Hash Table,Sorting,SimulationEasyWeekly Contest 278
2155All Divisions With the Highest Score of a Binary ArrayArrayMediumWeekly Contest 278
2156Find Substring With Given Hash ValueString,Sliding Window,Hash Function,Rolling HashHardWeekly Contest 278
2157Groups of StringsBit Manipulation,Union Find,StringHardWeekly Contest 278
2158Amount of New Area Painted Each DaySegment Tree,Array,Ordered SetHard????
2159Order Two Columns IndependentlyDatabaseMedium????
2160Minimum Sum of Four Digit Number After Splitting DigitsGreedy,Math,SortingEasyBiweekly Contest 71
2161Partition Array According to Given PivotArray,Two Pointers,SimulationMediumBiweekly Contest 71
2162Minimum Cost to Set Cooking TimeMath,EnumerationMediumBiweekly Contest 71
2163Minimum Difference in Sums After Removal of ElementsArray,Dynamic Programming,Heap (Priority Queue)HardBiweekly Contest 71
2164Sort Even and Odd Indices IndependentlyArray,SortingEasyWeekly Contest 279
2165Smallest Value of the Rearranged NumberMath,SortingMediumWeekly Contest 279
2166Design BitsetDesign,Array,Hash Table,StringMediumWeekly Contest 279
2167Minimum Time to Remove All Cars Containing Illegal GoodsString,Dynamic ProgrammingHardWeekly Contest 279
2168Unique Substrings With Equal Digit FrequencyHash Table,String,Counting,Hash Function,Rolling HashMedium????
2169Count Operations to Obtain ZeroMath,SimulationEasyWeekly Contest 280
2170Minimum Operations to Make the Array AlternatingGreedy,Array,Hash Table,CountingMediumWeekly Contest 280
2171Removing Minimum Number of Magic BeansGreedy,Array,Enumeration,Prefix Sum,SortingMediumWeekly Contest 280
2172Maximum AND Sum of ArrayBit Manipulation,Array,Dynamic Programming,BitmaskHardWeekly Contest 280
2173Longest Winning StreakDatabaseHard????
2174Remove All Ones With Row and Column Flips IIBit Manipulation,Breadth-First Search,Array,MatrixMedium????
2175The Change in Global RankingsDatabaseMedium????
2176Count Equal and Divisible Pairs in an ArrayArrayEasyBiweekly Contest 72
2177Find Three Consecutive Integers That Sum to a Given NumberMath,SimulationMediumBiweekly Contest 72
2178Maximum Split of Positive Even IntegersGreedy,Math,BacktrackingMediumBiweekly Contest 72
2179Count Good Triplets in an ArrayBinary Indexed Tree,Segment Tree,Array,Binary Search,Divide and Conquer,Ordered Set,Merge SortHardBiweekly Contest 72
2180Count Integers With Even Digit SumMath,SimulationEasyWeekly Contest 281
2181Merge Nodes in Between ZerosLinked List,SimulationMediumWeekly Contest 281
2182Construct String With Repeat LimitGreedy,String,Counting,Heap (Priority Queue)MediumWeekly Contest 281
2183Count Array Pairs Divisible by KArray,Math,Number TheoryHardWeekly Contest 281
2184Number of Ways to Build Sturdy Brick WallBit Manipulation,Array,Dynamic Programming,BitmaskMedium????
2185Counting Words With a Given PrefixArray,String,String MatchingEasyWeekly Contest 282
2186Minimum Number of Steps to Make Two Strings Anagram IIHash Table,String,CountingMediumWeekly Contest 282
2187Minimum Time to Complete TripsArray,Binary SearchMediumWeekly Contest 282
2188Minimum Time to Finish the RaceArray,Dynamic ProgrammingHardWeekly Contest 282
2189Number of Ways to Build House of CardsMath,Dynamic ProgrammingMedium????
2190Most Frequent Number Following Key In an ArrayArray,Hash Table,CountingEasyBiweekly Contest 73
2191Sort the Jumbled NumbersArray,SortingMediumBiweekly Contest 73
2192All Ancestors of a Node in a Directed Acyclic GraphDepth-First Search,Breadth-First Search,Graph,Topological SortMediumBiweekly Contest 73
2193Minimum Number of Moves to Make PalindromeGreedy,Binary Indexed Tree,Two Pointers,StringHardBiweekly Contest 73
2194Cells in a Range on an Excel SheetStringEasyWeekly Contest 283
2195Append K Integers With Minimal SumGreedy,Array,Math,SortingMediumWeekly Contest 283
2196Create Binary Tree From DescriptionsTree,Depth-First Search,Breadth-First Search,Array,Hash Table,Binary TreeMediumWeekly Contest 283
2197Replace Non-Coprime Numbers in ArrayStack,Array,Math,Number TheoryHardWeekly Contest 283
2198Number of Single Divisor TripletsMathMedium????
2199Finding the Topic of Each PostDatabaseHard????
2200Find All K-Distant Indices in an ArrayArray,Two PointersEasyWeekly Contest 284
2201Count Artifacts That Can Be ExtractedArray,Hash Table,SimulationMediumWeekly Contest 284
2202Maximize the Topmost Element After K MovesGreedy,ArrayMediumWeekly Contest 284
2203Minimum Weighted Subgraph With the Required PathsGraph,Shortest PathHardWeekly Contest 284
2204Distance to a Cycle in Undirected GraphDepth-First Search,Breadth-First Search,Union Find,GraphHard????
2205The Number of Users That Are Eligible for DiscountDatabaseEasy????
2206Divide Array Into Equal PairsBit Manipulation,Array,Hash Table,CountingEasyBiweekly Contest 74
2207Maximize Number of Subsequences in a StringGreedy,String,Prefix SumMediumBiweekly Contest 74
2208Minimum Operations to Halve Array SumGreedy,Array,Heap (Priority Queue)MediumBiweekly Contest 74
2209Minimum White Tiles After Covering With CarpetsString,Dynamic Programming,Prefix SumHardBiweekly Contest 74
2210Count Hills and Valleys in an ArrayArrayEasyWeekly Contest 285
2211Count Collisions on a RoadStack,String,SimulationMediumWeekly Contest 285
2212Maximum Points in an Archery CompetitionBit Manipulation,Array,Backtracking,EnumerationMediumWeekly Contest 285
2213Longest Substring of One Repeating CharacterSegment Tree,Array,String,Ordered SetHardWeekly Contest 285
2214Minimum Health to Beat GameGreedy,ArrayMedium????
2215Find the Difference of Two ArraysArray,Hash TableEasyWeekly Contest 286
2216Minimum Deletions to Make Array BeautifulStack,Greedy,ArrayMediumWeekly Contest 286
2217Find Palindrome With Fixed LengthArray,MathMediumWeekly Contest 286
2218Maximum Value of K Coins From PilesArray,Dynamic Programming,Prefix SumHardWeekly Contest 286
2219Maximum Sum Score of ArrayArray,Prefix SumMedium????
2220Minimum Bit Flips to Convert NumberBit ManipulationEasyBiweekly Contest 75
2221Find Triangular Sum of an ArrayArray,Math,Combinatorics,SimulationMediumBiweekly Contest 75
2222Number of Ways to Select BuildingsString,Dynamic Programming,Prefix SumMediumBiweekly Contest 75
2223Sum of Scores of Built StringsString,Binary Search,String Matching,Suffix Array,Hash Function,Rolling HashHardBiweekly Contest 75
2224Minimum Number of Operations to Convert TimeGreedy,StringEasyWeekly Contest 287
2225Find Players With Zero or One LossesArray,Hash Table,Counting,SortingMediumWeekly Contest 287
2226Maximum Candies Allocated to K ChildrenArray,Binary SearchMediumWeekly Contest 287
2227Encrypt and Decrypt StringsDesign,Trie,Array,Hash Table,StringHardWeekly Contest 287
2228Users With Two Purchases Within Seven DaysDatabaseMedium????
2229Check if an Array Is ConsecutiveArray,Hash Table,SortingEasy????
2230The Users That Are Eligible for DiscountDatabaseEasy????
2231Largest Number After Digit Swaps by ParitySorting,Heap (Priority Queue)EasyWeekly Contest 288
2232Minimize Result by Adding Parentheses to ExpressionString,EnumerationMediumWeekly Contest 288
2233Maximum Product After K IncrementsGreedy,Array,Heap (Priority Queue)MediumWeekly Contest 288
2234Maximum Total Beauty of the GardensGreedy,Array,Two Pointers,Binary Search,SortingHardWeekly Contest 288
2235Add Two IntegersMathEasy
2236Root Equals Sum of ChildrenTree,Binary TreeEasy
2237Count Positions on Street With Required BrightnessArray,Prefix SumMedium????
2238Number of Times a Driver Was a PassengerDatabaseMedium????
2239Find Closest Number to ZeroArrayEasyBiweekly Contest 76
2240Number of Ways to Buy Pens and PencilsMath,EnumerationMediumBiweekly Contest 76
2241Design an ATM MachineGreedy,Design,ArrayMediumBiweekly Contest 76
2242Maximum Score of a Node SequenceGraph,Array,Enumeration,SortingHardBiweekly Contest 76
2243Calculate Digit Sum of a StringString,SimulationEasyWeekly Contest 289
2244Minimum Rounds to Complete All TasksGreedy,Array,Hash Table,CountingMediumWeekly Contest 289
2245Maximum Trailing Zeros in a Cornered PathArray,Matrix,Prefix SumMediumWeekly Contest 289
2246Longest Path With Different Adjacent CharactersTree,Depth-First Search,Graph,Topological Sort,Array,StringHardWeekly Contest 289
2247Maximum Cost of Trip With K HighwaysBit Manipulation,Graph,Dynamic Programming,BitmaskHard????
2248Intersection of Multiple ArraysArray,Hash Table,Counting,SortingEasyWeekly Contest 290
2249Count Lattice Points Inside a CircleGeometry,Array,Hash Table,Math,EnumerationMediumWeekly Contest 290
2250Count Number of Rectangles Containing Each PointBinary Indexed Tree,Array,Binary Search,SortingMediumWeekly Contest 290
2251Number of Flowers in Full BloomArray,Hash Table,Binary Search,Ordered Set,Prefix Sum,SortingHardWeekly Contest 290
2252Dynamic Pivoting of a TableDatabaseHard????
2253Dynamic Unpivoting of a TableDatabaseHard????
2254Design Video Sharing PlatformStack,Design,Hash Table,Ordered SetHard????
2255Count Prefixes of a Given StringArray,StringEasyBiweekly Contest 77
2256Minimum Average DifferenceArray,Prefix SumMediumBiweekly Contest 77
2257Count Unguarded Cells in the GridArray,Matrix,SimulationMediumBiweekly Contest 77
2258Escape the Spreading FireBreadth-First Search,Array,Binary Search,MatrixHardBiweekly Contest 77
2259Remove Digit From Number to Maximize ResultGreedy,String,EnumerationEasyWeekly Contest 291
2260Minimum Consecutive Cards to Pick UpArray,Hash Table,Sliding WindowMediumWeekly Contest 291
2261K Divisible Elements SubarraysTrie,Array,Hash Table,Enumeration,Hash Function,Rolling HashMediumWeekly Contest 291
2262Total Appeal of A StringHash Table,String,Dynamic ProgrammingHardWeekly Contest 291
2263Make Array Non-decreasing or Non-increasingGreedy,Dynamic ProgrammingHard????
2264Largest 3-Same-Digit Number in StringStringEasyWeekly Contest 292
2265Count Nodes Equal to Average of SubtreeTree,Depth-First Search,Binary TreeMediumWeekly Contest 292
2266Count Number of TextsHash Table,Math,String,Dynamic ProgrammingMediumWeekly Contest 292
2267Check if There Is a Valid Parentheses String PathArray,Dynamic Programming,MatrixHardWeekly Contest 292
2268Minimum Number of KeypressesGreedy,Hash Table,String,Counting,SortingMedium????
2269Find the K-Beauty of a NumberMath,String,Sliding WindowEasyBiweekly Contest 78
2270Number of Ways to Split ArrayArray,Prefix SumMediumBiweekly Contest 78
2271Maximum White Tiles Covered by a CarpetGreedy,Array,Binary Search,Prefix Sum,SortingMediumBiweekly Contest 78
2272Substring With Largest VarianceArray,Dynamic ProgrammingHardBiweekly Contest 78
2273Find Resultant Array After Removing AnagramsArray,Hash Table,String,SortingEasyWeekly Contest 293
2274Maximum Consecutive Floors Without Special FloorsArray,SortingMediumWeekly Contest 293
2275Largest Combination With Bitwise AND Greater Than ZeroBit Manipulation,Array,Hash Table,CountingMediumWeekly Contest 293
2276Count Integers in IntervalsDesign,Segment Tree,Ordered SetHardWeekly Contest 293
2277Closest Node to Path in TreeTree,Depth-First Search,Breadth-First Search,ArrayHard????
2278Percentage of Letter in StringStringEasyWeekly Contest 294
2279Maximum Bags With Full Capacity of RocksGreedy,Array,SortingMediumWeekly Contest 294
2280Minimum Lines to Represent a Line ChartGeometry,Array,Math,Number Theory,SortingMediumWeekly Contest 294
2281Sum of Total Strength of WizardsStack,Array,Prefix Sum,Monotonic StackHardWeekly Contest 294
2282Number of People That Can Be Seen in a GridStack,Array,Matrix,Monotonic StackMedium????
2283Check if Number Has Equal Digit Count and Digit ValueHash Table,String,CountingEasyBiweekly Contest 79
2284Sender With Largest Word CountArray,Hash Table,String,CountingMediumBiweekly Contest 79
2285Maximum Total Importance of RoadsGreedy,Graph,Sorting,Heap (Priority Queue)MediumBiweekly Contest 79
2286Booking Concert Tickets in GroupsDesign,Binary Indexed Tree,Segment Tree,Binary SearchHardBiweekly Contest 79
2287Rearrange Characters to Make Target StringHash Table,String,CountingEasyWeekly Contest 295
2288Apply Discount to PricesStringMediumWeekly Contest 295
2289Steps to Make Array Non-decreasingStack,Array,Linked List,Monotonic StackMediumWeekly Contest 295
2290Minimum Obstacle Removal to Reach CornerBreadth-First Search,Graph,Array,Matrix,Shortest Path,Heap (Priority Queue)HardWeekly Contest 295
2291Maximum Profit From Trading StocksArray,Dynamic ProgrammingMedium????
2292Products With Three or More Orders in Two Consecutive YearsDatabaseMedium????
2293Min Max GameArray,SimulationEasyWeekly Contest 296
2294Partition Array Such That Maximum Difference Is KGreedy,Array,SortingMediumWeekly Contest 296
2295Replace Elements in an ArrayArray,Hash Table,SimulationMediumWeekly Contest 296
2296Design a Text EditorStack,Design,Linked List,String,Doubly-Linked List,SimulationHardWeekly Contest 296
2297Jump Game VIIIStack,Graph,Array,Dynamic Programming,Shortest Path,Monotonic StackMedium????
2298Tasks Count in the WeekendDatabaseMedium????
2299Strong Password Checker IIStringEasyBiweekly Contest 80
2300Successful Pairs of Spells and PotionsArray,Two Pointers,Binary Search,SortingMediumBiweekly Contest 80
2301Match Substring After ReplacementArray,Hash Table,String,String MatchingHardBiweekly Contest 80
2302Count Subarrays With Score Less Than KArray,Binary Search,Prefix Sum,Sliding WindowHardBiweekly Contest 80
2303Calculate Amount Paid in TaxesArray,SimulationEasyWeekly Contest 297
2304Minimum Path Cost in a GridArray,Dynamic Programming,MatrixMediumWeekly Contest 297
2305Fair Distribution of CookiesBit Manipulation,Array,Dynamic Programming,Backtracking,BitmaskMediumWeekly Contest 297
2306Naming a CompanyBit Manipulation,Array,Hash Table,String,EnumerationHardWeekly Contest 297
2307Check for Contradictions in EquationsDepth-First Search,Union Find,Graph,ArrayHard????
2308Arrange Table by GenderDatabaseMedium????
2309Greatest English Letter in Upper and Lower CaseHash Table,String,EnumerationEasyWeekly Contest 298
2310Sum of Numbers With Units Digit KGreedy,Math,Dynamic Programming,EnumerationMediumWeekly Contest 298
2311Longest Binary Subsequence Less Than or Equal to KGreedy,Memoization,String,Dynamic ProgrammingMediumWeekly Contest 298
2312Selling Pieces of WoodMemoization,Array,Dynamic ProgrammingHardWeekly Contest 298
2313Minimum Flips in Binary Tree to Get ResultTree,Depth-First Search,Dynamic Programming,Binary TreeHard????
2314The First Day of the Maximum Recorded Degree in Each CityDatabaseMedium????
2315Count AsterisksStringEasyBiweekly Contest 81
2316Count Unreachable Pairs of Nodes in an Undirected GraphDepth-First Search,Breadth-First Search,Union Find,GraphMediumBiweekly Contest 81
2317Maximum XOR After OperationsBit Manipulation,Array,MathMediumBiweekly Contest 81
2318Number of Distinct Roll SequencesMemoization,Dynamic ProgrammingHardBiweekly Contest 81
2319Check if Matrix Is X-MatrixArray,MatrixEasyWeekly Contest 299
2320Count Number of Ways to Place HousesDynamic ProgrammingMediumWeekly Contest 299
2321Maximum Score Of Spliced ArrayArray,Dynamic ProgrammingHardWeekly Contest 299
2322Minimum Score After Removals on a TreeBit Manipulation,Tree,Depth-First Search,ArrayHardWeekly Contest 299
2323Find Minimum Time to Finish All Jobs IIGreedy,Array,SortingMedium????
2324Product Sales Analysis IVDatabaseMedium????
2325Decode the MessageHash Table,StringEasyWeekly Contest 300
2326Spiral Matrix IVArray,Linked List,Matrix,SimulationMediumWeekly Contest 300
2327Number of People Aware of a SecretQueue,Dynamic Programming,SimulationMediumWeekly Contest 300
2328Number of Increasing Paths in a GridDepth-First Search,Breadth-First Search,Graph,Topological Sort,Memoization,Array,Dynamic Programming,MatrixHardWeekly Contest 300
2329Product Sales Analysis VDatabaseEasy????
2330Valid Palindrome IVTwo Pointers,StringMedium????
2331Evaluate Boolean Binary TreeTree,Depth-First Search,Binary TreeEasyBiweekly Contest 82
2332The Latest Time to Catch a BusArray,Two Pointers,Binary Search,SortingMediumBiweekly Contest 82
2333Minimum Sum of Squared DifferenceArray,Math,Sorting,Heap (Priority Queue)MediumBiweekly Contest 82
2334Subarray With Elements Greater Than Varying ThresholdStack,Union Find,Array,Monotonic StackHardBiweekly Contest 82
2335Minimum Amount of Time to Fill CupsGreedy,Array,Sorting,Heap (Priority Queue)EasyWeekly Contest 301
2336Smallest Number in Infinite SetDesign,Hash Table,Heap (Priority Queue)MediumWeekly Contest 301
2337Move Pieces to Obtain a StringTwo Pointers,StringMediumWeekly Contest 301
2338Count the Number of Ideal ArraysMath,Dynamic Programming,Combinatorics,Number TheoryHardWeekly Contest 301
2339All the Matches of the LeagueDatabaseEasy????
2340Minimum Adjacent Swaps to Make a Valid ArrayGreedy,ArrayMedium????
2341Maximum Number of Pairs in ArrayArray,Hash Table,CountingEasyWeekly Contest 302
2342Max Sum of a Pair With Equal Sum of DigitsArray,Hash Table,Sorting,Heap (Priority Queue)MediumWeekly Contest 302
2343Query Kth Smallest Trimmed NumberArray,String,Divide and Conquer,Quickselect,Radix Sort,Sorting,Heap (Priority Queue)MediumWeekly Contest 302
2344Minimum Deletions to Make Array DivisibleArray,Math,Number Theory,Sorting,Heap (Priority Queue)HardWeekly Contest 302
2345Finding the Number of Visible MountainsStack,Array,Sorting,Monotonic StackMedium????
2346Compute the Rank as a PercentageDatabaseMedium????
2347Best Poker HandArray,Hash Table,CountingEasyBiweekly Contest 83
2348Number of Zero-Filled SubarraysArray,MathMediumBiweekly Contest 83
2349Design a Number Container SystemDesign,Hash Table,Ordered Set,Heap (Priority Queue)MediumBiweekly Contest 83
2350Shortest Impossible Sequence of RollsGreedy,Array,Hash TableHardBiweekly Contest 83
2351First Letter to Appear TwiceBit Manipulation,Hash Table,String,CountingEasyWeekly Contest 303
2352Equal Row and Column PairsArray,Hash Table,Matrix,SimulationMediumWeekly Contest 303
2353Design a Food Rating SystemDesign,Hash Table,Ordered Set,Heap (Priority Queue)MediumWeekly Contest 303
2354Number of Excellent PairsBit Manipulation,Array,Hash Table,Binary SearchHardWeekly Contest 303
2355Maximum Number of Books You Can TakeStack,Array,Dynamic Programming,Monotonic StackHard????
2356Number of Unique Subjects Taught by Each TeacherDatabaseEasy
2357Make Array Zero by Subtracting Equal AmountsGreedy,Array,Hash Table,Sorting,Simulation,Heap (Priority Queue)EasyWeekly Contest 304
2358Maximum Number of Groups Entering a CompetitionGreedy,Array,Math,Binary SearchMediumWeekly Contest 304
2359Find Closest Node to Given Two NodesDepth-First Search,GraphMediumWeekly Contest 304
2360Longest Cycle in a GraphDepth-First Search,Graph,Topological SortHardWeekly Contest 304
2361Minimum Costs Using the Train LineArray,Dynamic ProgrammingHard????
2362Generate the InvoiceDatabaseHard????
2363Merge Similar ItemsArray,Hash Table,Ordered Set,SortingEasyBiweekly Contest 84
2364Count Number of Bad PairsArray,Hash TableMediumBiweekly Contest 84
2365Task Scheduler IIArray,Hash Table,SimulationMediumBiweekly Contest 84
2366Minimum Replacements to Sort the ArrayGreedy,Array,MathHardBiweekly Contest 84
2367Number of Arithmetic TripletsArray,Hash Table,Two Pointers,EnumerationEasyWeekly Contest 305
2368Reachable Nodes With RestrictionsTree,Depth-First Search,Breadth-First Search,Union Find,Graph,Array,Hash TableMediumWeekly Contest 305
2369Check if There is a Valid Partition For The ArrayArray,Dynamic ProgrammingMediumWeekly Contest 305
2370Longest Ideal SubsequenceHash Table,String,Dynamic ProgrammingMediumWeekly Contest 305
2371Minimize Maximum Value in a GridUnion Find,Graph,Topological Sort,Array,Matrix,SortingHard????
2372Calculate the Influence of Each SalespersonDatabaseMedium????
2373Largest Local Values in a MatrixArray,MatrixEasyWeekly Contest 306
2374Node With Highest Edge ScoreGraph,Hash TableMediumWeekly Contest 306
2375Construct Smallest Number From DI StringStack,Greedy,String,BacktrackingMediumWeekly Contest 306
2376Count Special IntegersMath,Dynamic ProgrammingHardWeekly Contest 306
2377Sort the Olympic TableDatabaseEasy????
2378Choose Edges to Maximize Score in a TreeTree,Depth-First Search,Dynamic ProgrammingMedium????
2379Minimum Recolors to Get K Consecutive Black BlocksString,Sliding WindowEasyBiweekly Contest 85
2380Time Needed to Rearrange a Binary StringString,Dynamic Programming,SimulationMediumBiweekly Contest 85
2381Shifting Letters IIArray,String,Prefix SumMediumBiweekly Contest 85
2382Maximum Segment Sum After RemovalsUnion Find,Array,Ordered Set,Prefix SumHardBiweekly Contest 85
2383Minimum Hours of Training to Win a CompetitionGreedy,ArrayEasyWeekly Contest 307
2384Largest Palindromic NumberGreedy,Hash Table,StringMediumWeekly Contest 307
2385Amount of Time for Binary Tree to Be InfectedTree,Depth-First Search,Breadth-First Search,Binary TreeMediumWeekly Contest 307
2386Find the K-Sum of an ArrayArray,Sorting,Heap (Priority Queue)HardWeekly Contest 307
2387Median of a Row Wise Sorted MatrixArray,Binary Search,MatrixMedium????
2388Change Null Values in a Table to the Previous ValueDatabaseMedium????
2389Longest Subsequence With Limited SumGreedy,Array,Binary Search,Prefix Sum,SortingEasyWeekly Contest 308
2390Removing Stars From a StringStack,String,SimulationMediumWeekly Contest 308
2391Minimum Amount of Time to Collect GarbageArray,String,Prefix SumMediumWeekly Contest 308
2392Build a Matrix With ConditionsGraph,Topological Sort,Array,MatrixHardWeekly Contest 308
2393Count Strictly Increasing SubarraysArray,Math,Dynamic ProgrammingMedium????
2394Employees With DeductionsDatabaseMedium????
2395Find Subarrays With Equal SumArray,Hash TableEasyBiweekly Contest 86
2396Strictly Palindromic NumberBrainteaser,Math,Two PointersMediumBiweekly Contest 86
2397Maximum Rows Covered by ColumnsBit Manipulation,Array,Backtracking,Enumeration,MatrixMediumBiweekly Contest 86
2398Maximum Number of Robots Within BudgetQueue,Array,Binary Search,Prefix Sum,Sliding Window,Heap (Priority Queue)HardBiweekly Contest 86
2399Check Distances Between Same LettersArray,Hash Table,StringEasyWeekly Contest 309
2400Number of Ways to Reach a Position After Exactly k StepsMath,Dynamic Programming,CombinatoricsMediumWeekly Contest 309
2401Longest Nice SubarrayBit Manipulation,Array,Sliding WindowMediumWeekly Contest 309
2402Meeting Rooms IIIArray,Hash Table,Sorting,Simulation,Heap (Priority Queue)HardWeekly Contest 309
2403Minimum Time to Kill All MonstersBit Manipulation,Array,Dynamic Programming,BitmaskHard????
2404Most Frequent Even ElementArray,Hash Table,CountingEasyWeekly Contest 310
2405Optimal Partition of StringGreedy,Hash Table,StringMediumWeekly Contest 310
2406Divide Intervals Into Minimum Number of GroupsGreedy,Array,Two Pointers,Prefix Sum,Sorting,Heap (Priority Queue)MediumWeekly Contest 310
2407Longest Increasing Subsequence IIBinary Indexed Tree,Segment Tree,Queue,Array,Divide and Conquer,Dynamic Programming,Monotonic QueueHardWeekly Contest 310
2408Design SQLDesign,Array,Hash Table,StringMedium????
2409Count Days Spent TogetherMath,StringEasyBiweekly Contest 87
2410Maximum Matching of Players With TrainersGreedy,Array,Two Pointers,SortingMediumBiweekly Contest 87
2411Smallest Subarrays With Maximum Bitwise ORBit Manipulation,Array,Binary Search,Sliding WindowMediumBiweekly Contest 87
2412Minimum Money Required Before TransactionsGreedy,Array,SortingHardBiweekly Contest 87
2413Smallest Even MultipleMath,Number TheoryEasyWeekly Contest 311
2414Length of the Longest Alphabetical Continuous SubstringStringMediumWeekly Contest 311
2415Reverse Odd Levels of Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeMediumWeekly Contest 311
2416Sum of Prefix Scores of StringsTrie,Array,String,CountingHardWeekly Contest 311
2417Closest Fair IntegerMath,EnumerationMedium????
2418Sort the PeopleArray,Hash Table,String,SortingEasyWeekly Contest 312
2419Longest Subarray With Maximum Bitwise ANDBit Manipulation,Brainteaser,ArrayMediumWeekly Contest 312
2420Find All Good IndicesArray,Dynamic Programming,Prefix SumMediumWeekly Contest 312
2421Number of Good PathsTree,Union Find,Graph,Array,Hash Table,SortingHardWeekly Contest 312
2422Merge Operations to Turn Array Into a PalindromeGreedy,Array,Two PointersMedium????
2423Remove Letter To Equalize FrequencyHash Table,String,CountingEasyBiweekly Contest 88
2424Longest Uploaded PrefixUnion Find,Design,Binary Indexed Tree,Segment Tree,Binary Search,Ordered Set,Heap (Priority Queue)MediumBiweekly Contest 88
2425Bitwise XOR of All PairingsBit Manipulation,Brainteaser,ArrayMediumBiweekly Contest 88
2426Number of Pairs Satisfying InequalityBinary Indexed Tree,Segment Tree,Array,Binary Search,Divide and Conquer,Ordered Set,Merge SortHardBiweekly Contest 88
2427Number of Common FactorsMath,Enumeration,Number TheoryEasyWeekly Contest 313
2428Maximum Sum of an HourglassArray,Matrix,Prefix SumMediumWeekly Contest 313
2429Minimize XORGreedy,Bit ManipulationMediumWeekly Contest 313
2430Maximum Deletions on a StringString,Dynamic Programming,String Matching,Hash Function,Rolling HashHardWeekly Contest 313
2431Maximize Total Tastiness of Purchased FruitsArray,Dynamic ProgrammingMedium????
2432The Employee That Worked on the Longest TaskArrayEasyWeekly Contest 314
2433Find The Original Array of Prefix XorBit Manipulation,ArrayMediumWeekly Contest 314
2434Using a Robot to Print the Lexicographically Smallest StringStack,Greedy,Hash Table,StringMediumWeekly Contest 314
2435Paths in Matrix Whose Sum Is Divisible by KArray,Dynamic Programming,MatrixHardWeekly Contest 314
2436Minimum Split Into Subarrays With GCD Greater Than OneGreedy,Array,Math,Dynamic Programming,Number TheoryMedium????
2437Number of Valid Clock TimesString,EnumerationEasyBiweekly Contest 89
2438Range Product Queries of PowersBit Manipulation,Array,Prefix SumMediumBiweekly Contest 89
2439Minimize Maximum of ArrayGreedy,Array,Binary Search,Dynamic Programming,Prefix SumMediumBiweekly Contest 89
2440Create Components With Same ValueTree,Depth-First Search,Array,Math,EnumerationHardBiweekly Contest 89
2441Largest Positive Integer That Exists With Its NegativeArray,Hash Table,Two Pointers,SortingEasyWeekly Contest 315
2442Count Number of Distinct Integers After Reverse OperationsArray,Hash Table,MathMediumWeekly Contest 315
2443Sum of Number and Its ReverseMath,EnumerationMediumWeekly Contest 315
2444Count Subarrays With Fixed BoundsQueue,Array,Sliding Window,Monotonic QueueHardWeekly Contest 315
2445Number of Nodes With Value OneTree,Depth-First Search,Breadth-First Search,Binary TreeMedium????
2446Determine if Two Events Have ConflictArray,StringEasyWeekly Contest 316
2447Number of Subarrays With GCD Equal to KArray,Math,Number TheoryMediumWeekly Contest 316
2448Minimum Cost to Make Array EqualGreedy,Array,Binary Search,Prefix Sum,SortingHardWeekly Contest 316
2449Minimum Number of Operations to Make Arrays SimilarGreedy,Array,SortingHardWeekly Contest 316
2450Number of Distinct Binary Strings After Applying OperationsMath,StringMedium????
2451Odd String DifferenceArray,Hash Table,StringEasyBiweekly Contest 90
2452Words Within Two Edits of DictionaryArray,StringMediumBiweekly Contest 90
2453Destroy Sequential TargetsArray,Hash Table,CountingMediumBiweekly Contest 90
2454Next Greater Element IVStack,Array,Binary Search,Sorting,Monotonic Stack,Heap (Priority Queue)HardBiweekly Contest 90
2455Average Value of Even Numbers That Are Divisible by ThreeArray,MathEasyWeekly Contest 317
2456Most Popular Video CreatorArray,Hash Table,String,Sorting,Heap (Priority Queue)MediumWeekly Contest 317
2457Minimum Addition to Make Integer BeautifulGreedy,MathMediumWeekly Contest 317
2458Height of Binary Tree After Subtree Removal QueriesTree,Depth-First Search,Breadth-First Search,Array,Binary TreeHardWeekly Contest 317
2459Sort Array by Moving Items to Empty SpaceGreedy,Array,SortingHard????
2460Apply Operations to an ArrayArray,SimulationEasyWeekly Contest 318
2461Maximum Sum of Distinct Subarrays With Length KArray,Hash Table,Sliding WindowMediumWeekly Contest 318
2462Total Cost to Hire K WorkersArray,Two Pointers,Simulation,Heap (Priority Queue)MediumWeekly Contest 318
2463Minimum Total Distance TraveledArray,Dynamic Programming,SortingHardWeekly Contest 318
2464Minimum Subarrays in a Valid SplitArray,Math,Dynamic Programming,Number TheoryMedium????
2465Number of Distinct AveragesArray,Hash Table,Two Pointers,SortingEasyBiweekly Contest 91
2466Count Ways To Build Good StringsDynamic ProgrammingMediumBiweekly Contest 91
2467Most Profitable Path in a TreeTree,Depth-First Search,Breadth-First Search,Graph,ArrayMediumBiweekly Contest 91
2468Split Message Based on LimitString,Binary SearchHardBiweekly Contest 91
2469Convert the TemperatureMathEasyWeekly Contest 319
2470Number of Subarrays With LCM Equal to KArray,Math,Number TheoryMediumWeekly Contest 319
2471Minimum Number of Operations to Sort a Binary Tree by LevelTree,Breadth-First Search,Binary TreeMediumWeekly Contest 319
2472Maximum Number of Non-overlapping Palindrome SubstringsString,Dynamic ProgrammingHardWeekly Contest 319
2473Minimum Cost to Buy ApplesGraph,Array,Shortest Path,Heap (Priority Queue)Medium????
2474Customers With Strictly Increasing PurchasesDatabaseHard????
2475Number of Unequal Triplets in ArrayArray,Hash Table,SortingEasyWeekly Contest 320
2476Closest Nodes Queries in a Binary Search TreeTree,Depth-First Search,Binary Search Tree,Array,Binary Search,Binary TreeMediumWeekly Contest 320
2477Minimum Fuel Cost to Report to the CapitalTree,Depth-First Search,Breadth-First Search,GraphMediumWeekly Contest 320
2478Number of Beautiful PartitionsString,Dynamic ProgrammingHardWeekly Contest 320
2479Maximum XOR of Two Non-Overlapping SubtreesTree,Depth-First Search,Graph,TrieHard????
2480Form a Chemical BondDatabaseEasy????
2481Minimum Cuts to Divide a CircleGeometry,MathEasyBiweekly Contest 92
2482Difference Between Ones and Zeros in Row and ColumnArray,Matrix,SimulationMediumBiweekly Contest 92
2483Minimum Penalty for a ShopString,Prefix SumMediumBiweekly Contest 92
2484Count Palindromic SubsequencesString,Dynamic ProgrammingHardBiweekly Contest 92
2485Find the Pivot IntegerMath,Prefix SumEasyWeekly Contest 321
2486Append Characters to String to Make SubsequenceGreedy,Two Pointers,StringMediumWeekly Contest 321
2487Remove Nodes From Linked ListStack,Recursion,Linked List,Monotonic StackMediumWeekly Contest 321
2488Count Subarrays With Median KArray,Hash Table,Prefix SumHardWeekly Contest 321
2489Number of Substrings With Fixed RatioHash Table,Math,String,Prefix SumMedium????
2490Circular SentenceStringEasyWeekly Contest 322
2491Divide Players Into Teams of Equal SkillArray,Hash Table,Two Pointers,SortingMediumWeekly Contest 322
2492Minimum Score of a Path Between Two CitiesDepth-First Search,Breadth-First Search,Union Find,GraphMediumWeekly Contest 322
2493Divide Nodes Into the Maximum Number of GroupsBreadth-First Search,Union Find,GraphHardWeekly Contest 322
2494Merge Overlapping Events in the Same HallDatabaseHard????
2495Number of Subarrays Having Even ProductArray,Math,Dynamic ProgrammingMedium????
2496Maximum Value of a String in an ArrayArray,StringEasyBiweekly Contest 93
2497Maximum Star Sum of a GraphGreedy,Graph,Array,Sorting,Heap (Priority Queue)MediumBiweekly Contest 93
2498Frog Jump IIGreedy,Array,Binary SearchMediumBiweekly Contest 93
2499Minimum Total Cost to Make Arrays UnequalGreedy,Array,Hash Table,CountingHardBiweekly Contest 93
2500Delete Greatest Value in Each RowArray,Matrix,Sorting,Simulation,Heap (Priority Queue)EasyWeekly Contest 323
2501Longest Square Streak in an ArrayArray,Hash Table,Binary Search,Dynamic Programming,SortingMediumWeekly Contest 323
2502Design Memory AllocatorDesign,Array,Hash Table,SimulationMediumWeekly Contest 323
2503Maximum Number of Points From Grid QueriesBreadth-First Search,Union Find,Array,Two Pointers,Matrix,Sorting,Heap (Priority Queue)HardWeekly Contest 323
2504Concatenate the Name and the ProfessionDatabaseEasy????
2505Bitwise OR of All Subsequence SumsBit Manipulation,Brainteaser,Array,MathMedium????
2506Count Pairs Of Similar StringsArray,Hash Table,StringEasyWeekly Contest 324
2507Smallest Value After Replacing With Sum of Prime FactorsMath,Number TheoryMediumWeekly Contest 324
2508Add Edges to Make Degrees of All Nodes EvenGraph,Hash TableHardWeekly Contest 324
2509Cycle Length Queries in a TreeTree,Binary TreeHardWeekly Contest 324
2510Check if There is a Path With Equal Number of 0's And 1'sArray,Dynamic Programming,MatrixMedium????
2511Maximum Enemy Forts That Can Be CapturedArray,Two PointersEasyBiweekly Contest 94
2512Reward Top K StudentsArray,Hash Table,String,Sorting,Heap (Priority Queue)MediumBiweekly Contest 94
2513Minimize the Maximum of Two ArraysMath,Binary Search,Number TheoryMediumBiweekly Contest 94
2514Count AnagramsHash Table,Math,String,Combinatorics,CountingHardBiweekly Contest 94
2515Shortest Distance to Target String in a Circular ArrayArray,StringEasyWeekly Contest 325
2516Take K of Each Character From Left and RightHash Table,String,Sliding WindowMediumWeekly Contest 325
2517Maximum Tastiness of Candy BasketArray,Binary Search,SortingMediumWeekly Contest 325
2518Number of Great PartitionsArray,Dynamic ProgrammingHardWeekly Contest 325
2519Count the Number of K-Big IndicesBinary Indexed Tree,Segment Tree,Array,Binary Search,Divide and Conquer,Ordered Set,Merge SortHard????
2520Count the Digits That Divide a NumberMathEasyWeekly Contest 326
2521Distinct Prime Factors of Product of ArrayArray,Hash Table,Math,Number TheoryMediumWeekly Contest 326
2522Partition String Into Substrings With Values at Most KGreedy,String,Dynamic ProgrammingMediumWeekly Contest 326
2523Closest Prime Numbers in RangeMath,Number TheoryMediumWeekly Contest 326
2524Maximum Frequency Score of a SubarrayArray,Hash Table,Math,Sliding WindowHard????
2525Categorize Box According to CriteriaMathEasyBiweekly Contest 95
2526Find Consecutive Integers from a Data StreamDesign,Queue,Hash Table,Counting,Data StreamMediumBiweekly Contest 95
2527Find Xor-Beauty of ArrayBit Manipulation,Array,MathMediumBiweekly Contest 95
2528Maximize the Minimum Powered CityGreedy,Queue,Array,Binary Search,Prefix Sum,Sliding WindowHardBiweekly Contest 95
2529Maximum Count of Positive Integer and Negative IntegerArray,Binary Search,CountingEasyWeekly Contest 327
2530Maximal Score After Applying K OperationsGreedy,Array,Heap (Priority Queue)MediumWeekly Contest 327
2531Make Number of Distinct Characters EqualHash Table,String,CountingMediumWeekly Contest 327
2532Time to Cross a BridgeArray,Simulation,Heap (Priority Queue)HardWeekly Contest 327
2533Number of Good Binary StringsDynamic ProgrammingMedium????
2534Time Taken to Cross the DoorQueue,Array,SimulationHard????
2535Difference Between Element Sum and Digit Sum of an ArrayArray,MathEasyWeekly Contest 328
2536Increment Submatrices by OneArray,Matrix,Prefix SumMediumWeekly Contest 328
2537Count the Number of Good SubarraysArray,Hash Table,Sliding WindowMediumWeekly Contest 328
2538Difference Between Maximum and Minimum Price SumTree,Depth-First Search,Array,Dynamic ProgrammingHardWeekly Contest 328
2539Count the Number of Good SubsequencesHash Table,Math,String,Combinatorics,CountingMedium????
2540Minimum Common ValueArray,Hash Table,Two Pointers,Binary SearchEasyBiweekly Contest 96
2541Minimum Operations to Make Array Equal IIGreedy,Array,MathMediumBiweekly Contest 96
2542Maximum Subsequence ScoreGreedy,Array,Sorting,Heap (Priority Queue)MediumBiweekly Contest 96
2543Check if Point Is ReachableMath,Number TheoryHardBiweekly Contest 96
2544Alternating Digit SumMathEasyWeekly Contest 329
2545Sort the Students by Their Kth ScoreArray,Matrix,SortingMediumWeekly Contest 329
2546Apply Bitwise Operations to Make Strings EqualBit Manipulation,StringMediumWeekly Contest 329
2547Minimum Cost to Split an ArrayArray,Hash Table,Dynamic Programming,CountingHardWeekly Contest 329
2548Maximum Price to Fill a BagGreedy,Array,SortingMedium????
2549Count Distinct Numbers on BoardArray,Hash Table,Math,SimulationEasyWeekly Contest 330
2550Count Collisions of Monkeys on a PolygonRecursion,MathMediumWeekly Contest 330
2551Put Marbles in BagsGreedy,Array,Sorting,Heap (Priority Queue)HardWeekly Contest 330
2552Count Increasing QuadrupletsBinary Indexed Tree,Array,Dynamic Programming,Enumeration,Prefix SumHardWeekly Contest 330
2553Separate the Digits in an ArrayArray,SimulationEasyBiweekly Contest 97
2554Maximum Number of Integers to Choose From a Range IGreedy,Array,Hash Table,Binary Search,SortingMediumBiweekly Contest 97
2555Maximize Win From Two SegmentsArray,Binary Search,Sliding WindowMediumBiweekly Contest 97
2556Disconnect Path in a Binary Matrix by at Most One FlipDepth-First Search,Breadth-First Search,Array,Dynamic Programming,MatrixMediumBiweekly Contest 97
2557Maximum Number of Integers to Choose From a Range IIGreedy,Array,Binary Search,SortingMedium????
2558Take Gifts From the Richest PileArray,Simulation,Heap (Priority Queue)EasyWeekly Contest 331
2559Count Vowel Strings in RangesArray,String,Prefix SumMediumWeekly Contest 331
2560House Robber IVArray,Binary SearchMediumWeekly Contest 331
2561Rearranging FruitsGreedy,Array,Hash TableHardWeekly Contest 331
2562Find the Array Concatenation ValueArray,Two Pointers,SimulationEasyWeekly Contest 332
2563Count the Number of Fair PairsArray,Two Pointers,Binary Search,SortingMediumWeekly Contest 332
2564Substring XOR QueriesBit Manipulation,Array,Hash Table,StringMediumWeekly Contest 332
2565Subsequence With the Minimum ScoreTwo Pointers,String,Binary SearchHardWeekly Contest 332
2566Maximum Difference by Remapping a DigitGreedy,MathEasyBiweekly Contest 98
2567Minimum Score by Changing Two ElementsGreedy,Array,SortingMediumBiweekly Contest 98
2568Minimum Impossible ORBit Manipulation,Brainteaser,ArrayMediumBiweekly Contest 98
2569Handling Sum Queries After UpdateSegment Tree,ArrayHardBiweekly Contest 98
2570Merge Two 2D Arrays by Summing ValuesArray,Hash Table,Two PointersEasyWeekly Contest 333
2571Minimum Operations to Reduce an Integer to 0Greedy,Bit Manipulation,Dynamic ProgrammingMediumWeekly Contest 333
2572Count the Number of Square-Free SubsetsBit Manipulation,Array,Math,Dynamic Programming,BitmaskMediumWeekly Contest 333
2573Find the String with LCPGreedy,Union Find,Array,String,Dynamic Programming,MatrixHardWeekly Contest 333
2574Left and Right Sum DifferencesArray,Prefix SumEasyWeekly Contest 334
2575Find the Divisibility Array of a StringArray,Math,StringMediumWeekly Contest 334
2576Find the Maximum Number of Marked IndicesGreedy,Array,Two Pointers,Binary Search,SortingMediumWeekly Contest 334
2577Minimum Time to Visit a Cell In a GridBreadth-First Search,Graph,Array,Matrix,Shortest Path,Heap (Priority Queue)HardWeekly Contest 334
2578Split With Minimum SumGreedy,Math,SortingEasyBiweekly Contest 99
2579Count Total Number of Colored CellsMathMediumBiweekly Contest 99
2580Count Ways to Group Overlapping RangesArray,SortingMediumBiweekly Contest 99
2581Count Number of Possible Root NodesTree,Depth-First Search,Hash Table,Dynamic ProgrammingHardBiweekly Contest 99
2582Pass the PillowMath,SimulationEasyWeekly Contest 335
2583Kth Largest Sum in a Binary TreeTree,Breadth-First Search,Binary Tree,SortingMediumWeekly Contest 335
2584Split the Array to Make Coprime ProductsArray,Hash Table,Math,Number TheoryHardWeekly Contest 335
2585Number of Ways to Earn PointsArray,Dynamic ProgrammingHardWeekly Contest 335
2586Count the Number of Vowel Strings in RangeArray,StringEasyWeekly Contest 336
2587Rearrange Array to Maximize Prefix ScoreGreedy,Array,Prefix Sum,SortingMediumWeekly Contest 336
2588Count the Number of Beautiful SubarraysBit Manipulation,Array,Hash Table,Prefix SumMediumWeekly Contest 336
2589Minimum Time to Complete All TasksStack,Greedy,Array,Binary Search,SortingHardWeekly Contest 336
2590Design a Todo ListDesign,Array,Hash Table,String,SortingMedium????
2591Distribute Money to Maximum ChildrenGreedy,MathEasyBiweekly Contest 100
2592Maximize Greatness of an ArrayGreedy,Array,Two Pointers,SortingMediumBiweekly Contest 100
2593Find Score of an Array After Marking All ElementsArray,Sorting,Simulation,Heap (Priority Queue)MediumBiweekly Contest 100
2594Minimum Time to Repair CarsArray,Binary SearchMediumBiweekly Contest 100
2595Number of Even and Odd BitsBit ManipulationEasyWeekly Contest 337
2596Check Knight Tour ConfigurationDepth-First Search,Breadth-First Search,Array,Matrix,SimulationMediumWeekly Contest 337
2597The Number of Beautiful SubsetsArray,Dynamic Programming,Backtracking,SortingMediumWeekly Contest 337
2598Smallest Missing Non-negative Integer After OperationsGreedy,Array,Hash Table,MathMediumWeekly Contest 337
2599Make the Prefix Sum Non-negativeGreedy,Array,Heap (Priority Queue)Medium????
2600K Items With the Maximum SumGreedy,MathEasyWeekly Contest 338
2601Prime Subtraction OperationGreedy,Array,Math,Binary Search,Number TheoryMediumWeekly Contest 338
2602Minimum Operations to Make All Array Elements EqualArray,Binary Search,Prefix Sum,SortingMediumWeekly Contest 338
2603Collect Coins in a TreeTree,Graph,Topological Sort,ArrayHardWeekly Contest 338
2604Minimum Time to Eat All GrainsArray,Binary Search,SortingHard????
2605Form Smallest Number From Two Digit ArraysArray,Hash Table,EnumerationEasyBiweekly Contest 101
2606Find the Substring With Maximum CostArray,Hash Table,String,Dynamic ProgrammingMediumBiweekly Contest 101
2607Make K-Subarray Sums EqualArray,Math,Number Theory,SortingMediumBiweekly Contest 101
2608Shortest Cycle in a GraphBreadth-First Search,GraphHardBiweekly Contest 101
2609Find the Longest Balanced Substring of a Binary StringStringEasyWeekly Contest 339
2610Convert an Array Into a 2D Array With ConditionsArray,Hash TableMediumWeekly Contest 339
2611Mice and CheeseGreedy,Array,Sorting,Heap (Priority Queue)MediumWeekly Contest 339
2612Minimum Reverse OperationsBreadth-First Search,Array,Ordered SetHardWeekly Contest 339
2613Beautiful PairsGeometry,Array,Math,Divide and Conquer,Ordered Set,SortingHard????
2614Prime In DiagonalArray,Math,Matrix,Number TheoryEasyWeekly Contest 340
2615Sum of DistancesArray,Hash Table,Prefix SumMediumWeekly Contest 340
2616Minimize the Maximum Difference of PairsGreedy,Array,Binary SearchMediumWeekly Contest 340
2617Minimum Number of Visited Cells in a GridStack,Union Find,Binary Indexed Tree,Segment Tree,Array,Binary Search,Dynamic ProgrammingHardWeekly Contest 340
2618Check if Object Instance of ClassMedium
2619Array Prototype LastEasy
2620CounterEasy
2621SleepEasy
2622Cache With Time LimitMedium
2623MemoizeMedium
2624Snail TraversalMedium
2625Flatten Deeply Nested ArrayMedium
2626Array Reduce TransformationEasy
2627DebounceMedium
2628JSON Deep EqualMedium????
2629Function CompositionEasy
2630Memoize IIHard
2631Group ByMedium
2632CurryMedium????
2633Convert Object to JSON StringMedium????
2634Filter Elements from ArrayEasy
2635Apply Transform Over Each Element in ArrayEasy
2636Promise PoolMedium????
2637Promise Time LimitMedium
2638Count the Number of K-Free SubsetsArray,Dynamic Programming,SortingMedium????
2639Find the Width of Columns of a GridArray,MatrixEasyBiweekly Contest 102
2640Find the Score of All Prefixes of an ArrayArray,Prefix SumMediumBiweekly Contest 102
2641Cousins in Binary Tree IITree,Depth-First Search,Breadth-First Search,Hash Table,Binary TreeMediumBiweekly Contest 102
2642Design Graph With Shortest Path CalculatorGraph,Design,Shortest Path,Heap (Priority Queue)HardBiweekly Contest 102
2643Row With Maximum OnesArray,MatrixEasyWeekly Contest 341
2644Find the Maximum Divisibility ScoreArrayEasyWeekly Contest 341
2645Minimum Additions to Make Valid StringStack,Greedy,String,Dynamic ProgrammingMediumWeekly Contest 341
2646Minimize the Total Price of the TripsTree,Depth-First Search,Graph,Array,Dynamic ProgrammingHardWeekly Contest 341
2647Color the Triangle RedArray,MathHard????
2648Generate Fibonacci SequenceEasy
2649Nested Array GeneratorMedium
2650Design Cancellable FunctionHard
2651Calculate Delayed Arrival TimeMathEasyWeekly Contest 342
2652Sum MultiplesMathEasyWeekly Contest 342
2653Sliding Subarray BeautyArray,Hash Table,Sliding WindowMediumWeekly Contest 342
2654Minimum Number of Operations to Make All Array Elements Equal to 1Array,Math,Number TheoryMediumWeekly Contest 342
2655Find Maximal Uncovered RangesArray,SortingMedium????
2656Maximum Sum With Exactly K ElementsGreedy,ArrayEasyBiweekly Contest 103
2657Find the Prefix Common Array of Two ArraysBit Manipulation,Array,Hash TableMediumBiweekly Contest 103
2658Maximum Number of Fish in a GridDepth-First Search,Breadth-First Search,Union Find,Array,MatrixMediumBiweekly Contest 103
2659Make Array EmptyGreedy,Binary Indexed Tree,Segment Tree,Array,Binary Search,Ordered Set,SortingHardBiweekly Contest 103
2660Determine the Winner of a Bowling GameArray,SimulationEasyWeekly Contest 343
2661First Completely Painted Row or ColumnArray,Hash Table,MatrixMediumWeekly Contest 343
2662Minimum Cost of a Path With Special RoadsGraph,Array,Shortest Path,Heap (Priority Queue)MediumWeekly Contest 343
2663Lexicographically Smallest Beautiful StringGreedy,StringHardWeekly Contest 343
2664The Knight’s TourArray,Backtracking,MatrixMedium????
2665Counter IIEasy
2666Allow One Function CallEasy
2667Create Hello World FunctionEasy
2668Find Latest SalariesDatabaseEasy????
2669Count Artist Occurrences On Spotify Ranking ListDatabaseEasy????
2670Find the Distinct Difference ArrayArray,Hash TableEasyWeekly Contest 344
2671Frequency TrackerDesign,Hash TableMediumWeekly Contest 344
2672Number of Adjacent Elements With the Same ColorArrayMediumWeekly Contest 344
2673Make Costs of Paths Equal in a Binary TreeGreedy,Tree,Array,Dynamic Programming,Binary TreeMediumWeekly Contest 344
2674Split a Circular Linked ListLinked List,Two PointersMedium????
2675Array of Objects to MatrixHard????
2676ThrottleMedium????
2677Chunk ArrayEasy
2678Number of Senior CitizensArray,StringEasyBiweekly Contest 104
2679Sum in a MatrixArray,Matrix,Sorting,Simulation,Heap (Priority Queue)MediumBiweekly Contest 104
2680Maximum ORGreedy,Bit Manipulation,Array,Prefix SumMediumBiweekly Contest 104
2681Power of HeroesArray,Math,Prefix Sum,SortingHardBiweekly Contest 104
2682Find the Losers of the Circular GameArray,Hash Table,SimulationEasyWeekly Contest 345
2683Neighboring Bitwise XORBit Manipulation,ArrayMediumWeekly Contest 345
2684Maximum Number of Moves in a GridArray,Dynamic Programming,MatrixMediumWeekly Contest 345
2685Count the Number of Complete ComponentsDepth-First Search,Breadth-First Search,GraphMediumWeekly Contest 345
2686Immediate Food Delivery IIIDatabaseMedium????
2687Bikes Last Time UsedDatabaseEasy????
2688Find Active UsersDatabaseMedium????
2689Extract Kth Character From The Rope TreeTree,Depth-First Search,Binary TreeEasy????
2690Infinite Method ObjectEasy????
2691Immutability HelperHard????
2692Make Object ImmutableMedium????
2693Call Function with Custom ContextMedium
2694Event EmitterMedium
2695Array WrapperEasy
2696Minimum String Length After Removing SubstringsStack,String,SimulationEasyWeekly Contest 346
2697Lexicographically Smallest PalindromeGreedy,Two Pointers,StringEasyWeekly Contest 346
2698Find the Punishment Number of an IntegerMath,BacktrackingMediumWeekly Contest 346
2699Modify Graph Edge WeightsGraph,Shortest Path,Heap (Priority Queue)HardWeekly Contest 346
2700Differences Between Two ObjectsMedium????
2701Consecutive Transactions with Increasing AmountsDatabaseHard????
2702Minimum Operations to Make Numbers Non-positiveArray,Binary SearchHard????
2703Return Length of Arguments PassedEasy
2704To Be Or Not To BeEasy
2705Compact ObjectMedium
2706Buy Two ChocolatesArray,SortingEasyBiweekly Contest 105
2707Extra Characters in a StringTrie,Array,Hash Table,String,Dynamic ProgrammingMediumBiweekly Contest 105
2708Maximum Strength of a GroupGreedy,Array,Backtracking,SortingMediumBiweekly Contest 105
2709Greatest Common Divisor TraversalUnion Find,Array,Math,Number TheoryHardBiweekly Contest 105
2710Remove Trailing Zeros From a StringStringEasyWeekly Contest 347
2711Difference of Number of Distinct Values on DiagonalsArray,Hash Table,MatrixMediumWeekly Contest 347
2712Minimum Cost to Make All Characters EqualGreedy,String,Dynamic ProgrammingMediumWeekly Contest 347
2713Maximum Strictly Increasing Cells in a MatrixMemoization,Array,Binary Search,Dynamic Programming,Matrix,SortingHardWeekly Contest 347
2714Find Shortest Path with K HopsGraph,Shortest Path,Heap (Priority Queue)Hard????
2715Timeout CancellationEasy
2716Minimize String LengthHash Table,StringEasyWeekly Contest 348
2717Semi-Ordered PermutationArray,SimulationEasyWeekly Contest 348
2718Sum of Matrix After QueriesArray,Hash TableMediumWeekly Contest 348
2719Count of IntegersMath,String,Dynamic ProgrammingHardWeekly Contest 348
2720Popularity PercentageDatabaseHard????
2721Execute Asynchronous Functions in ParallelMedium
2722Join Two Arrays by IDMedium
2723Add Two PromisesEasy
2724Sort ByEasy
2725Interval CancellationEasy
2726Calculator with Method ChainingEasy
2727Is Object EmptyEasy
2728Count Houses in a Circular StreetArray,InteractiveEasy????
2729Check if The Number is FascinatingHash Table,MathEasyBiweekly Contest 106
2730Find the Longest Semi-Repetitive SubstringString,Sliding WindowMediumBiweekly Contest 106
2731Movement of RobotsBrainteaser,Array,Prefix Sum,SortingMediumBiweekly Contest 106
2732Find a Good Subset of the MatrixGreedy,Bit Manipulation,Array,MatrixHardBiweekly Contest 106
2733Neither Minimum nor MaximumArray,SortingEasyWeekly Contest 349
2734Lexicographically Smallest String After Substring OperationGreedy,StringMediumWeekly Contest 349
2735Collecting ChocolatesArray,EnumerationMediumWeekly Contest 349
2736Maximum Sum QueriesStack,Binary Indexed Tree,Segment Tree,Array,Binary Search,Sorting,Monotonic StackHardWeekly Contest 349
2737Find the Closest Marked NodeGraph,Array,Shortest Path,Heap (Priority Queue)Medium????
2738Count Occurrences in TextDatabaseMedium????
2739Total Distance TraveledMath,SimulationEasyWeekly Contest 350
2740Find the Value of the PartitionArray,SortingMediumWeekly Contest 350
2741Special PermutationsBit Manipulation,Array,BitmaskMediumWeekly Contest 350
2742Painting the WallsArray,Dynamic ProgrammingHardWeekly Contest 350
2743Count Substrings Without Repeating CharacterHash Table,String,Sliding WindowMedium????
2744Find Maximum Number of String PairsArray,Hash Table,String,SimulationEasyBiweekly Contest 107
2745Construct the Longest New StringGreedy,Brainteaser,Math,Dynamic ProgrammingMediumBiweekly Contest 107
2746Decremental String ConcatenationArray,String,Dynamic ProgrammingMediumBiweekly Contest 107
2747Count Zero Request ServersArray,Hash Table,Sorting,Sliding WindowMediumBiweekly Contest 107
2748Number of Beautiful PairsArray,Math,Number TheoryEasyWeekly Contest 351
2749Minimum Operations to Make the Integer ZeroBit Manipulation,BrainteaserMediumWeekly Contest 351
2750Ways to Split Array Into Good SubarraysArray,MathMediumWeekly Contest 351
2751Robot CollisionsStack,Array,Sorting,SimulationHardWeekly Contest 351
2752Customers with Maximum Number of Transactions on Consecutive DaysDatabaseHard????
2753Count Houses in a Circular Street IIHard????
2754Bind Function to ContextMedium????
2755Deep Merge of Two ObjectsMedium????
2756Query BatchingHard????
2757Generate Circular Array ValuesMedium????
2758Next DayEasy????
2759Convert JSON String to ObjectHard????
2760Longest Even Odd Subarray With ThresholdArray,Sliding WindowEasyWeekly Contest 352
2761Prime Pairs With Target SumArray,Math,Enumeration,Number TheoryMediumWeekly Contest 352
2762Continuous SubarraysQueue,Array,Ordered Set,Sliding Window,Monotonic Queue,Heap (Priority Queue)MediumWeekly Contest 352
2763Sum of Imbalance Numbers of All SubarraysArray,Hash Table,Ordered SetHardWeekly Contest 352
2764Is Array a Preorder of Some ‌Binary TreeStack,Tree,Depth-First Search,Binary TreeMedium????
2765Longest Alternating SubarrayArray,EnumerationEasyBiweekly Contest 108
2766Relocate MarblesArray,Hash Table,Sorting,SimulationMediumBiweekly Contest 108
2767Partition String Into Minimum Beautiful SubstringsHash Table,String,Dynamic Programming,BacktrackingMediumBiweekly Contest 108
2768Number of Black BlocksArray,Hash Table,EnumerationMediumBiweekly Contest 108
2769Find the Maximum Achievable NumberMathEasyWeekly Contest 353
2770Maximum Number of Jumps to Reach the Last IndexArray,Dynamic ProgrammingMediumWeekly Contest 353
2771Longest Non-decreasing Subarray From Two ArraysArray,Dynamic ProgrammingMediumWeekly Contest 353
2772Apply Operations to Make All Array Elements Equal to ZeroArray,Prefix SumMediumWeekly Contest 353
2773Height of Special Binary TreeTree,Depth-First Search,Breadth-First Search,Binary TreeMedium????
2774Array Upper BoundEasy????
2775Undefined to NullMedium????
2776Convert Callback Based Function to Promise Based FunctionMedium????
2777Date Range GeneratorMedium????
2778Sum of Squares of Special ElementsArray,EnumerationEasyWeekly Contest 354
2779Maximum Beauty of an Array After Applying OperationArray,Binary Search,Sorting,Sliding WindowMediumWeekly Contest 354
2780Minimum Index of a Valid SplitArray,Hash Table,SortingMediumWeekly Contest 354
2781Length of the Longest Valid SubstringArray,Hash Table,String,Sliding WindowHardWeekly Contest 354
2782Number of Unique CategoriesUnion Find,Counting,InteractiveMedium????
2783Flight Occupancy and Waitlist AnalysisDatabaseMedium????
2784Check if Array is GoodArray,Hash Table,SortingEasyBiweekly Contest 109
2785Sort Vowels in a StringString,SortingMediumBiweekly Contest 109
2786Visit Array Positions to Maximize ScoreArray,Dynamic ProgrammingMediumBiweekly Contest 109
2787Ways to Express an Integer as Sum of PowersDynamic ProgrammingMediumBiweekly Contest 109
2788Split Strings by SeparatorArray,StringEasyWeekly Contest 355
2789Largest Element in an Array after Merge OperationsGreedy,ArrayMediumWeekly Contest 355
2790Maximum Number of Groups With Increasing LengthGreedy,Array,Math,Binary Search,SortingHardWeekly Contest 355
2791Count Paths That Can Form a Palindrome in a TreeBit Manipulation,Tree,Depth-First Search,Dynamic Programming,BitmaskHardWeekly Contest 355
2792Count Nodes That Are Great EnoughTree,Depth-First Search,Divide and Conquer,Binary TreeHard????
2793Status of Flight TicketsHard????
2794Create Object from Two ArraysEasy????
2795Parallel Execution of Promises for Individual Results RetrievalMedium????
2796Repeat StringEasy????
2797Partial Function with PlaceholdersEasy????
2798Number of Employees Who Met the TargetArrayEasyWeekly Contest 356
2799Count Complete Subarrays in an ArrayArray,Hash Table,Sliding WindowMediumWeekly Contest 356
2800Shortest String That Contains Three StringsGreedy,String,EnumerationMediumWeekly Contest 356
2801Count Stepping Numbers in RangeString,Dynamic ProgrammingHardWeekly Contest 356
2802Find The K-th Lucky NumberBit Manipulation,Math,StringMedium????
2803Factorial GeneratorEasy????
2804Array Prototype ForEachEasy????
2805Custom IntervalMedium????
2806Account Balance After Rounded PurchaseMathEasyBiweekly Contest 110
2807Insert Greatest Common Divisors in Linked ListLinked List,Math,Number TheoryMediumBiweekly Contest 110
2808Minimum Seconds to Equalize a Circular ArrayArray,Hash TableMediumBiweekly Contest 110
2809Minimum Time to Make Array Sum At Most xArray,Dynamic Programming,SortingHardBiweekly Contest 110
2810Faulty KeyboardString,SimulationEasyWeekly Contest 357
2811Check if it is Possible to Split ArrayGreedy,Array,Dynamic ProgrammingMediumWeekly Contest 357
2812Find the Safest Path in a GridBreadth-First Search,Union Find,Array,Binary Search,MatrixMediumWeekly Contest 357
2813Maximum Elegance of a K-Length SubsequenceGreedy,Array,Hash Table,Sorting,Heap (Priority Queue)HardWeekly Contest 357
2814Minimum Time Takes to Reach Destination Without DrowningBreadth-First Search,Array,MatrixHard????
2815Max Pair Sum in an ArrayArray,Hash TableEasyWeekly Contest 358
2816Double a Number Represented as a Linked ListStack,Linked List,MathMediumWeekly Contest 358
2817Minimum Absolute Difference Between Elements With ConstraintArray,Binary Search,Ordered SetMediumWeekly Contest 358
2818Apply Operations to Maximize ScoreStack,Greedy,Array,Math,Number Theory,Monotonic StackHardWeekly Contest 358
2819Minimum Relative Loss After Buying ChocolatesArray,Binary Search,Prefix Sum,SortingHard????
2820Election ResultsMedium????
2821Delay the Resolution of Each PromiseEasy????
2822Inversion of ObjectEasy????
2823Deep Object FilterMedium????
2824Count Pairs Whose Sum is Less than TargetArray,Two Pointers,Binary Search,SortingEasyBiweekly Contest 111
2825Make String a Subsequence Using Cyclic IncrementsTwo Pointers,StringMediumBiweekly Contest 111
2826Sorting Three GroupsArray,Binary Search,Dynamic ProgrammingMediumBiweekly Contest 111
2827Number of Beautiful Integers in the RangeMath,Dynamic ProgrammingHardBiweekly Contest 111
2828Check if a String Is an Acronym of WordsArray,StringEasyWeekly Contest 359
2829Determine the Minimum Sum of a k-avoiding ArrayGreedy,MathMediumWeekly Contest 359
2830Maximize the Profit as the SalesmanArray,Hash Table,Binary Search,Dynamic Programming,SortingMediumWeekly Contest 359
2831Find the Longest Equal SubarrayArray,Hash Table,Binary Search,Sliding WindowMediumWeekly Contest 359
2832Maximal Range That Each Element Is Maximum in ItStack,Array,Monotonic StackMedium????
2833Furthest Point From OriginString,CountingEasyWeekly Contest 360
2834Find the Minimum Possible Sum of a Beautiful ArrayGreedy,MathMediumWeekly Contest 360
2835Minimum Operations to Form Subsequence With Target SumGreedy,Bit Manipulation,ArrayHardWeekly Contest 360
2836Maximize Value of Function in a Ball Passing GameBit Manipulation,Array,Dynamic ProgrammingHardWeekly Contest 360
2837Total Traveled DistanceDatabaseEasy????
2838Maximum Coins Heroes Can CollectArray,Two Pointers,Binary Search,Prefix Sum,SortingMedium????
2839Check if Strings Can be Made Equal With Operations IStringEasyBiweekly Contest 112
2840Check if Strings Can be Made Equal With Operations IIHash Table,String,SortingMediumBiweekly Contest 112
2841Maximum Sum of Almost Unique SubarrayArray,Hash Table,Sliding WindowMediumBiweekly Contest 112
2842Count K-Subsequences of a String With Maximum BeautyGreedy,Hash Table,Math,String,CombinatoricsHardBiweekly Contest 112
2843Count Symmetric IntegersMath,EnumerationEasyWeekly Contest 361
2844Minimum Operations to Make a Special NumberGreedy,Math,String,EnumerationMediumWeekly Contest 361
2845Count of Interesting SubarraysArray,Hash Table,Prefix SumMediumWeekly Contest 361
2846Minimum Edge Weight Equilibrium Queries in a TreeTree,Graph,Array,Strongly Connected ComponentHardWeekly Contest 361
2847Smallest Number With Given Digit ProductGreedy,MathMedium????
2848Points That Intersect With CarsArray,Hash Table,Prefix SumEasyWeekly Contest 362
2849Determine if a Cell Is Reachable at a Given TimeMathMediumWeekly Contest 362
2850Minimum Moves to Spread Stones Over GridBreadth-First Search,Array,Dynamic Programming,MatrixMediumWeekly Contest 362
2851String TransformationMath,String,Dynamic Programming,String MatchingHardWeekly Contest 362
2852Sum of Remoteness of All CellsDepth-First Search,Breadth-First Search,Union Find,Array,MatrixMedium????
2853Highest Salaries DifferenceDatabaseEasy????
2854Rolling Average StepsDatabaseMedium????
2855Minimum Right Shifts to Sort the ArrayArrayEasyBiweekly Contest 113
2856Minimum Array Length After Pair RemovalsGreedy,Array,Hash Table,Two Pointers,Binary Search,CountingMediumBiweekly Contest 113
2857Count Pairs of Points With Distance kBit Manipulation,Array,Hash TableMediumBiweekly Contest 113
2858Minimum Edge Reversals So Every Node Is ReachableDepth-First Search,Breadth-First Search,Graph,Dynamic ProgrammingHardBiweekly Contest 113
2859Sum of Values at Indices With K Set BitsBit Manipulation,ArrayEasyWeekly Contest 363
2860Happy StudentsArray,Enumeration,SortingMediumWeekly Contest 363
2861Maximum Number of AlloysArray,Binary SearchMediumWeekly Contest 363
2862Maximum Element-Sum of a Complete Subset of IndicesArray,Math,Number TheoryHardWeekly Contest 363
2863Maximum Length of Semi-Decreasing SubarraysArray,Hash Table,SortingMedium????
2864Maximum Odd Binary NumberGreedy,Math,StringEasyWeekly Contest 364
2865Beautiful Towers IStack,Array,Monotonic StackMediumWeekly Contest 364
2866Beautiful Towers IIStack,Array,Monotonic StackMediumWeekly Contest 364
2867Count Valid Paths in a TreeTree,Depth-First Search,Math,Dynamic Programming,Number TheoryHardWeekly Contest 364
2868The Wording GameArray,Math,Two Pointers,String,Game TheoryHard????
2869Minimum Operations to Collect ElementsBit Manipulation,Array,Hash TableEasyBiweekly Contest 114
2870Minimum Number of Operations to Make Array EmptyGreedy,Array,Hash Table,CountingMediumBiweekly Contest 114
2871Split Array Into Maximum Number of SubarraysGreedy,Bit Manipulation,ArrayMediumBiweekly Contest 114
2872Maximum Number of K-Divisible ComponentsTree,Depth-First SearchHardBiweekly Contest 114
2873Maximum Value of an Ordered Triplet IArrayEasyWeekly Contest 365
2874Maximum Value of an Ordered Triplet IIArrayMediumWeekly Contest 365
2875Minimum Size Subarray in Infinite ArrayArray,Hash Table,Prefix Sum,Sliding WindowMediumWeekly Contest 365
2876Count Visited Nodes in a Directed GraphGraph,Memoization,Dynamic ProgrammingHardWeekly Contest 365
2877Create a DataFrame from ListEasy
2878Get the Size of a DataFrameEasy
2879Display the First Three RowsEasy
2880Select DataEasy
2881Create a New ColumnEasy
2882Drop Duplicate RowsEasy
2883Drop Missing DataEasy
2884Modify ColumnsEasy
2885Rename ColumnsEasy
2886Change Data TypeEasy
2887Fill Missing DataEasy
2888Reshape Data ConcatenateEasy
2889Reshape Data PivotEasy
2890Reshape Data MeltEasy
2891Method ChainingEasy
2892Minimizing Array After Replacing Pairs With Their ProductGreedy,Array,Dynamic ProgrammingMedium????
2893Calculate Orders Within Each IntervalDatabaseMedium????
2894Divisible and Non-divisible Sums DifferenceMathEasyWeekly Contest 366
2895Minimum Processing TimeGreedy,Array,SortingMediumWeekly Contest 366
2896Apply Operations to Make Two Strings EqualString,Dynamic ProgrammingMediumWeekly Contest 366
2897Apply Operations on Array to Maximize Sum of SquaresGreedy,Bit Manipulation,Array,Hash TableHardWeekly Contest 366
2898Maximum Linear Stock ScoreArray,Hash TableMedium????
2899Last Visited IntegersArray,SimulationEasyBiweekly Contest 115
2900Longest Unequal Adjacent Groups Subsequence IGreedy,Array,String,Dynamic ProgrammingEasyBiweekly Contest 115
2901Longest Unequal Adjacent Groups Subsequence IIArray,String,Dynamic ProgrammingMediumBiweekly Contest 115
2902Count of Sub-Multisets With Bounded SumArray,Hash Table,Dynamic Programming,Sliding WindowHardBiweekly Contest 115
2903Find Indices With Index and Value Difference IArray,Two PointersEasyWeekly Contest 367
2904Shortest and Lexicographically Smallest Beautiful StringString,Sliding WindowMediumWeekly Contest 367
2905Find Indices With Index and Value Difference IIArray,Two PointersMediumWeekly Contest 367
2906Construct Product MatrixArray,Matrix,Prefix SumMediumWeekly Contest 367
2907Maximum Profitable Triplets With Increasing Prices IBinary Indexed Tree,Segment Tree,ArrayMedium????
2908Minimum Sum of Mountain Triplets IArrayEasyWeekly Contest 368
2909Minimum Sum of Mountain Triplets IIArrayMediumWeekly Contest 368
2910Minimum Number of Groups to Create a Valid AssignmentGreedy,Array,Hash TableMediumWeekly Contest 368
2911Minimum Changes to Make K Semi-palindromesTwo Pointers,String,Dynamic ProgrammingHardWeekly Contest 368
2912Number of Ways to Reach Destination in the GridMath,Dynamic Programming,CombinatoricsHard????
2913Subarrays Distinct Element Sum of Squares IArray,Hash TableEasyBiweekly Contest 116
2914Minimum Number of Changes to Make Binary String BeautifulStringMediumBiweekly Contest 116
2915Length of the Longest Subsequence That Sums to TargetArray,Dynamic ProgrammingMediumBiweekly Contest 116
2916Subarrays Distinct Element Sum of Squares IIBinary Indexed Tree,Segment Tree,Array,Dynamic ProgrammingHardBiweekly Contest 116
2917Find the K-or of an ArrayBit Manipulation,ArrayEasyWeekly Contest 369
2918Minimum Equal Sum of Two Arrays After Replacing ZerosGreedy,ArrayMediumWeekly Contest 369
2919Minimum Increment Operations to Make Array BeautifulArray,Dynamic ProgrammingMediumWeekly Contest 369
2920Maximum Points After Collecting Coins From All NodesBit Manipulation,Tree,Depth-First Search,Array,Dynamic ProgrammingHardWeekly Contest 369
2921Maximum Profitable Triplets With Increasing Prices IIBinary Indexed Tree,Segment Tree,ArrayHard????
2922Market Analysis IIIDatabaseMedium????
2923Find Champion IArray,MatrixEasyWeekly Contest 370
2924Find Champion IIGraphMediumWeekly Contest 370
2925Maximum Score After Applying Operations on a TreeTree,Depth-First Search,Dynamic ProgrammingMediumWeekly Contest 370
2926Maximum Balanced Subsequence SumBinary Indexed Tree,Segment Tree,Array,Binary Search,Dynamic ProgrammingHardWeekly Contest 370
2927Distribute Candies Among Children IIIMath,CombinatoricsHard????
2928Distribute Candies Among Children IMath,Combinatorics,EnumerationEasyBiweekly Contest 117
2929Distribute Candies Among Children IIMath,Combinatorics,EnumerationMediumBiweekly Contest 117
2930Number of Strings Which Can Be Rearranged to Contain SubstringMath,Dynamic Programming,CombinatoricsMediumBiweekly Contest 117
2931Maximum Spending After Buying ItemsGreedy,Array,Matrix,Sorting,Heap (Priority Queue)HardBiweekly Contest 117
2932Maximum Strong Pair XOR IBit Manipulation,Trie,Array,Hash Table,Sliding WindowEasyWeekly Contest 371
2933High-Access EmployeesArray,Hash Table,String,SortingMediumWeekly Contest 371
2934Minimum Operations to Maximize Last Elements in ArraysArray,EnumerationMediumWeekly Contest 371
2935Maximum Strong Pair XOR IIBit Manipulation,Trie,Array,Hash Table,Sliding WindowHardWeekly Contest 371
2936Number of Equal Numbers BlocksArray,Binary Search,Divide and Conquer,InteractiveMedium????
2937Make Three Strings EqualStringEasyWeekly Contest 372
2938Separate Black and White BallsGreedy,Two Pointers,StringMediumWeekly Contest 372
2939Maximum Xor ProductGreedy,Bit Manipulation,MathMediumWeekly Contest 372
2940Find Building Where Alice and Bob Can MeetStack,Binary Indexed Tree,Segment Tree,Array,Binary Search,Monotonic Stack,Heap (Priority Queue)HardWeekly Contest 372
2941Maximum GCD-Sum of a SubarrayArray,Math,Binary Search,Number TheoryHard????
2942Find Words Containing CharacterArray,StringEasyBiweekly Contest 118
2943Maximize Area of Square Hole in GridArray,SortingMediumBiweekly Contest 118
2944Minimum Number of Coins for FruitsQueue,Array,Dynamic Programming,Monotonic Queue,Heap (Priority Queue)MediumBiweekly Contest 118
2945Find Maximum Non-decreasing Array LengthStack,Queue,Array,Binary Search,Dynamic Programming,Monotonic Queue,Monotonic StackHardBiweekly Contest 118
2946Matrix Similarity After Cyclic ShiftsArray,Math,Matrix,SimulationEasyWeekly Contest 373
2947Count Beautiful Substrings IString,Enumeration,Prefix SumMediumWeekly Contest 373
2948Make Lexicographically Smallest Array by Swapping ElementsUnion Find,Array,SortingMediumWeekly Contest 373
2949Count Beautiful Substrings IIHash Table,Math,String,Number Theory,Prefix SumHardWeekly Contest 373
2950Number of Divisible SubstringsHash Table,String,Counting,Prefix SumMedium????
2951Find the PeaksArray,EnumerationEasyWeekly Contest 374
2952Minimum Number of Coins to be AddedGreedy,Array,SortingMediumWeekly Contest 374
2953Count Complete SubstringsHash Table,String,Sliding WindowHardWeekly Contest 374
2954Count the Number of Infection SequencesArray,Math,CombinatoricsHardWeekly Contest 374
2955Number of Same-End SubstringsArray,Hash Table,String,Counting,Prefix SumMedium????
2956Find Common Elements Between Two ArraysArray,Hash TableEasyBiweekly Contest 119
2957Remove Adjacent Almost-Equal CharactersGreedy,String,Dynamic ProgrammingMediumBiweekly Contest 119
2958Length of Longest Subarray With at Most K FrequencyArray,Hash Table,Sliding WindowMediumBiweekly Contest 119
2959Number of Possible Sets of Closing BranchesBit Manipulation,Graph,Enumeration,Shortest Path,Heap (Priority Queue)HardBiweekly Contest 119
2960Count Tested Devices After Test OperationsArray,SimulationEasyWeekly Contest 375
2961Double Modular ExponentiationArray,Math,SimulationMediumWeekly Contest 375
2962Count Subarrays Where Max Element Appears at Least K TimesArray,Sliding WindowMediumWeekly Contest 375
2963Count the Number of Good PartitionsArray,Hash Table,Math,CombinatoricsHardWeekly Contest 375
2964Number of Divisible Triplet SumsArray,Hash TableMedium????
2965Find Missing and Repeated ValuesArray,Hash Table,Math,MatrixEasyWeekly Contest 376
2966Divide Array Into Arrays With Max DifferenceGreedy,Array,SortingMediumWeekly Contest 376
2967Minimum Cost to Make Array EqualindromicGreedy,Array,Math,SortingMediumWeekly Contest 376
2968Apply Operations to Maximize Frequency ScoreArray,Binary Search,Prefix Sum,Sorting,Sliding WindowHardWeekly Contest 376
2969Minimum Number of Coins for Fruits IIQueue,Array,Dynamic Programming,Monotonic Queue,Heap (Priority Queue)Hard????
2970Count the Number of Incremovable Subarrays IArray,Two Pointers,Binary Search,EnumerationEasyBiweekly Contest 120
2971Find Polygon With the Largest PerimeterGreedy,Array,Prefix Sum,SortingMediumBiweekly Contest 120
2972Count the Number of Incremovable Subarrays IIArray,Two Pointers,Binary SearchHardBiweekly Contest 120
2973Find Number of Coins to Place in Tree NodesTree,Depth-First Search,Dynamic Programming,Sorting,Heap (Priority Queue)HardBiweekly Contest 120
2974Minimum Number GameArray,Sorting,Simulation,Heap (Priority Queue)EasyWeekly Contest 377
2975Maximum Square Area by Removing Fences From a FieldArray,Hash Table,EnumerationMediumWeekly Contest 377
2976Minimum Cost to Convert String IGraph,Array,String,Shortest PathMediumWeekly Contest 377
2977Minimum Cost to Convert String IIGraph,Trie,Array,String,Dynamic Programming,Shortest PathHardWeekly Contest 377
2978Symmetric CoordinatesDatabaseMedium????
2979Most Expensive Item That Can Not Be BoughtMath,Dynamic Programming,Number TheoryMedium????
2980Check if Bitwise OR Has Trailing ZerosBit Manipulation,ArrayEasyWeekly Contest 378
2981Find Longest Special Substring That Occurs Thrice IHash Table,String,Binary Search,Counting,Sliding WindowMediumWeekly Contest 378
2982Find Longest Special Substring That Occurs Thrice IIHash Table,String,Binary Search,Counting,Sliding WindowMediumWeekly Contest 378
2983Palindrome Rearrangement QueriesHash Table,String,Prefix SumHardWeekly Contest 378
2984Find Peak Calling Hours for Each CityDatabaseMedium????
2985Calculate Compressed MeanDatabaseEasy????
2986Find Third TransactionDatabaseMedium????
2987Find Expensive CitiesDatabaseEasy????
2988Manager of the Largest DepartmentDatabaseMedium????
2989Class PerformanceDatabaseMedium????
2990Loan TypesDatabaseEasy????
2991Top Three WineriesDatabaseHard????
2992Number of Self-Divisible PermutationsBit Manipulation,Recursion,Array,Dynamic Programming,BitmaskMedium????
2993Friday Purchases IDatabaseMedium????
2994Friday Purchases IIDatabaseHard????
2995Viewers Turned StreamersDatabaseHard????
2996Smallest Missing Integer Greater Than Sequential Prefix SumArray,Hash Table,SortingEasyBiweekly Contest 121
2997Minimum Number of Operations to Make Array XOR Equal to KBit Manipulation,ArrayMediumBiweekly Contest 121
2998Minimum Number of Operations to Make X and Y EqualBreadth-First Search,Memoization,Dynamic ProgrammingMediumBiweekly Contest 121
2999Count the Number of Powerful IntegersMath,String,Dynamic ProgrammingHardBiweekly Contest 121
3000Maximum Area of Longest Diagonal RectangleArrayEasyWeekly Contest 379
3001Minimum Moves to Capture The QueenArray,EnumerationMediumWeekly Contest 379
3002Maximum Size of a Set After RemovalsGreedy,Array,Hash TableMediumWeekly Contest 379
3003Maximize the Number of Partitions After OperationsBit Manipulation,String,Dynamic Programming,BitmaskHardWeekly Contest 379
3004Maximum Subtree of the Same ColorTree,Depth-First Search,Array,Dynamic ProgrammingMedium????
3005Count Elements With Maximum FrequencyArray,Hash Table,CountingEasyWeekly Contest 380
3006Find Beautiful Indices in the Given Array ITwo Pointers,String,Binary Search,String Matching,Hash Function,Rolling HashMediumWeekly Contest 380
3007Maximum Number That Sum of the Prices Is Less Than or Equal to KBit Manipulation,Binary Search,Dynamic ProgrammingMediumWeekly Contest 380
3008Find Beautiful Indices in the Given Array IITwo Pointers,String,Binary Search,String Matching,Hash Function,Rolling HashHardWeekly Contest 380
3009Maximum Number of Intersections on the ChartBinary Indexed Tree,Geometry,Array,MathHard????
3010Divide an Array Into Subarrays With Minimum Cost IArray,Enumeration,SortingEasyBiweekly Contest 122
3011Find if Array Can Be SortedBit Manipulation,Array,SortingMediumBiweekly Contest 122
3012Minimize Length of Array Using OperationsGreedy,Array,Math,Number TheoryMediumBiweekly Contest 122
3013Divide an Array Into Subarrays With Minimum Cost IIArray,Hash Table,Sliding Window,Heap (Priority Queue)HardBiweekly Contest 122
3014Minimum Number of Pushes to Type Word IGreedy,Math,StringEasyWeekly Contest 381
3015Count the Number of Houses at a Certain Distance IBreadth-First Search,Graph,Prefix SumMediumWeekly Contest 381
3016Minimum Number of Pushes to Type Word IIGreedy,Hash Table,String,Counting,SortingMediumWeekly Contest 381
3017Count the Number of Houses at a Certain Distance IIBreadth-First Search,Graph,Prefix SumHardWeekly Contest 381
3018Maximum Number of Removal Queries That Can Be Processed IArray,Dynamic ProgrammingHard????
3019Number of Changing KeysStringEasyWeekly Contest 382
3020Find the Maximum Number of Elements in SubsetArray,Hash Table,EnumerationMediumWeekly Contest 382
3021Alice and Bob Playing Flower GameMathMediumWeekly Contest 382
3022Minimize OR of Remaining Elements Using OperationsGreedy,Bit Manipulation,ArrayHardWeekly Contest 382
3023Find Pattern in Infinite Stream IArray,String Matching,Sliding Window,Hash Function,Rolling HashMedium????
3024Type of TriangleArray,Math,SortingEasyBiweekly Contest 123
3025Find the Number of Ways to Place People IGeometry,Array,Math,Enumeration,SortingMediumBiweekly Contest 123
3026Maximum Good Subarray SumArray,Hash Table,Prefix SumMediumBiweekly Contest 123
3027Find the Number of Ways to Place People IIGeometry,Array,Math,Enumeration,SortingHardBiweekly Contest 123
3028Ant on the BoundaryArray,Prefix Sum,SimulationEasyWeekly Contest 383
3029Minimum Time to Revert Word to Initial State IString,String Matching,Hash Function,Rolling HashMediumWeekly Contest 383
3030Find the Grid of Region AverageArray,MatrixMediumWeekly Contest 383
3031Minimum Time to Revert Word to Initial State IIString,String Matching,Hash Function,Rolling HashHardWeekly Contest 383
3032Count Numbers With Unique Digits IIHash Table,Math,Dynamic ProgrammingEasy????
3033Modify the MatrixArray,MatrixEasyWeekly Contest 384
3034Number of Subarrays That Match a Pattern IArray,String Matching,Hash Function,Rolling HashMediumWeekly Contest 384
3035Maximum Palindromes After OperationsGreedy,Array,Hash Table,String,Counting,SortingMediumWeekly Contest 384
3036Number of Subarrays That Match a Pattern IIArray,String Matching,Hash Function,Rolling HashHardWeekly Contest 384
3037Find Pattern in Infinite Stream IIArray,String Matching,Sliding Window,Hash Function,Rolling HashHard????
3038Maximum Number of Operations With the Same Score IArray,SimulationEasyBiweekly Contest 124
3039Apply Operations to Make String EmptyArray,Hash Table,Counting,SortingMediumBiweekly Contest 124
3040Maximum Number of Operations With the Same Score IIMemoization,Array,Dynamic ProgrammingMediumBiweekly Contest 124
3041Maximize Consecutive Elements in an Array After ModificationArray,Dynamic Programming,SortingHardBiweekly Contest 124
3042Count Prefix and Suffix Pairs ITrie,Array,String,String Matching,Hash Function,Rolling HashEasyWeekly Contest 385
3043Find the Length of the Longest Common PrefixTrie,Array,Hash Table,StringMediumWeekly Contest 385
3044Most Frequent PrimeArray,Hash Table,Math,Counting,Enumeration,Matrix,Number TheoryMediumWeekly Contest 385
3045Count Prefix and Suffix Pairs IITrie,Array,String,String Matching,Hash Function,Rolling HashHardWeekly Contest 385
3046Split the ArrayArray,Hash Table,CountingEasyWeekly Contest 386
3047Find the Largest Area of Square Inside Two RectanglesGeometry,Array,MathMediumWeekly Contest 386
3048Earliest Second to Mark Indices IArray,Binary SearchMediumWeekly Contest 386
3049Earliest Second to Mark Indices IIGreedy,Array,Binary Search,Heap (Priority Queue)HardWeekly Contest 386
3050Pizza Toppings Cost AnalysisDatabaseMedium????
3051Find Candidates for Data Scientist PositionDatabaseEasy????
3052Maximize ItemsDatabaseHard????
3053Classifying Triangles by LengthsDatabaseEasy????
3054Binary Tree NodesDatabaseMedium????
3055Top Percentile FraudDatabaseMedium????
3056Snaps AnalysisDatabaseMedium????
3057Employees Project AllocationDatabaseHard????
3058Friends With No Mutual FriendsDatabaseMedium????
3059Find All Unique Email DomainsDatabaseEasy????
3060User Activities within Time BoundsDatabaseHard????
3061Calculate Trapping Rain WaterDatabaseHard????
3062Winner of the Linked List GameLinked ListEasy????
3063Linked List FrequencyHash Table,Linked List,CountingEasy????
3064Guess the Number Using Bitwise Questions IBit Manipulation,InteractiveMedium????
3065Minimum Operations to Exceed Threshold Value IArrayEasyBiweekly Contest 125
3066Minimum Operations to Exceed Threshold Value IIArray,Simulation,Heap (Priority Queue)MediumBiweekly Contest 125
3067Count Pairs of Connectable Servers in a Weighted Tree NetworkTree,Depth-First Search,ArrayMediumBiweekly Contest 125
3068Find the Maximum Sum of Node ValuesGreedy,Bit Manipulation,Tree,Array,Dynamic Programming,SortingHardBiweekly Contest 125
3069Distribute Elements Into Two Arrays IArray,SimulationEasyWeekly Contest 387
3070Count Submatrices with Top-Left Element and Sum Less Than kArray,Matrix,Prefix SumMediumWeekly Contest 387
3071Minimum Operations to Write the Letter Y on a GridArray,Hash Table,Counting,MatrixMediumWeekly Contest 387
3072Distribute Elements Into Two Arrays IIBinary Indexed Tree,Segment Tree,Array,SimulationHardWeekly Contest 387
3073Maximum Increasing Triplet ValueArray,Ordered SetMedium????
3074Apple Redistribution into BoxesGreedy,Array,SortingEasyWeekly Contest 388
3075Maximize Happiness of Selected ChildrenGreedy,Array,SortingMediumWeekly Contest 388
3076Shortest Uncommon Substring in an ArrayTrie,Array,Hash Table,StringMediumWeekly Contest 388
3077Maximum Strength of K Disjoint SubarraysArray,Dynamic Programming,Prefix SumHardWeekly Contest 388
3078Match Alphanumerical Pattern in Matrix IMedium????
3079Find the Sum of Encrypted IntegersEasyBiweekly Contest 126
3080Mark Elements on Array by Performing QueriesMediumBiweekly Contest 126
3081Replace Question Marks in String to Minimize Its ValueMediumBiweekly Contest 126
3082Find the Sum of the Power of All SubsequencesHardBiweekly Contest 126
3083Existence of a Substring in a String and Its ReverseEasyWeekly Contest 389
3084Count Substrings Starting and Ending with Given CharacterMediumWeekly Contest 389
3085Minimum Deletions to Make String K-SpecialMediumWeekly Contest 389
3086Minimum Moves to Pick K OnesHardWeekly Contest 389
3087Find Trending HashtagsMedium????

The copyright of this project belongs to Doocs community. For commercial reprints, please contact @yanglbme for authorization. For non-commercial reprints, please indicate the source.

Contact Us

We welcome everyone to add @yanglbme's personal WeChat (WeChat ID: YLB0109), with the note "leetcode". In the future, we will create algorithm and technology related discussion groups, where we can learn and share experiences together, and make progress together.

License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文