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