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 278.FirstBadVersion 35.search_insert_position 436.FindRightInterval 704.BinarySearch 744.FindSmallestLetterGreaterThanTarget Top100Liked Backtracking/39.CombinationSum DynamicProgramming/139.WordBreak daily 1267 1368 1400 1408 1726 1752 1790 2116 2185 2425 2657 2683 3042 3105 3151 3160 3223 916 design 1268.SearchSuggestionsSystem 1603.DesignParkingSystem 208.ImplementTriePrefixTree 232.ImplementQueueUsingStacks 535.EncodeAndDecodeTinyURL 901.OnlineStockSpan 933.NumberOfRecentCalls leetcode75 ArrayString/1071.GreatestCommonDivisorOfStrings ArrayString/1431.KidsWithTheGreatestNumberOfCandies ArrayString/151.ReverseWordsInaString ArrayString/1768.MergeStringsAlternately ArrayString/238.ProductOfArrayExceptSelf ArrayString/334.IncreasingTripletSubsequence ArrayString/345.ReverseVowelsOfaString ArrayString/443.StringCompression ArrayString/605.CanPlaceFlowers Backtracking/17.LetterCombinationsOfAPhoneNumber Backtracking/216.CombinationSumIII BinarySearch/162.FindPeakElement BinarySearch/2300.SuccessfulPairsOfSpellsAndPotions BinarySearch/374.GuessNumberHigherOrLower BinarySearch/875.KokoEatingBananas BinarySearchTree/450.DeleteNodeInaBST BinarySearchTree/700.SearchInaBinarySearchTree BinaryTree-BFS/1161.MaximumLevelSumOfABinaryTree BinaryTree-BFS/199.BinaryTreeRightSideView BinaryTree-DFS/104.MaximumDepthOfBinaryTree BinaryTree-DFS/1372.LongestZigZagPathInABinaryTree BinaryTree-DFS/1448.CountGoodNodesInBinaryTree BinaryTree-DFS/236.LowestCommonAncestorOfABinaryTree BinaryTree-DFS/437.PathSumIII BinaryTree-DFS/872.Leaf-SimilarTrees BitManipulation/1318.MinimumFlipstoMakeaORbEqualtoc BitManipulation/136.SingleNumber BitManipulation/338.CountingBits Graphs-BFS/1926.NearestExitFromEntranceInMaze Graphs-BFS/994.RottingOranges Graphs-DFS/1466.ReorderRoutesToMakeAllPathsLeadToTheCityZero Graphs-DFS/399.EvaluateDivision Graphs-DFS/547.NumberOfProvinces Graphs-DFS/841.KeysAndRooms HashMapSet/1207.UniqueNumberOfOccurrences HashMapSet/1657.DetermineIfTwoStringsAreClose HashMapSet/2215.FindTheDifferenceOfTwoArrays HashMapSet/2352.EqualRowAndColumnPairs HeapAndPriorityQueue/215.KthLargestElementinanArray HeapAndPriorityQueue/2336.SmallestNumberinInfiniteSet Intervals/435.Non-overlappingIntervals Intervals/452.MinimumNumberOfArrowstoBurstBalloons LinkedList/206.ReverseLinkedList LinkedList/2095.DeleteTheMiddleNodeOfALinkedList LinkedList/2130.MaximumTwinSumOfALinkedList LinkedList/328.OddEvenLinkedList MonotonicStack/739.DailyTemperatures MonotonicStack/901.OnlineStockSpan PrefixSum/1732.FindTheHighestAltitude PrefixSum/724.FindPivotIndex Queue/649.Dota2Senate Queue/933.NumberOfRecentCalls SlidingWindow/1004.MaxConsecutiveOnesIII SlidingWindow/1456.MaximumNumberOfVowelsInASubstringOfGivenLength SlidingWindow/1493.LongestSubarrayOf1_sAfterDeletingOneElement SlidingWindow/643.MaximumAverageSubarrayI Stack/2390.RemovingStarsFromAString Stack/394.DecodeString Stack/735.AsteroidCollision Trie/1268.SearchSuggestionsSystem Trie/208.ImplementTriePrefixTree TwoPointers/11.ContainerWithMostWater TwoPointers/1679.MaxNumberOfK-SumPairs TwoPointers/283.MoveZeroes TwoPointers/392.IsSubsequence topic B-Tree/515 sorting/1984 sorting/2037 Click to show internal directories. Click to hide internal directories.