Categorygithub.com/awesee/leetcode
repositorypackage
1.6.6
Repository: https://github.com/awesee/leetcode.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

LeetCode

LeetCode Problems' Solutions [力扣话题分类]

Go codecov Go Report Card GitHub contributors license FOSSA Status Join the chat

[1-50][51-100][101-150][151-200][201-250][251-300]
[301-350][351-400][401-450][451-500][501-550][551-600]
[601-650][651-700][701-750][751-800][801-850][851-900]
[901-950][951-1000][1001-1050][1051-1100][1101-1150][1151-1200]
[1201-1250][1251-1300][1301-1350][1351-1400][1401-1450][1451-1500]
[1501-1550][1551-1600][1601-1650][1651-1700][1701-1750][1751-1800]
[1801-1850][1851-1900][1901-1950][1951-2000][2001-2050][2051-2100]
#TitleSolutionDifficulty
2076Process Restricted Friend RequestsGoHard
2075Decode the Slanted CiphertextGoMedium
2074Reverse Nodes in Even Length GroupsGoMedium
2073Time Needed to Buy TicketsGoEasy
2072The Winner University 🔒MySQLEasy
2071Maximum Number of Tasks You Can AssignGoHard
2070Most Beautiful Item for Each QueryGoMedium
2069Walking Robot Simulation IIGoMedium
2068Check Whether Two Strings are Almost EquivalentGoEasy
2067Number of Equal Count Substrings 🔒GoMedium
2066Account Balance 🔒MySQLMedium
2065Maximum Path Quality of a GraphGoHard
2064Minimized Maximum of Products Distributed to Any StoreGoMedium
2063Vowels of All SubstringsGoMedium
2062Count Vowel Substrings of a StringGoEasy
2061Number of Spaces Cleaning Robot Cleaned 🔒GoMedium
2060Check if an Original String Exists Given Two Encoded StringsGoHard
2059Minimum Operations to Convert NumberGoMedium
2058Find the Minimum and Maximum Number of Nodes Between Critical PointsGoMedium
2057Smallest Index With Equal ValueGoEasy
2056Number of Valid Move Combinations On ChessboardGoHard
2055Plates Between CandlesGoMedium
2054Two Best Non-Overlapping EventsGoMedium
2053Kth Distinct String in an ArrayGoEasy
2052Minimum Cost to Separate Sentence Into Rows 🔒GoMedium
2051The Category of Each Member in the Store 🔒MySQLMedium
2050Parallel Courses IIIGoHard
2049Count Nodes With the Highest ScoreGoMedium
2048Next Greater Numerically Balanced NumberGoMedium
2047Number of Valid Words in a SentenceGoEasy
2046Sort Linked List Already Sorted Using Absolute Values 🔒GoMedium
2045Second Minimum Time to Reach DestinationGoHard
2044Count Number of Maximum Bitwise-OR SubsetsGoMedium
2043Simple Bank SystemGoMedium
2042Check if Numbers Are Ascending in a SentenceGoEasy
2041Accepted Candidates From the Interviews 🔒MySQLMedium
2040Kth Smallest Product of Two Sorted ArraysGoHard
2039The Time When the Network Becomes IdleGoMedium
2038Remove Colored Pieces if Both Neighbors are the Same ColorGoMedium
2037Minimum Number of Moves to Seat EveryoneGoEasy
2036Maximum Alternating Subarray Sum 🔒GoMedium
2035Partition Array Into Two Arrays to Minimize Sum DifferenceGoHard
2034Stock Price FluctuationGoMedium
2033Minimum Operations to Make a Uni-Value GridGoMedium
2032Two Out of ThreeGoEasy
2031Count Subarrays With More Ones Than Zeros 🔒GoMedium
2030Smallest K-Length Subsequence With Occurrences of a LetterGoHard
2029Stone Game IXGoMedium
2028Find Missing ObservationsGoMedium
2027Minimum Moves to Convert StringGoEasy
2026Low-Quality Problems 🔒MySQLEasy
2025Maximum Number of Ways to Partition an ArrayGoHard
2024Maximize the Confusion of an ExamGoMedium
2023Number of Pairs of Strings With Concatenation Equal to TargetGoMedium
2022Convert 1D Array Into 2D ArrayGoEasy
2021Brightest Position on Street 🔒GoMedium
2020Number of Accounts That Did Not Stream 🔒MySQLMedium
2019The Score of Students Solving Math ExpressionGoHard
2018Check if Word Can Be Placed In CrosswordGoMedium
2017Grid GameGoMedium
2016Maximum Difference Between Increasing ElementsGoEasy
2015Average Height of Buildings in Each Segment 🔒GoMedium
2014Longest Subsequence Repeated k TimesGoHard
2013Detect SquaresGoMedium
2012Sum of Beauty in the ArrayGoMedium
2011Final Value of Variable After Performing OperationsGoEasy
2010The Number of Seniors and Juniors to Join the Company II 🔒MySQLHard
2009Minimum Number of Operations to Make Array ContinuousGoHard
2008Maximum Earnings From TaxiGoMedium
2007Find Original Array From Doubled ArrayGoMedium
2006Count Number of Pairs With Absolute Difference KGoEasy
2005Subtree Removal Game with Fibonacci Tree 🔒GoHard
2004The Number of Seniors and Juniors to Join the Company 🔒MySQLHard
2003Smallest Missing Genetic Value in Each SubtreeGoHard
2002Maximum Product of the Length of Two Palindromic SubsequencesGoMedium
2001Number of Pairs of Interchangeable RectanglesGoMedium
2000Reverse Prefix of WordGoEasy
1999Smallest Greater Multiple Made of Two Digits 🔒GoMedium
1998GCD Sort of an ArrayGoHard
1997First Day Where You Have Been in All the RoomsGoMedium
1996The Number of Weak Characters in the GameGoMedium
1995Count Special QuadrupletsGoEasy
1994The Number of Good SubsetsGoHard
1993Operations on TreeGoMedium
1992Find All Groups of FarmlandGoMedium
1991Find the Middle Index in ArrayGoEasy
1990Count the Number of Experiments 🔒MySQLMedium
1989Maximum Number of People That Can Be Caught in Tag 🔒GoMedium
1988Find Cutoff Score for Each School 🔒MySQLMedium
1987Number of Unique Good SubsequencesGoHard
1986Minimum Number of Work Sessions to Finish the TasksGoMedium
1985Find the Kth Largest Integer in the ArrayGoMedium
1984Minimum Difference Between Highest and Lowest of K ScoresGoEasy
1983Widest Pair of Indices With Equal Range Sum 🔒GoMedium
1982Find Array Given Subset SumsGoHard
1981Minimize the Difference Between Target and Chosen ElementsGoMedium
1980Find Unique Binary StringGoMedium
1979Find Greatest Common Divisor of ArrayGoEasy
1978Employees Whose Manager Left the Company 🔒MySQLEasy
1977Number of Ways to Separate NumbersGoHard
1976Number of Ways to Arrive at DestinationGoMedium
1975Maximum Matrix SumGoMedium
1974Minimum Time to Type Word Using Special TypewriterGoEasy
1973Count Nodes Equal to Sum of Descendants 🔒GoMedium
1972First and Last Call On the Same Day 🔒MySQLHard
1971Find if Path Exists in GraphGoEasy
1970Last Day Where You Can Still CrossGoHard
1969Minimum Non-Zero Product of the Array ElementsGoMedium
1968Array With Elements Not Equal to Average of NeighborsGoMedium
1967Number of Strings That Appear as Substrings in WordGoEasy
1966Binary Searchable Numbers in an Unsorted Array 🔒GoMedium
1965Employees With Missing Information 🔒MySQLEasy
1964Find the Longest Valid Obstacle Course at Each PositionGoHard
1963Minimum Number of Swaps to Make the String BalancedGoMedium
1962Remove Stones to Minimize the TotalGoMedium
1961Check If String Is a Prefix of ArrayGoEasy
1960Maximum Product of the Length of Two Palindromic SubstringsGoHard
1959Minimum Total Space Wasted With K Resizing OperationsGoMedium
1958Check if Move is LegalGoMedium
1957Delete Characters to Make Fancy StringGoEasy
1956Minimum Time For K Virus Variants to Spread 🔒GoHard
1955Count Number of Special SubsequencesGoHard
1954Minimum Garden Perimeter to Collect Enough ApplesGoMedium
1953Maximum Number of Weeks for Which You Can WorkGoMedium
1952Three DivisorsGoEasy
1951All the Pairs With the Maximum Number of Common Followers 🔒MySQLMedium
1950Maximum of Minimum Values in All Subarrays 🔒GoMedium
1949Strong Friendship 🔒MySQLMedium
1948Delete Duplicate Folders in SystemGoHard
1947Maximum Compatibility Score SumGoMedium
1946Largest Number After Mutating SubstringGoMedium
1945Sum of Digits of String After ConvertGoEasy
1944Number of Visible People in a QueueGoHard
1943Describe the PaintingGoMedium
1942The Number of the Smallest Unoccupied ChairGoMedium
1941Check if All Characters Have Equal Number of OccurrencesGoEasy
1940Longest Common Subsequence Between Sorted Arrays 🔒GoMedium
1939Users That Actively Request Confirmation Messages 🔒MySQLEasy
1938Maximum Genetic Difference QueryGoHard
1937Maximum Number of Points with CostGoMedium
1936Add Minimum Number of RungsGoMedium
1935Maximum Number of Words You Can TypeGoEasy
1934Confirmation Rate 🔒MySQLMedium
1933Check if String Is Decomposable Into Value-Equal Substrings 🔒GoEasy
1932Merge BSTs to Create Single BSTGoHard
1931Painting a Grid With Three Different ColorsGoHard
1930Unique Length-3 Palindromic SubsequencesGoMedium
1929Concatenation of ArrayGoEasy
1928Minimum Cost to Reach Destination in TimeGoHard
1927Sum GameGoMedium
1926Nearest Exit from Entrance in MazeGoMedium
1925Count Square Sum TriplesGoEasy
1924Erect the Fence II 🔒GoHard
1923Longest Common SubpathGoHard
1922Count Good NumbersGoMedium
1921Eliminate Maximum Number of MonstersGoMedium
1920Build Array from PermutationGoEasy
1919Leetcodify Similar Friends 🔒MySQLHard
1918Kth Smallest Subarray Sum 🔒GoMedium
1917Leetcodify Friends Recommendations 🔒MySQLHard
1916Count Ways to Build Rooms in an Ant ColonyGoHard
1915Number of Wonderful SubstringsGoMedium
1914Cyclically Rotating a GridGoMedium
1913Maximum Product Difference Between Two PairsGoEasy
1912Design Movie Rental SystemGoHard
1911Maximum Alternating Subsequence SumGoMedium
1910Remove All Occurrences of a SubstringGoMedium
1909Remove One Element to Make the Array Strictly IncreasingGoEasy
1908Game of Nim 🔒GoMedium
1907Count Salary Categories 🔒MySQLMedium
1906Minimum Absolute Difference QueriesGoMedium
1905Count Sub IslandsGoMedium
1904The Number of Full Rounds You Have PlayedGoMedium
1903Largest Odd Number in StringGoEasy
1902Depth of BST Given Insertion Order 🔒GoMedium
1901Find a Peak Element IIGoMedium
1900The Earliest and Latest Rounds Where Players CompeteGoHard
1899Merge Triplets to Form Target TripletGoMedium
1898Maximum Number of Removable CharactersGoMedium
1897Redistribute Characters to Make All Strings EqualGoEasy
1896Minimum Cost to Change the Final Value of ExpressionGoHard
1895Largest Magic SquareGoMedium
1894Find the Student that Will Replace the ChalkGoMedium
1893Check if All the Integers in a Range Are CoveredGoEasy
1892Page Recommendations II 🔒MySQLHard
1891Cutting Ribbons 🔒GoMedium
1890The Latest Login in 2020 🔒MySQLEasy
1889Minimum Space Wasted From PackagingGoHard
1888Minimum Number of Flips to Make the Binary String AlternatingGoMedium
1887Reduction Operations to Make the Array Elements EqualGoMedium
1886Determine Whether Matrix Can Be Obtained By RotationGoEasy
1885Count Pairs in Two Arrays 🔒GoMedium
1884Egg Drop With 2 Eggs and N FloorsGoMedium
1883Minimum Skips to Arrive at Meeting On TimeGoHard
1882Process Tasks Using ServersGoMedium
1881Maximum Value after InsertionGoMedium
1880Check if Word Equals Summation of Two WordsGoEasy
1879Minimum XOR Sum of Two ArraysGoHard
1878Get Biggest Three Rhombus Sums in a GridGoMedium
1877Minimize Maximum Pair Sum in ArrayGoMedium
1876Substrings of Size Three with Distinct CharactersGoEasy
1875Group Employees of the Same Salary 🔒MySQLMedium
1874Minimize Product Sum of Two Arrays 🔒GoMedium
1873Calculate Special Bonus 🔒MySQLEasy
1872Stone Game VIIIGoHard
1871Jump Game VIIGoMedium
1870Minimum Speed to Arrive on TimeGoMedium
1869Longer Contiguous Segments of Ones than ZerosGoEasy
1868Product of Two Run-Length Encoded Arrays 🔒GoMedium
1867Orders With Maximum Quantity Above Average 🔒MySQLMedium
1866Number of Ways to Rearrange Sticks With K Sticks VisibleGoHard
1865Finding Pairs With a Certain SumGoMedium
1864Minimum Number of Swaps to Make the Binary String AlternatingGoMedium
1863Sum of All Subset XOR TotalsGoEasy
1862Sum of Floored PairsGoHard
1861Rotating the BoxGoMedium
1860Incremental Memory LeakGoMedium
1859Sorting the SentenceGoEasy
1858Longest Word With All Prefixes 🔒GoMedium
1857Largest Color Value in a Directed GraphGoHard
1856Maximum Subarray Min-ProductGoMedium
1855Maximum Distance Between a Pair of ValuesGoMedium
1854Maximum Population YearGoEasy
1853Convert Date Format 🔒MySQLEasy
1852Distinct Numbers in Each Subarray 🔒GoMedium
1851Minimum Interval to Include Each QueryGoHard
1850Minimum Adjacent Swaps to Reach the Kth Smallest NumberGoMedium
1849Splitting a String Into Descending Consecutive ValuesGoMedium
1848Minimum Distance to the Target ElementGoEasy
1847Closest RoomGoHard
1846Maximum Element After Decreasing and RearrangingGoMedium
1845Seat Reservation ManagerGoMedium
1844Replace All Digits with CharactersGoEasy
1843Suspicious Bank Accounts 🔒MySQLMedium
1842Next Palindrome Using Same Digits 🔒GoHard
1841League Statistics 🔒MySQLMedium
1840Maximum Building HeightGoHard
1839Longest Substring Of All Vowels in OrderGoMedium
1838Frequency of the Most Frequent ElementGoMedium
1837Sum of Digits in Base KGoEasy
1836Remove Duplicates From an Unsorted Linked List 🔒GoMedium
1835Find XOR Sum of All Pairs Bitwise ANDGoHard
1834Single-Threaded CPUGoMedium
1833Maximum Ice Cream BarsGoMedium
1832Check if the Sentence Is PangramGoEasy
1831Maximum Transaction Each Day 🔒MySQLMedium
1830Minimum Number of Operations to Make String SortedGoHard
1829Maximum XOR for Each QueryGoMedium
1828Queries on Number of Points Inside a CircleGoMedium
1827Minimum Operations to Make the Array IncreasingGoEasy
1826Faulty Sensor 🔒GoEasy
1825Finding MK AverageGoHard
1824Minimum Sideway JumpsGoMedium
1823Find the Winner of the Circular GameGoMedium
1822Sign of the Product of an ArrayGoEasy
1821Find Customers With Positive Revenue this Year 🔒MySQLEasy
1820Maximum Number of Accepted Invitations 🔒GoMedium
1819Number of Different Subsequences GCDsGoHard
1818Minimum Absolute Sum DifferenceGoMedium
1817Finding the Users Active MinutesGoMedium
1816Truncate SentenceGoEasy
1815Maximum Number of Groups Getting Fresh DonutsGoHard
1814Count Nice Pairs in an ArrayGoMedium
1813Sentence Similarity IIIGoMedium
1812Determine Color of a Chessboard SquareGoEasy
1811Find Interview Candidates 🔒MySQLMedium
1810Minimum Path Cost in a Hidden Grid 🔒GoMedium
1809Ad-Free Sessions 🔒MySQLEasy
1808Maximize Number of Nice DivisorsGoHard
1807Evaluate the Bracket Pairs of a StringGoMedium
1806Minimum Number of Operations to Reinitialize a PermutationGoMedium
1805Number of Different Integers in a StringGoEasy
1804Implement Trie II (Prefix Tree) 🔒GoMedium
1803Count Pairs With XOR in a RangeGoHard
1802Maximum Value at a Given Index in a Bounded ArrayGoMedium
1801Number of Orders in the BacklogGoMedium
1800Maximum Ascending Subarray SumGoEasy
1799Maximize Score After N OperationsGoHard
1798Maximum Number of Consecutive Values You Can MakeGoMedium
1797Design Authentication ManagerGoMedium
1796Second Largest Digit in a StringGoEasy
1795Rearrange Products Table 🔒MySQLEasy
1794Count Pairs of Equal Substrings With Minimum Difference 🔒GoMedium
1793Maximum Score of a Good SubarrayGoHard
1792Maximum Average Pass RatioGoMedium
1791Find Center of Star GraphGoEasy
1790Check if One String Swap Can Make Strings EqualGoEasy
1789Primary Department for Each Employee 🔒MySQLEasy
1788Maximize the Beauty of the Garden 🔒GoHard
1787Make the XOR of All Segments Equal to ZeroGoHard
1786Number of Restricted Paths From First to Last NodeGoMedium
1785Minimum Elements to Add to Form a Given SumGoMedium
1784Check if Binary String Has at Most One Segment of OnesGoEasy
1783Grand Slam Titles 🔒MySQLMedium
1782Count Pairs Of NodesGoHard
1781Sum of Beauty of All SubstringsGoMedium
1780Check if Number is a Sum of Powers of ThreeGoMedium
1779Find Nearest Point That Has the Same X or Y CoordinateGoEasy
1778Shortest Path in a Hidden Grid 🔒GoMedium
1777Product's Price for Each Store 🔒MySQLEasy
1776Car Fleet IIGoHard
1775Equal Sum Arrays With Minimum Number of OperationsGoMedium
1774Closest Dessert CostGoMedium
1773Count Items Matching a RuleGoEasy
1772Sort Features by Popularity 🔒GoMedium
1771Maximize Palindrome Length From SubsequencesGoHard
1770Maximum Score from Performing Multiplication OperationsGoMedium
1769Minimum Number of Operations to Move All Balls to Each BoxGoMedium
1768Merge Strings AlternatelyGoEasy
1767Find the Subtasks That Did Not Execute 🔒MySQLHard
1766Tree of CoprimesGoHard
1765Map of Highest PeakGoMedium
1764Form Array by Concatenating Subarrays of Another ArrayGoMedium
1763Longest Nice SubstringGoEasy
1762Buildings With an Ocean View 🔒GoMedium
1761Minimum Degree of a Connected Trio in a GraphGoHard
1760Minimum Limit of Balls in a BagGoMedium
1759Count Number of Homogenous SubstringsGoMedium
1758Minimum Changes To Make Alternating Binary StringGoEasy
1757Recyclable and Low Fat Products 🔒MySQLEasy
1756Design Most Recently Used Queue 🔒GoMedium
1755Closest Subsequence SumGoHard
1754Largest Merge Of Two StringsGoMedium
1753Maximum Score From Removing StonesGoMedium
1752Check if Array Is Sorted and RotatedGoEasy
1751Maximum Number of Events That Can Be Attended IIGoHard
1750Minimum Length of String After Deleting Similar EndsGoMedium
1749Maximum Absolute Sum of Any SubarrayGoMedium
1748Sum of Unique ElementsGoEasy
1747Leetflex Banned Accounts 🔒MySQLMedium
1746Maximum Subarray Sum After One Operation 🔒GoMedium
1745Palindrome Partitioning IVGoHard
1744Can You Eat Your Favorite Candy on Your Favorite Day?GoMedium
1743Restore the Array From Adjacent PairsGoMedium
1742Maximum Number of Balls in a BoxGoEasy
1741Find Total Time Spent by Each Employee 🔒MySQLEasy
1740Find Distance in a Binary Tree 🔒GoMedium
1739Building BoxesGoHard
1738Find Kth Largest XOR Coordinate ValueGoMedium
1737Change Minimum Characters to Satisfy One of Three ConditionsGoMedium
1736Latest Time by Replacing Hidden DigitsGoEasy
1735Count Ways to Make Array With ProductGoHard
1734Decode XORed PermutationGoMedium
1733Minimum Number of People to TeachGoMedium
1732Find the Highest AltitudeGoEasy
1731The Number of Employees Which Report to Each Employee 🔒MySQLEasy
1730Shortest Path to Get Food 🔒GoMedium
1729Find Followers Count 🔒MySQLEasy
1728Cat and Mouse IIGoHard
1727Largest Submatrix With RearrangementsGoMedium
1726Tuple with Same ProductGoMedium
1725Number Of Rectangles That Can Form The Largest SquareGoEasy
1724Checking Existence of Edge Length Limited Paths II 🔒GoHard
1723Find Minimum Time to Finish All JobsGoHard
1722Minimize Hamming Distance After Swap OperationsGoMedium
1721Swapping Nodes in a Linked ListGoMedium
1720Decode XORed ArrayGoEasy
1719Number Of Ways To Reconstruct A TreeGoHard
1718Construct the Lexicographically Largest Valid SequenceGoMedium
1717Maximum Score From Removing SubstringsGoMedium
1716Calculate Money in Leetcode BankGoEasy
1715Count Apples and Oranges 🔒MySQLMedium
1714Sum Of Special Evenly-Spaced Elements In Array 🔒GoHard
1713Minimum Operations to Make a SubsequenceGoHard
1712Ways to Split Array Into Three SubarraysGoMedium
1711Count Good MealsGoMedium
1710Maximum Units on a TruckGoEasy
1709Biggest Window Between Visits 🔒MySQLMedium
1708Largest Subarray Length K 🔒GoEasy
1707Maximum XOR With an Element From ArrayGoHard
1706Where Will the Ball FallGoMedium
1705Maximum Number of Eaten ApplesGoMedium
1704Determine if String Halves Are AlikeGoEasy
1703Minimum Adjacent Swaps for K Consecutive OnesGoHard
1702Maximum Binary String After ChangeGoMedium
1701Average Waiting TimeGoMedium
1700Number of Students Unable to Eat LunchGoEasy
1699Number of Calls Between Two Persons 🔒MySQLMedium
1698Number of Distinct Substrings in a String 🔒GoMedium
1697Checking Existence of Edge Length Limited PathsGoHard
1696Jump Game VIGoMedium
1695Maximum Erasure ValueGoMedium
1694Reformat Phone NumberGoEasy
1693Daily Leads and Partners 🔒MySQLEasy
1692Count Ways to Distribute Candies 🔒GoHard
1691Maximum Height by Stacking CuboidsGoHard
1690Stone Game VIIGoMedium
1689Partitioning Into Minimum Number Of Deci-Binary NumbersGoMedium
1688Count of Matches in TournamentGoEasy
1687Delivering Boxes from Storage to PortsGoHard
1686Stone Game VIGoMedium
1685Sum of Absolute Differences in a Sorted ArrayGoMedium
1684Count the Number of Consistent StringsGoEasy
1683Invalid Tweets 🔒MySQLEasy
1682Longest Palindromic Subsequence II 🔒GoMedium
1681Minimum IncompatibilityGoHard
1680Concatenation of Consecutive Binary NumbersGoMedium
1679Max Number of K-Sum PairsGoMedium
1678Goal Parser InterpretationGoEasy
1677Product's Worth Over Invoices 🔒MySQLEasy
1676Lowest Common Ancestor of a Binary Tree IV 🔒GoMedium
1675Minimize Deviation in ArrayGoHard
1674Minimum Moves to Make Array ComplementaryGoMedium
1673Find the Most Competitive SubsequenceGoMedium
1672Richest Customer WealthGoEasy
1671Minimum Number of Removals to Make Mountain ArrayGoHard
1670Design Front Middle Back QueueGoMedium
1669Merge In Between Linked ListsGoMedium
1668Maximum Repeating SubstringGoEasy
1667Fix Names in a Table 🔒MySQLEasy
1666Change the Root of a Binary Tree 🔒GoMedium
1665Minimum Initial Energy to Finish TasksGoHard
1664Ways to Make a Fair ArrayGoMedium
1663Smallest String With A Given Numeric ValueGoMedium
1662Check If Two String Arrays are EquivalentGoEasy
1661Average Time of Process per Machine 🔒MySQLEasy
1660Correct a Binary Tree 🔒GoMedium
1659Maximize Grid HappinessGoHard
1658Minimum Operations to Reduce X to ZeroGoMedium
1657Determine if Two Strings Are CloseGoMedium
1656Design an Ordered StreamGoEasy
1655Distribute Repeating IntegersGoHard
1654Minimum Jumps to Reach HomeGoMedium
1653Minimum Deletions to Make String BalancedGoMedium
1652Defuse the BombGoEasy
1651Hopper Company Queries III 🔒MySQLHard
1650Lowest Common Ancestor of a Binary Tree III 🔒GoMedium
1649Create Sorted Array through InstructionsGoHard
1648Sell Diminishing-Valued Colored BallsGoMedium
1647Minimum Deletions to Make Character Frequencies UniqueGoMedium
1646Get Maximum in Generated ArrayGoEasy
1645Hopper Company Queries II 🔒MySQLHard
1644Lowest Common Ancestor of a Binary Tree II 🔒GoMedium
1643Kth Smallest InstructionsGoHard
1642Furthest Building You Can ReachGoMedium
1641Count Sorted Vowel StringsGoMedium
1640Check Array Formation Through ConcatenationGoEasy
1639Number of Ways to Form a Target String Given a DictionaryGoHard
1638Count Substrings That Differ by One CharacterGoMedium
1637Widest Vertical Area Between Two Points Containing No PointsGoMedium
1636Sort Array by Increasing FrequencyGoEasy
1635Hopper Company Queries I 🔒MySQLHard
1634Add Two Polynomials Represented as Linked Lists 🔒GoMedium
1633Percentage of Users Attended a Contest 🔒MySQLEasy
1632Rank Transform of a MatrixGoHard
1631Path With Minimum EffortGoMedium
1630Arithmetic SubarraysGoMedium
1629Slowest KeyGoEasy
1628Design an Expression Tree With Evaluate Function 🔒GoMedium
1627Graph Connectivity With ThresholdGoHard
1626Best Team With No ConflictsGoMedium
1625Lexicographically Smallest String After Applying OperationsGoMedium
1624Largest Substring Between Two Equal CharactersGoEasy
1623All Valid Triplets That Can Represent a Country 🔒MySQLEasy
1622Fancy SequenceGoHard
1621Number of Sets of K Non-Overlapping Line SegmentsGoMedium
1620Coordinate With Maximum Network QualityGoMedium
1619Mean of Array After Removing Some ElementsGoEasy
1618Maximum Font to Fit a Sentence in a Screen 🔒GoMedium
1617Count Subtrees With Max Distance Between CitiesGoHard
1616Split Two Strings to Make PalindromeGoMedium
1615Maximal Network RankGoMedium
1614Maximum Nesting Depth of the ParenthesesGoEasy
1613Find the Missing IDs 🔒MySQLMedium
1612Check If Two Expression Trees are Equivalent 🔒GoMedium
1611Minimum One Bit Operations to Make Integers ZeroGoHard
1610Maximum Number of Visible PointsGoHard
1609Even Odd TreeGoMedium
1608Special Array With X Elements Greater Than or Equal XGoEasy
1607Sellers With No Sales 🔒MySQLEasy
1606Find Servers That Handled Most Number of RequestsGoHard
1605Find Valid Matrix Given Row and Column SumsGoMedium
1604Alert Using Same Key-Card Three or More Times in a One Hour PeriodGoMedium
1603Design Parking SystemGoEasy
1602Find Nearest Right Node in Binary Tree 🔒GoMedium
1601Maximum Number of Achievable Transfer RequestsGoHard
1600Throne InheritanceGoMedium
1599Maximum Profit of Operating a Centennial WheelGoMedium
1598Crawler Log FolderGoEasy
1597Build Binary Expression Tree From Infix Expression 🔒GoHard
1596The Most Frequently Ordered Products for Each Customer 🔒MySQLMedium
1595Minimum Cost to Connect Two Groups of PointsGoHard
1594Maximum Non Negative Product in a MatrixGoMedium
1593Split a String Into the Max Number of Unique SubstringsGoMedium
1592Rearrange Spaces Between WordsGoEasy
1591Strange Printer IIGoHard
1590Make Sum Divisible by PGoMedium
1589Maximum Sum Obtained of Any PermutationGoMedium
1588Sum of All Odd Length SubarraysGoEasy
1587Bank Account Summary II 🔒MySQLEasy
1586Binary Search Tree Iterator II 🔒GoMedium
1585Check If String Is Transformable With Substring Sort OperationsGoHard
1584Min Cost to Connect All PointsGoMedium
1583Count Unhappy FriendsGoMedium
1582Special Positions in a Binary MatrixGoEasy
1581Customer Who Visited but Did Not Make Any Transactions 🔒MySQLEasy
1580Put Boxes Into the Warehouse II 🔒GoMedium
1579Remove Max Number of Edges to Keep Graph Fully TraversableGoHard
1578Minimum Deletion Cost to Avoid Repeating LettersGoMedium
1577Number of Ways Where Square of Number Is Equal to Product of Two NumbersGoMedium
1576Replace All ?'s to Avoid Consecutive Repeating CharactersGoEasy
1575Count All Possible RoutesGoHard
1574Shortest Subarray to be Removed to Make Array SortedGoMedium
1573Number of Ways to Split a StringGoMedium
1572Matrix Diagonal SumGoEasy
1571Warehouse Manager 🔒MySQLEasy
1570Dot Product of Two Sparse Vectors 🔒GoMedium
1569Number of Ways to Reorder Array to Get Same BSTGoHard
1568Minimum Number of Days to Disconnect IslandGoHard
1567Maximum Length of Subarray With Positive ProductGoMedium
1566Detect Pattern of Length M Repeated K or More TimesGoEasy
1565Unique Orders and Customers Per Month 🔒MySQLEasy
1564Put Boxes Into the Warehouse I 🔒GoMedium
1563Stone Game VGoHard
1562Find Latest Group of Size MGoMedium
1561Maximum Number of Coins You Can GetGoMedium
1560Most Visited Sector in a Circular TrackGoEasy
1559Detect Cycles in 2D GridGoMedium
1558Minimum Numbers of Function Calls to Make Target ArrayGoMedium
1557Minimum Number of Vertices to Reach All NodesGoMedium
1556Thousand SeparatorGoEasy
1555Bank Account Summary 🔒MySQLMedium
1554Strings Differ by One Character 🔒GoMedium
1553Minimum Number of Days to Eat N OrangesGoHard
1552Magnetic Force Between Two BallsGoMedium
1551Minimum Operations to Make Array EqualGoMedium
1550Three Consecutive OddsGoEasy
1549The Most Recent Orders for Each Product 🔒MySQLMedium
1548The Most Similar Path in a Graph 🔒GoHard
1547Minimum Cost to Cut a StickGoHard
1546Maximum Number of Non-Overlapping Subarrays With Sum Equals TargetGoMedium
1545Find Kth Bit in Nth Binary StringGoMedium
1544Make The String GreatGoEasy
1543Fix Product Name Format 🔒MySQLEasy
1542Find Longest Awesome SubstringGoHard
1541Minimum Insertions to Balance a Parentheses StringGoMedium
1540Can Convert String in K MovesGoMedium
1539Kth Missing Positive NumberGoEasy
1538Guess the Majority in a Hidden Array 🔒GoMedium
1537Get the Maximum ScoreGoHard
1536Minimum Swaps to Arrange a Binary GridGoMedium
1535Find the Winner of an Array GameGoMedium
1534Count Good TripletsGoEasy
1533Find the Index of the Large Integer 🔒GoMedium
1532The Most Recent Three Orders 🔒MySQLMedium
1531String Compression IIGoHard
1530Number of Good Leaf Nodes PairsGoMedium
1529Bulb Switcher IVGoMedium
1528Shuffle StringGoEasy
1527Patients With a Condition 🔒MySQLEasy
1526Minimum Number of Increments on Subarrays to Form a Target ArrayGoHard
1525Number of Good Ways to Split a StringGoMedium
1524Number of Sub-arrays With Odd SumGoMedium
1523Count Odd Numbers in an Interval RangeGoEasy
1522Diameter of N-Ary Tree 🔒GoMedium
1521Find a Value of a Mysterious Function Closest to TargetGoHard
1520Maximum Number of Non-Overlapping SubstringsGoHard
1519Number of Nodes in the Sub-Tree With the Same LabelGoMedium
1518Water BottlesGoEasy
1517Find Users With Valid E-Mails 🔒MySQLEasy
1516Move Sub-Tree of N-Ary Tree 🔒GoHard
1515Best Position for a Service CentreGoHard
1514Path with Maximum ProbabilityGoMedium
1513Number of Substrings With Only 1sGoMedium
1512Number of Good PairsGoEasy
1511Customer Order Frequency 🔒MySQLEasy
1510Stone Game IVGoHard
1509Minimum Difference Between Largest and Smallest Value in Three MovesGoMedium
1508Range Sum of Sorted Subarray SumsGoMedium
1507Reformat DateGoEasy
1506Find Root of N-Ary Tree 🔒GoMedium
1505Minimum Possible Integer After at Most K Adjacent Swaps On DigitsGoHard
1504Count Submatrices With All OnesGoMedium
1503Last Moment Before All Ants Fall Out of a PlankGoMedium
1502Can Make Arithmetic Progression From SequenceGoEasy
1501Countries You Can Safely Invest In 🔒MySQLMedium