Directories ¶ Show internal Expand all Path Synopsis 01.two_sum 02.add_two_numbers 03.longest_substring_without_repeating_characters 04.median_of_two_sorted_arrays 05.longest_palindromic_substring 07.ReverseInteger 09.palindrome_number 100.SameTree 1043.PartitionArrayForMaximumSum 1155.NumberOfDiceRollsWithTargetSum 1160.FindWordsThatCanBeFormedByCharacters 118.PascalTriangle 119.PascalTriangleII 12.integer_to_roman 125.ValidPalindrome 1266.MinimumTimeVisitingAllPoints 1287.ElementAppearingMoreThan25percentInSortedArray 129.SumRoottoLeafNumbers 1291.SequentialDigits 13.roman_to_interger 1335.MinimumDifficultyOfAJobSchedule 1347.MinimumNumberOfStepsToMakeTwoStringsAnagram 137.SingleNumberII 1371.FindtheLongestSubstringContainingVowelsinEvenCounts 14.longest_common_prefix 141.LinkedListCycle 1422.MaximumScoreAfterSplittingAString 1436.DestinationCity 145.BinaryTreePostorderTraversal 1464.MaximumProductofTwoElementsinanArray 1480.RunningSumof1dArray 1481.LeastNumberofUniqueIntegersafterKRemovals 15.three_sum 150.EvaluateReversePolishNotation 1512.NumberOfGoodPairs 1514.PathwithMaximumProbability 1531.StringCompressionII 1544.MakeTheStringGreat 1550.ThreeConsecutiveOdds 1578.MinimumTimeToMakeRopeColorful 1582.SpecialPositionsInaBinaryMatrix 16.three_sum_closest 1614.MaximumNestingDepthoftheParentheses 1624.LargestSubstringBetweenTwoEqualCharacters 1637.WidestVerticalAreaBetweenTwoPointsContainingNoPoints 1662.CheckIfTwoStringArraysAreEquivalent 1688.CountOfMatchesInTournament 169.MajorityElement 1700.NumberofStudentsUnabletoEatLunch 1716.CalculateMoneyInLeetcodeBank 1750.MinimumLengthofStringAfterDeletingSimilarEnds 1758.MinimumChangesToMakeAlternatingBinaryString 179.LargestNumber 18.four_sum 1838.FrequencyoftheMostFrequentElement 1863.SumofAllSubsetXORTotals 1876.SubstringsOfSizeThreeWithDistinctCharacters 1897.RedistributeCharactersToMakeAllStringsEqual 190.ReverseBits 1903.LargestOddNumberInString 1913.MaximumProductDifferenceBetweenTwoPairs 20.valid_parentheses 201.BitwiseANDofNumbersRange 202.HappyNumber 205.IsomorphicStrings 2073.TimeNeededtoBuyTickets 21.MergeTwoSortedLists 2125.NumberOfLaserBeamsInABank 217.ContainsDuplicate 219.ContainsDuplicateII 22.generate_parentheses 220.ContainsDuplicateIII 2225.FindPlayersWithZeroOrOneLosses 2269.FindtheK-BeautyofaNumber 231.PowerofTwo 2379.MinimumRecolors2GetKConsecutiveBlackBlocks 2419.LongestSubarrayWithMaximumBitwiseAND 242.ValidAnagram 2482.DifferenceBetweenOnesAndZerosInRowAndColumn 26.remove_duplicates_from_sorted_array 2610.ConvertAnArrayIntoA2DArrayWithConditions 2653.SlidingSubarrayBeauty 268.MissingNumber 27.remove_element 2706.BuyTwoChocolates 2760.LongestEvenOddSubarrayWithThreshold 279.PerfectSquares 28.find_the_index_of_the_first_occurrence_in_a_string 2870.MinimumNumberOfOperationsToMakeArrayEmpty 29.divide_two_integers 2932.MaximumStrongPairXORI 2971.FindPolygonWiththeLargestPerimeter 300.LongestIncreasingSubsequence 3005.CountElementsWithMaximumFrequency 3110.ScoreofaString 33.search_in_rotated_sorted_array 34.find_first_and_last_position_of_element_in_sorted_array 344.ReverseString 349.IntersectionofTwoArrays 368.LargestDivisibleSubset 387.FirstUniqueCharacterInAString 402.RemoveKDigits 404.SumofLeftLeaves 41.FirstMissingPositive 42.TrappingRainWater 442.FindAllDuplicatesinanArray 451.SortCharactersByFrequency 455.AssignCookies 468.validate_ip_address 49.GroupAnagrams 50.pow-x_n 506.RelativeRanks 509.FibonacciNumber 539.MinimumTimeDifference 543.DiameterofBinaryTree 563.BinaryTreeTilt 58.LengthofLastWord 590.N-aryTreePostorderTraversal 623.AddOneRowtoTree 645.SetMismatch 647.PalindromicSubstrings 66.PlusOne 661.ImageSmoother 67.AddBinary 680.ValidPalindromeII 69.Sqrt_x 70.ClimbingStairs 71.SimplifyPath 75.SortColors 78.Subsets 791.CustomSortString 81.SearchinRotatedSortedArrayII 85.MaximalRectangle 867.TransposeMatrix 876.MiddleoftheLinkedList 88.MergeSortedArray 884.UncommonWordsfromTwoSentences 89.GrayCode 907.SumofSubarrayMinimums 91.DecodeWays 93.RestoreIPAddresses 938.RangeSumOfBST 94.BinaryTreeInorderTraversal 941.ValidMountainArray 977.SquaresofaSortedArray 997.FindtheTownJudge BinarySearch 1351.CountNegativeNumbersinaSortedMatrix command 278.FirstBadVersion command 35.search_insert_position command 436.FindRightInterval command 704.BinarySearch command 744.FindSmallestLetterGreaterThanTarget command Top100Liked Backtracking/39.CombinationSum command DynamicProgramming/139.WordBreak command daily 120 command 1267 command 1368 command 1400 command 1408 command 166 command 1726 command 1752 command 1790 command 2116 command 2161 command 2185 command 2425 command 2657 command 2683 command 2894 command 3042 command 3105 command 3151 command 3160 command 3223 command 3372 command 916 command design 1268.SearchSuggestionsSystem command 1603.DesignParkingSystem command 208.ImplementTriePrefixTree command 232.ImplementQueueUsingStacks command 535.EncodeAndDecodeTinyURL command 901.OnlineStockSpan command 933.NumberOfRecentCalls command leetcode75 ArrayString/1071.GreatestCommonDivisorOfStrings command ArrayString/1431.KidsWithTheGreatestNumberOfCandies command ArrayString/151.ReverseWordsInaString command ArrayString/1768.MergeStringsAlternately command ArrayString/238.ProductOfArrayExceptSelf command ArrayString/334.IncreasingTripletSubsequence command ArrayString/345.ReverseVowelsOfaString command ArrayString/443.StringCompression command ArrayString/605.CanPlaceFlowers command Backtracking/17.LetterCombinationsOfAPhoneNumber command Backtracking/216.CombinationSumIII command BinarySearch/162.FindPeakElement command BinarySearch/2300.SuccessfulPairsOfSpellsAndPotions command BinarySearch/374.GuessNumberHigherOrLower command BinarySearch/875.KokoEatingBananas command BinarySearchTree/450.DeleteNodeInaBST command BinarySearchTree/700.SearchInaBinarySearchTree command BinaryTree-BFS/1161.MaximumLevelSumOfABinaryTree command BinaryTree-BFS/199.BinaryTreeRightSideView command BinaryTree-DFS/104.MaximumDepthOfBinaryTree command BinaryTree-DFS/1372.LongestZigZagPathInABinaryTree command BinaryTree-DFS/1448.CountGoodNodesInBinaryTree command BinaryTree-DFS/236.LowestCommonAncestorOfABinaryTree command BinaryTree-DFS/437.PathSumIII command BinaryTree-DFS/872.Leaf-SimilarTrees command BitManipulation/1318.MinimumFlipstoMakeaORbEqualtoc command BitManipulation/136.SingleNumber command BitManipulation/338.CountingBits command Graphs-BFS/1926.NearestExitFromEntranceInMaze command Graphs-BFS/994.RottingOranges command Graphs-DFS/1466.ReorderRoutesToMakeAllPathsLeadToTheCityZero command Graphs-DFS/399.EvaluateDivision command Graphs-DFS/547.NumberOfProvinces command Graphs-DFS/841.KeysAndRooms command HashMapSet/1207.UniqueNumberOfOccurrences command HashMapSet/1657.DetermineIfTwoStringsAreClose command HashMapSet/2215.FindTheDifferenceOfTwoArrays command HashMapSet/2352.EqualRowAndColumnPairs command HeapAndPriorityQueue/215.KthLargestElementinanArray command HeapAndPriorityQueue/2336.SmallestNumberinInfiniteSet command Intervals/435.Non-overlappingIntervals command Intervals/452.MinimumNumberOfArrowstoBurstBalloons command LinkedList/206.ReverseLinkedList command LinkedList/2095.DeleteTheMiddleNodeOfALinkedList command LinkedList/2130.MaximumTwinSumOfALinkedList command LinkedList/328.OddEvenLinkedList command MonotonicStack/739.DailyTemperatures command MonotonicStack/901.OnlineStockSpan command PrefixSum/1732.FindTheHighestAltitude command PrefixSum/724.FindPivotIndex command Queue/649.Dota2Senate command Queue/933.NumberOfRecentCalls command SlidingWindow/1004.MaxConsecutiveOnesIII command SlidingWindow/1456.MaximumNumberOfVowelsInASubstringOfGivenLength command SlidingWindow/1493.LongestSubarrayOf1_sAfterDeletingOneElement command SlidingWindow/643.MaximumAverageSubarrayI command Stack/2390.RemovingStarsFromAString command Stack/394.DecodeString command Stack/735.AsteroidCollision command Trie/1268.SearchSuggestionsSystem command Trie/208.ImplementTriePrefixTree command TwoPointers/11.ContainerWithMostWater command TwoPointers/1679.MaxNumberOfK-SumPairs command TwoPointers/283.MoveZeroes command TwoPointers/392.IsSubsequence command topic B-Tree/515 command sorting/1984 command sorting/2037 command Click to show internal directories. Click to hide internal directories.