1010.PairsofSongsWithTotalDurationsDivisibleby60.py
1015.SmallestIntegerDivisiblebyK.py
1019.NextGreaterNodeInLinkedList.py
102.BinaryTreeLevelOrderTraversal.py
1026.MaximumDifferenceBetweenNodeandAncestor.py
103.BinaryTreeZigzagLevelOrderTraversal.py
1038.BinarySearchTreetoGreaterSumTree.py
1041.RobotBoundedInCircle.py
1079.LetterTilePossibilities.py
1091.ShortestPathinBinaryMatrix.py
11.ContainerWithMostWater.py
1123.LowestCommonAncestorofDeepestLeaves.py
114.FlattenBinaryTreetoLinkedList.py
116.PopulatingNextRightPointersinEachNode.py
1161.MaximumLevelSumofaBinaryTree.py
1169.InvalidTransactions.py
117.PopulatingNextRightPointersinEachNodeII.py
1171.RemoveZeroSumConsecutiveNodesfromLinkedList.py
1227.AirplaneSeatAssignmentProbability.py
1261.FindElementsinaContaminatedBinaryTree.py
1268.SearchSuggestionsSystem.py
128.LongestConsecutiveSequence.py
1282.GroupthePeopleGiventheGroupSizeTheyBelongTo.py
1283.FindtheSmallestDivisorGivenaThreshold.py
1286.IteratorforCombination.py
1288.RemoveCoveredIntervals.py
129.SumRoottoLeafNumbers.py
1305.AllElementsinTwoBinarySearchTrees.py
1311.GetWatchedVideosbyYourFriends.py
1315.SumofNodeswithEven-ValuedGrandparent.py
1325.DeleteLeavesWithaGivenValue.py
1329.SorttheMatrixDiagonally.py
1338.ReduceArraySizetoTheHalf.py
1347.MinimumNumberofStepstoMakeTwoStringsAnagram.py
1352.ProductoftheLastKNumbers(BruteForce).py
1352.ProductoftheLastKNumbers(MySolution).py
1352.ProductoftheLastKNumbers(Revisited).py
1357.ApplyDiscountEverynOrders(BruteForce).py
1357.ApplyDiscountEverynOrders.py
1361.ValidateBinaryTreeNodes.py
1367.LinkedListinBinaryTree.py
1379.FindaCorrespondingNodeofaBinaryTreeinaCloneofThatTree(iteratively).py
1379.FindaCorrespondingNodeofaBinaryTreeinaCloneofThatTree(recursion).py
138.CopyListwithRandomPointer.py
1381.DesignaStackWithIncrementOperation.py
1387.SortIntegersbyThePowerValue.py
1395.CountNumberofTeams.py
1396.DesignUndergroundSystem.py
1409.QueriesonaPermutationWithKey.py
1414.FindtheMinimumNumberofFibonacciNumbersWhoseSumIsK.py
1423.MaximumPointsYouCanObtainfromCards.py
1437.CheckIfAll1sAreatLeastLengthKPlacesAway.py
144.BinaryTreePreorderTraversal.py
1448.CountGoodNodesinBinaryTree(optimized).py
1448.CountGoodNodesinBinaryTree.py
1457.Pseudo-PalindromicPathsinaBinaryTree.py
1461.CheckIfaStringContainsAllBinaryCodesofSizeK.py
1465.MaximumAreaofaPieceofCakeAfterHorizontalandVerticalCuts.py
1472.DesignBrowserHistory(Dictionary).py
1472.DesignBrowserHistory.py
1476.SubrectangleQueries.py
1487.MakingFileNamesUnique.py
150.EvaluateReversePolishNotation.py
152.MaximumProductSubarray.py
153.FindMinimuminRotatedSortedArray(BinarySearch).py
153.FindMinimuminRotatedSortedArray(forLoop).py
1545.FindKthBitinNthBinaryString.py
1551.MinimumOperationstoMakeArrayEqual.py
1557.MinimumNumberofVerticestoReachAllNodes.py
1561.MaximumNumberofCoinsYouCanGet.py
1567.MaximumLengthofSubarrayWithPositiveProduct.py
16.3SumClosest(bruteforce).py
1630.ArithmeticSubarrays.py
1631.PathWithMinimumEffort.py
1637.WidestVerticalAreaBetweenTwoPointsContainingNoPoints.py
1641.CountSortedVowelStrings.py
165.CompareVersionNumbers.py
1657.DetermineifTwoStringsAreClose.py
1658.MinimumOperationstoReduceXtoZero.py
1663.SmallestStringWithAGivenNumericValue.py
1669.MergeInBetweenLinkedLists.py
1670.DesignFrontMiddleBackQueue.py
1673.FindtheMostCompetitiveSubsequence.py
1679.MaxNumberofK-SumPairs.py
1680.ConcatenationofConsecutiveBinaryNumbers.py
1685.SumofAbsoluteDifferencesinaSortedArray.py
1689.PartitioningIntoMinimumNumberOfDeci-BinaryNumbers.py
1695.MaximumErasureValue.py
17.LetterCombinationsofaPhoneNumber.py
1721.SwappingNodesinaLinkedList.py
173.BinarySearchTreeIterator.py
1791.FindCenterofStarGraph.py
19.RemoveNthNodeFromEndofList.py
199.BinaryTreeRightSideView.py
208.ImplementTrie(PrefixTree).py
209.MinimumSizeSubarraySum.py
211.AddandSearchWord-Datastructuredesign.py
215.KthLargestElementinanArray.py
220.ContainsDuplicateIII.py
222.CountCompleteTreeNodes.py
229.MajorityElementII(BruteForce).py
230.KthSmallestElementinaBST.py
3.LongestSubstringWithoutRepeatingCharacters.py
304.RangeSumQuery2D-Immutable(bruteforce).py
304.RangeSumQuery2D-Immutable(bruteforce2).py
307.RangeSumQuery - Mutable.py
318.MaximumProductofWordLengths.py
334.IncreasingTripletSubsequence.py
34.FindFirstandLastPositionofElementinSortedArray(BinarySearch).py
34.FindFirstandLastPositionofElementinSortedArray.py
341.FlattenNestedListIterator.py
347.TopKFrequentElements.py
378.KthSmallestElementinaSortedMatrix.py
380.InsertDeleteGetRandomO(1).py
382.LinkedListRandomNode.py
395.LongestSubstringwithAtLeastKRepeatingCharacters.py
421.MaximumXORofTwoNumbersinanArray.py
423.ReconstructOriginalDigitsfromEnglish.py
429.N-aryTreeLevelOrderTraversal.py
435.Non-overlappingIntervals.py
442.FindAllDuplicatesinanArray.py
449.SerializeandDeserializeBST.py
451.SortCharactersByFrequency.py
452.MinimumNumberofArrowstoBurstBalloons.py
462.MinimumMovestoEqualArrayElementsII.py
470.ImplementRand10()UsingRand7().py
478.GenerateRandomPointinaCircle.py
497.RandomPointinNon-overlappingRectangles.py
5.LongestPalindromicSubstring(bruteforce).py
503.NextGreaterElementII.py
513.FindBottomLeftTreeValue.py
515.FindLargestValueinEachTreeRow.py
524.LongestWordinDictionarythroughDeleting.py
526.BeautifulArrangement.py
532.K-diffPairsinanArray.py
535.EncodeandDecodeTinyURL.py
540.SingleElementinaSortedArray.py
556.NextGreaterElementIII.py
581.ShortestUnsortedContinuousSubarray.py
609.FindDuplicateFileinSystem.py
622.DesignCircularQueue.py
641.DesignCircularDeque.py
647.PalindromicSubstrings.py
658.FindKClosestElements.py
667.BeautifulArrangementII.py
701.InsertintoaBinarySearchTree.py
713.SubarrayProductLessThanK.py
75.SortColors(BubleSort).py
75.SortColors(InsertionSort).py
75.SortColors(MergeSort).py
75.SortColors(QuickSort).py
75.SortColors(SelectionSort).py
763.PartitionLabels(bruteforce).py
775.GlobalandLocalInversions.py
80.RemoveDuplicatesfromSortedArrayII.py
807.MaxIncreasetoKeepCitySkyline.py
81.SearchinRotatedSortedArrayII.py
817.LinkedListComponents(set).py
817.LinkedListComponents.py
82.RemoveDuplicatesfromSortedListII.py
820.ShortEncodingofWords.py
845.LongestMountaininArray.py
849.MaximizeDistancetoClosestPerson.py
865.SmallestSubtreewithalltheDeepestNodes.py
880.DecodedStringatIndex.py
890.FindandReplacePattern.py
92.ReverseLinkedListII.py
923.3SumWithMultiplicity.py
94.BinaryTreeInorderTraversal.py
946.ValidateStackSequences.py
967.NumbersWithSameConsecutiveDifferences.py
98.ValidateBinarySearchTree(2nd).py
98.ValidateBinarySearchTree.py
981.TimeBasedKey-ValueStore.py
987.VerticalOrderTraversalofaBinaryTree.py
You can’t perform that action at this time.