├── C++ ├── 1044_LongestDuplicateSubstring.cpp ├── 104_MaximumDepthOfBinaryTree.cpp ├── 1081_SmallestSubsequenceOfDistinctCharacters.cpp ├── 1143_LongestCommonSubsequence.cpp ├── 116_PopulatingNextRightPointersInEachNode.cpp ├── 1192_CriticalConnectionsInANetwork.cpp ├── 1219_PathWithMaximumGold.cpp ├── 122_BestTimeToBuyAndSellStockII.cpp ├── 124_BinaryTreeMaximumPathSum.cpp ├── 1254_NumberOfClosedIslands.cpp ├── 127_WordLadder.cpp ├── 12_IntegerToRoman.cpp ├── 1328_BreakAPalindrome.cpp ├── 1363_LargestMultipleOfThree.cpp ├── 136_SingleNumber.cpp ├── 13_RomantoInteger.cpp ├── 141_LinkedListCycle.cpp ├── 150_EvaluateReversePolishNotation.cpp ├── 152_MaximumProductSubarray.cpp ├── 1547_MinimumCostToCutAStick.cpp ├── 1578_MinimumTimeToMakeRopeColorful.cpp ├── 1680_ConcatenationofConsecutiveBinaryNumbers.cpp ├── 16_3SumClosest.cpp ├── 1881_MaximumValueAfterInsertion.cpp ├── 18_4Sum.cpp ├── 1905_CountSubIslands.cpp ├── 191_NumberOf1Bits.cpp ├── 1944_NumberOfVisiblePeopleInAQueue.cpp ├── 199_BinaryTreeRightSideView.cpp ├── 19_RemoveNthNodeFromEndofList.cpp ├── 1_TwoSum.cpp ├── 20_ValidParentheses.cpp ├── 2181_MergeNodesInBetweenZeros.cpp ├── 219_ContainsDuplicateII.cpp ├── 21_MergeTwoSortedLists.cpp ├── 2259_RemoveDigitFromNumberToMaximizeResult.cpp ├── 230_KthSmallestElementInABST.cpp ├── 2369_CheckIfThereIsValidPartitionForTheArray.cpp ├── 237_DeleteNodeinaLinkedList.cpp ├── 2401_LongestNiceSubarray.cpp ├── 2425_BitwiseXORofAllPairings.cpp ├── 25_ReverseNodesInKGroup ├── 263_UglyNumber.cpp ├── 274_HIndex.cpp ├── 28_FindTheIndexOfTheFirstOccurenceInAString.cpp ├── 299_BullsAndCows.cpp ├── 300_LongestIncreasingSubsequence.cpp ├── 31_NextPemutation.cpp ├── 326_PowerOfThree.cpp ├── 33_SearchinRotatedSortedArray.cpp ├── 354_RussianDollEnvelopes.cpp ├── 36_ValidSudoku.cpp ├── 37_SudokuSolver.cpp ├── 383_RansomNote.cpp ├── 39_CombinationSum.cpp ├── 416_PartitionEqualSubsetSum.cpp ├── 424_LongestRepeatingCharacterReplacement.cpp ├── 44_WildcardMatching.cpp ├── 450_DeleteNodeInABST.cpp ├── 45_JumpGame2.cpp ├── 463_IslandPerimeter.cpp ├── 46_Permutations.cpp ├── 48_RotateImage.cpp ├── 496_NextGreaterElementI.cpp ├── 51_NQueens.cpp ├── 523_ContinuousSubarraySum.cpp ├── 53_MaximumSubarray.cpp ├── 547_NumberOfProvinces.cpp ├── 54_SpiralMatrix.cpp ├── 56_MergeIntervals.cpp ├── 572_SubtreeOfAnotherTree.cpp ├── 5_LongestPalindromicSubstring.cpp ├── 61_RotateList.cpp ├── 622_DesignCircularQueue.cpp ├── 623_AddOneRowtoTree.cpp ├── 62_UniquePaths.cpp ├── 630_CourseScheduleIII.cpp ├── 633_SumofSquareNumbers.cpp ├── 658_FindKClosestElements.cpp ├── 74_SearchA2DMatrix.cpp ├── 75_SortColors.cpp ├── 790_DominoAndTrominoTiling.cpp ├── 828_CountUniqueCharactersOfAllSubstringsOfAGivenString.cpp ├── 83_RemoveDuplicatesFromSortedList.cpp ├── 84_LargestRectangleInHistogram.cpp ├── 852_PeakIndexInAMountainArray.cpp ├── 85_MaximalRectangle.cpp ├── 863_AllNodesDistanceKinBinaryTree.cpp ├── 899_OrderlyQueue.cpp ├── 91_DecodeWays.cpp ├── 934_ShortestBridge.cpp ├── 935_KnightDialer.cpp ├── 94_BinaryTreeInorderTraversal.cpp ├── 95_UniqueBinarySearchTreesII.cpp ├── 976_LargestPerimeterTriangle.cpp ├── 987_VerticalOrderTraversalOfABinaryTree.cpp ├── 98_ValidateBinarySearchTree.cpp └── 9_PalindromeNumber.cpp ├── JAVA ├── 1044_LongestDuplicateSubstring.java ├── 1046_LastStoneWeight.java ├── 1089_DuplicateZeros.java ├── 1092_ShortestCommonSupersequence.java ├── 1217_MinimumCostToMoveChipsToTheSamePosition.java ├── 122_BestTimeToBuyAndSellStocks2.java ├── 12_IntegerToRoman.java ├── 1313_DecompressRun-LengthEncodedList.java ├── 131_PalindromePartitioning.java ├── 136_SingleNumber.java ├── 1422_MaximumScoreAfterSplittingAString.java ├── 142_LinkedListCycleII.java ├── 14_LongestCommonPrefix.java ├── 1518_WaterBottles.java ├── 1528_ShuffleString.java ├── 1578_MinTimeToMakeRopeColorful.java ├── 1592_RearrangeSpacesBetweenWords.java ├── 160_IntersectionOfTwoLinkedList.java ├── 1732_FindTheHighestAltitude.java ├── 17_LetterCombinationsOfAPhoneNumber.java ├── 190_ReverseBits.java ├── 198_HouseRobber.java ├── 1_TwoSum.java ├── 202_HappyNumber.java ├── 206_ReverseLinkedList.java ├── 20_ValidParenthesis.java ├── 213_HouseRobber2.java ├── 2180_CountIntegersWithEvenDigitSum.java ├── 21_MergeTwoSortedList.java ├── 21_MergeTwoSortedLists.java ├── 2200_FindAllK-DistantIndicesInAnArray.java ├── 222_CountCompleteTreeNodes.java ├── 2383_MinimumHoursOfTrainingToWinACompetition.java ├── 239_SlidingWindowMaximum.java ├── 2409_CountDaysSpentTogether.java ├── 273_IntegerToEnglishWords.java ├── 328_OddEvenLinkedList.java ├── 32_LongestValidParentheses.java ├── 35_SearchInsertPosition.java ├── 378_KthSortedItemInSortedMatrix.java ├── 387_FirstUniqueCharacterinaString.java ├── 389_FindTheDifference.java ├── 39_CombinationSum.java ├── 3_LongestSubstringWithoutRepeatingCharacters.java ├── 401_BinaryWatch.java ├── 402_RomoveKDigits.java ├── 412_FizzBuzz.java ├── 42_TrapingRainWater ├── 543_DiameterOfBinaryTree.java ├── 56_MergeIntervals.java ├── 575_DistributeCandies.java ├── 60_PermutationSequence.java ├── 66_PlusOne.java ├── 682_BaseballGame.java ├── 73_SetMatrixZeroes.java ├── 752_OpenTheLock.java ├── 771_JewelsAndStones.java ├── 7_ReverseInteger.java ├── 858_MirrorReflection.java ├── 881_BoatsToSavePeople.java ├── 89_GrayCode.java ├── 904_FruitIntoBaskets.java ├── 932_BeautifulArray.java ├── 953_VerifyingAnAlienDictionary.java └── 9_PalindromeNumber.java ├── PYTHON ├── 11_ContainerWithMostWater.py ├── 125_ValidPalindrome.py ├── 1313_DecompressRunLengthEncodedList.py ├── 155_MinStack.py ├── 1578_MinimumTimeToMakeRopeColorful.py ├── 1662_CheckIfTwoStringArraysAreEquivalent.py ├── 1678_GoalParserInterpretation.py ├── 168_ExcelSheetColumnTitle.py ├── 17_LetterCombinationsofaPhoneNumber.py ├── 1_TwoSum.py ├── 2095_DeleteMiddleNode.py ├── 217_ContainsDuplicate.py ├── 226_InvertBinaryTree.py ├── 2294_PartitionArraySuchThatMaximumDifferenceIsK.py ├── 2325_DecodeTheMessage.py ├── 242_ValidAnagram.py ├── 26_RemoveDuplicatesFromSortedArray.py ├── 276_SwapNodesinPairs.py ├── 27_RemoveElement.py ├── 287_FindTheDuplicateNumber.py ├── 2_AddTwoNumber.py ├── 342_CheckIfTheSentenceIsPangram.py ├── 44_WildcardMatching.py ├── 456_132Pattern.py ├── 7_ReverseInteger.py ├── 838_PushDominoes.py └── 985_SumOfEvenNumbersAfterQueries.py ├── README.md └── _images ├── Logo.JPG └── img1.JPG /C++/1044_LongestDuplicateSubstring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1044_LongestDuplicateSubstring.cpp -------------------------------------------------------------------------------- /C++/104_MaximumDepthOfBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/104_MaximumDepthOfBinaryTree.cpp -------------------------------------------------------------------------------- /C++/1081_SmallestSubsequenceOfDistinctCharacters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1081_SmallestSubsequenceOfDistinctCharacters.cpp -------------------------------------------------------------------------------- /C++/1143_LongestCommonSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1143_LongestCommonSubsequence.cpp -------------------------------------------------------------------------------- /C++/116_PopulatingNextRightPointersInEachNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/116_PopulatingNextRightPointersInEachNode.cpp -------------------------------------------------------------------------------- /C++/1192_CriticalConnectionsInANetwork.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1192_CriticalConnectionsInANetwork.cpp -------------------------------------------------------------------------------- /C++/1219_PathWithMaximumGold.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1219_PathWithMaximumGold.cpp -------------------------------------------------------------------------------- /C++/122_BestTimeToBuyAndSellStockII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/122_BestTimeToBuyAndSellStockII.cpp -------------------------------------------------------------------------------- /C++/124_BinaryTreeMaximumPathSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/124_BinaryTreeMaximumPathSum.cpp -------------------------------------------------------------------------------- /C++/1254_NumberOfClosedIslands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1254_NumberOfClosedIslands.cpp -------------------------------------------------------------------------------- /C++/127_WordLadder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/127_WordLadder.cpp -------------------------------------------------------------------------------- /C++/12_IntegerToRoman.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/12_IntegerToRoman.cpp -------------------------------------------------------------------------------- /C++/1328_BreakAPalindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1328_BreakAPalindrome.cpp -------------------------------------------------------------------------------- /C++/1363_LargestMultipleOfThree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1363_LargestMultipleOfThree.cpp -------------------------------------------------------------------------------- /C++/136_SingleNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/136_SingleNumber.cpp -------------------------------------------------------------------------------- /C++/13_RomantoInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/13_RomantoInteger.cpp -------------------------------------------------------------------------------- /C++/141_LinkedListCycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/141_LinkedListCycle.cpp -------------------------------------------------------------------------------- /C++/150_EvaluateReversePolishNotation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/150_EvaluateReversePolishNotation.cpp -------------------------------------------------------------------------------- /C++/152_MaximumProductSubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/152_MaximumProductSubarray.cpp -------------------------------------------------------------------------------- /C++/1547_MinimumCostToCutAStick.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1547_MinimumCostToCutAStick.cpp -------------------------------------------------------------------------------- /C++/1578_MinimumTimeToMakeRopeColorful.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1578_MinimumTimeToMakeRopeColorful.cpp -------------------------------------------------------------------------------- /C++/1680_ConcatenationofConsecutiveBinaryNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1680_ConcatenationofConsecutiveBinaryNumbers.cpp -------------------------------------------------------------------------------- /C++/16_3SumClosest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/16_3SumClosest.cpp -------------------------------------------------------------------------------- /C++/1881_MaximumValueAfterInsertion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1881_MaximumValueAfterInsertion.cpp -------------------------------------------------------------------------------- /C++/18_4Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/18_4Sum.cpp -------------------------------------------------------------------------------- /C++/1905_CountSubIslands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1905_CountSubIslands.cpp -------------------------------------------------------------------------------- /C++/191_NumberOf1Bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/191_NumberOf1Bits.cpp -------------------------------------------------------------------------------- /C++/1944_NumberOfVisiblePeopleInAQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1944_NumberOfVisiblePeopleInAQueue.cpp -------------------------------------------------------------------------------- /C++/199_BinaryTreeRightSideView.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/199_BinaryTreeRightSideView.cpp -------------------------------------------------------------------------------- /C++/19_RemoveNthNodeFromEndofList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/19_RemoveNthNodeFromEndofList.cpp -------------------------------------------------------------------------------- /C++/1_TwoSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/1_TwoSum.cpp -------------------------------------------------------------------------------- /C++/20_ValidParentheses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/20_ValidParentheses.cpp -------------------------------------------------------------------------------- /C++/2181_MergeNodesInBetweenZeros.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/2181_MergeNodesInBetweenZeros.cpp -------------------------------------------------------------------------------- /C++/219_ContainsDuplicateII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/219_ContainsDuplicateII.cpp -------------------------------------------------------------------------------- /C++/21_MergeTwoSortedLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/21_MergeTwoSortedLists.cpp -------------------------------------------------------------------------------- /C++/2259_RemoveDigitFromNumberToMaximizeResult.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/2259_RemoveDigitFromNumberToMaximizeResult.cpp -------------------------------------------------------------------------------- /C++/230_KthSmallestElementInABST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/230_KthSmallestElementInABST.cpp -------------------------------------------------------------------------------- /C++/2369_CheckIfThereIsValidPartitionForTheArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/2369_CheckIfThereIsValidPartitionForTheArray.cpp -------------------------------------------------------------------------------- /C++/237_DeleteNodeinaLinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/237_DeleteNodeinaLinkedList.cpp -------------------------------------------------------------------------------- /C++/2401_LongestNiceSubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/2401_LongestNiceSubarray.cpp -------------------------------------------------------------------------------- /C++/2425_BitwiseXORofAllPairings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/2425_BitwiseXORofAllPairings.cpp -------------------------------------------------------------------------------- /C++/25_ReverseNodesInKGroup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/25_ReverseNodesInKGroup -------------------------------------------------------------------------------- /C++/263_UglyNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/263_UglyNumber.cpp -------------------------------------------------------------------------------- /C++/274_HIndex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/274_HIndex.cpp -------------------------------------------------------------------------------- /C++/28_FindTheIndexOfTheFirstOccurenceInAString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/28_FindTheIndexOfTheFirstOccurenceInAString.cpp -------------------------------------------------------------------------------- /C++/299_BullsAndCows.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/299_BullsAndCows.cpp -------------------------------------------------------------------------------- /C++/300_LongestIncreasingSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/300_LongestIncreasingSubsequence.cpp -------------------------------------------------------------------------------- /C++/31_NextPemutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/31_NextPemutation.cpp -------------------------------------------------------------------------------- /C++/326_PowerOfThree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/326_PowerOfThree.cpp -------------------------------------------------------------------------------- /C++/33_SearchinRotatedSortedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/33_SearchinRotatedSortedArray.cpp -------------------------------------------------------------------------------- /C++/354_RussianDollEnvelopes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/354_RussianDollEnvelopes.cpp -------------------------------------------------------------------------------- /C++/36_ValidSudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/36_ValidSudoku.cpp -------------------------------------------------------------------------------- /C++/37_SudokuSolver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/37_SudokuSolver.cpp -------------------------------------------------------------------------------- /C++/383_RansomNote.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/383_RansomNote.cpp -------------------------------------------------------------------------------- /C++/39_CombinationSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/39_CombinationSum.cpp -------------------------------------------------------------------------------- /C++/416_PartitionEqualSubsetSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/416_PartitionEqualSubsetSum.cpp -------------------------------------------------------------------------------- /C++/424_LongestRepeatingCharacterReplacement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/424_LongestRepeatingCharacterReplacement.cpp -------------------------------------------------------------------------------- /C++/44_WildcardMatching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/44_WildcardMatching.cpp -------------------------------------------------------------------------------- /C++/450_DeleteNodeInABST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/450_DeleteNodeInABST.cpp -------------------------------------------------------------------------------- /C++/45_JumpGame2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/45_JumpGame2.cpp -------------------------------------------------------------------------------- /C++/463_IslandPerimeter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/463_IslandPerimeter.cpp -------------------------------------------------------------------------------- /C++/46_Permutations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/46_Permutations.cpp -------------------------------------------------------------------------------- /C++/48_RotateImage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/48_RotateImage.cpp -------------------------------------------------------------------------------- /C++/496_NextGreaterElementI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/496_NextGreaterElementI.cpp -------------------------------------------------------------------------------- /C++/51_NQueens.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/51_NQueens.cpp -------------------------------------------------------------------------------- /C++/523_ContinuousSubarraySum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/523_ContinuousSubarraySum.cpp -------------------------------------------------------------------------------- /C++/53_MaximumSubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/53_MaximumSubarray.cpp -------------------------------------------------------------------------------- /C++/547_NumberOfProvinces.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/547_NumberOfProvinces.cpp -------------------------------------------------------------------------------- /C++/54_SpiralMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/54_SpiralMatrix.cpp -------------------------------------------------------------------------------- /C++/56_MergeIntervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/56_MergeIntervals.cpp -------------------------------------------------------------------------------- /C++/572_SubtreeOfAnotherTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/572_SubtreeOfAnotherTree.cpp -------------------------------------------------------------------------------- /C++/5_LongestPalindromicSubstring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/5_LongestPalindromicSubstring.cpp -------------------------------------------------------------------------------- /C++/61_RotateList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/61_RotateList.cpp -------------------------------------------------------------------------------- /C++/622_DesignCircularQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/622_DesignCircularQueue.cpp -------------------------------------------------------------------------------- /C++/623_AddOneRowtoTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/623_AddOneRowtoTree.cpp -------------------------------------------------------------------------------- /C++/62_UniquePaths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/62_UniquePaths.cpp -------------------------------------------------------------------------------- /C++/630_CourseScheduleIII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/630_CourseScheduleIII.cpp -------------------------------------------------------------------------------- /C++/633_SumofSquareNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/633_SumofSquareNumbers.cpp -------------------------------------------------------------------------------- /C++/658_FindKClosestElements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/658_FindKClosestElements.cpp -------------------------------------------------------------------------------- /C++/74_SearchA2DMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/74_SearchA2DMatrix.cpp -------------------------------------------------------------------------------- /C++/75_SortColors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/75_SortColors.cpp -------------------------------------------------------------------------------- /C++/790_DominoAndTrominoTiling.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/790_DominoAndTrominoTiling.cpp -------------------------------------------------------------------------------- /C++/828_CountUniqueCharactersOfAllSubstringsOfAGivenString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/828_CountUniqueCharactersOfAllSubstringsOfAGivenString.cpp -------------------------------------------------------------------------------- /C++/83_RemoveDuplicatesFromSortedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/83_RemoveDuplicatesFromSortedList.cpp -------------------------------------------------------------------------------- /C++/84_LargestRectangleInHistogram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/84_LargestRectangleInHistogram.cpp -------------------------------------------------------------------------------- /C++/852_PeakIndexInAMountainArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/852_PeakIndexInAMountainArray.cpp -------------------------------------------------------------------------------- /C++/85_MaximalRectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/85_MaximalRectangle.cpp -------------------------------------------------------------------------------- /C++/863_AllNodesDistanceKinBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/863_AllNodesDistanceKinBinaryTree.cpp -------------------------------------------------------------------------------- /C++/899_OrderlyQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/899_OrderlyQueue.cpp -------------------------------------------------------------------------------- /C++/91_DecodeWays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/91_DecodeWays.cpp -------------------------------------------------------------------------------- /C++/934_ShortestBridge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/934_ShortestBridge.cpp -------------------------------------------------------------------------------- /C++/935_KnightDialer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/935_KnightDialer.cpp -------------------------------------------------------------------------------- /C++/94_BinaryTreeInorderTraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/94_BinaryTreeInorderTraversal.cpp -------------------------------------------------------------------------------- /C++/95_UniqueBinarySearchTreesII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/95_UniqueBinarySearchTreesII.cpp -------------------------------------------------------------------------------- /C++/976_LargestPerimeterTriangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/976_LargestPerimeterTriangle.cpp -------------------------------------------------------------------------------- /C++/987_VerticalOrderTraversalOfABinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/987_VerticalOrderTraversalOfABinaryTree.cpp -------------------------------------------------------------------------------- /C++/98_ValidateBinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/98_ValidateBinarySearchTree.cpp -------------------------------------------------------------------------------- /C++/9_PalindromeNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/C++/9_PalindromeNumber.cpp -------------------------------------------------------------------------------- /JAVA/1044_LongestDuplicateSubstring.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1044_LongestDuplicateSubstring.java -------------------------------------------------------------------------------- /JAVA/1046_LastStoneWeight.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1046_LastStoneWeight.java -------------------------------------------------------------------------------- /JAVA/1089_DuplicateZeros.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1089_DuplicateZeros.java -------------------------------------------------------------------------------- /JAVA/1092_ShortestCommonSupersequence.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1092_ShortestCommonSupersequence.java -------------------------------------------------------------------------------- /JAVA/1217_MinimumCostToMoveChipsToTheSamePosition.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1217_MinimumCostToMoveChipsToTheSamePosition.java -------------------------------------------------------------------------------- /JAVA/122_BestTimeToBuyAndSellStocks2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/122_BestTimeToBuyAndSellStocks2.java -------------------------------------------------------------------------------- /JAVA/12_IntegerToRoman.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/12_IntegerToRoman.java -------------------------------------------------------------------------------- /JAVA/1313_DecompressRun-LengthEncodedList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1313_DecompressRun-LengthEncodedList.java -------------------------------------------------------------------------------- /JAVA/131_PalindromePartitioning.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/131_PalindromePartitioning.java -------------------------------------------------------------------------------- /JAVA/136_SingleNumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/136_SingleNumber.java -------------------------------------------------------------------------------- /JAVA/1422_MaximumScoreAfterSplittingAString.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1422_MaximumScoreAfterSplittingAString.java -------------------------------------------------------------------------------- /JAVA/142_LinkedListCycleII.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/142_LinkedListCycleII.java -------------------------------------------------------------------------------- /JAVA/14_LongestCommonPrefix.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/14_LongestCommonPrefix.java -------------------------------------------------------------------------------- /JAVA/1518_WaterBottles.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1518_WaterBottles.java -------------------------------------------------------------------------------- /JAVA/1528_ShuffleString.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1528_ShuffleString.java -------------------------------------------------------------------------------- /JAVA/1578_MinTimeToMakeRopeColorful.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1578_MinTimeToMakeRopeColorful.java -------------------------------------------------------------------------------- /JAVA/1592_RearrangeSpacesBetweenWords.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1592_RearrangeSpacesBetweenWords.java -------------------------------------------------------------------------------- /JAVA/160_IntersectionOfTwoLinkedList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/160_IntersectionOfTwoLinkedList.java -------------------------------------------------------------------------------- /JAVA/1732_FindTheHighestAltitude.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1732_FindTheHighestAltitude.java -------------------------------------------------------------------------------- /JAVA/17_LetterCombinationsOfAPhoneNumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/17_LetterCombinationsOfAPhoneNumber.java -------------------------------------------------------------------------------- /JAVA/190_ReverseBits.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/190_ReverseBits.java -------------------------------------------------------------------------------- /JAVA/198_HouseRobber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/198_HouseRobber.java -------------------------------------------------------------------------------- /JAVA/1_TwoSum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/1_TwoSum.java -------------------------------------------------------------------------------- /JAVA/202_HappyNumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/202_HappyNumber.java -------------------------------------------------------------------------------- /JAVA/206_ReverseLinkedList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/206_ReverseLinkedList.java -------------------------------------------------------------------------------- /JAVA/20_ValidParenthesis.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/20_ValidParenthesis.java -------------------------------------------------------------------------------- /JAVA/213_HouseRobber2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/213_HouseRobber2.java -------------------------------------------------------------------------------- /JAVA/2180_CountIntegersWithEvenDigitSum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/2180_CountIntegersWithEvenDigitSum.java -------------------------------------------------------------------------------- /JAVA/21_MergeTwoSortedList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/21_MergeTwoSortedList.java -------------------------------------------------------------------------------- /JAVA/21_MergeTwoSortedLists.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/21_MergeTwoSortedLists.java -------------------------------------------------------------------------------- /JAVA/2200_FindAllK-DistantIndicesInAnArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/2200_FindAllK-DistantIndicesInAnArray.java -------------------------------------------------------------------------------- /JAVA/222_CountCompleteTreeNodes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/222_CountCompleteTreeNodes.java -------------------------------------------------------------------------------- /JAVA/2383_MinimumHoursOfTrainingToWinACompetition.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/2383_MinimumHoursOfTrainingToWinACompetition.java -------------------------------------------------------------------------------- /JAVA/239_SlidingWindowMaximum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/239_SlidingWindowMaximum.java -------------------------------------------------------------------------------- /JAVA/2409_CountDaysSpentTogether.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/2409_CountDaysSpentTogether.java -------------------------------------------------------------------------------- /JAVA/273_IntegerToEnglishWords.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/273_IntegerToEnglishWords.java -------------------------------------------------------------------------------- /JAVA/328_OddEvenLinkedList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/328_OddEvenLinkedList.java -------------------------------------------------------------------------------- /JAVA/32_LongestValidParentheses.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/32_LongestValidParentheses.java -------------------------------------------------------------------------------- /JAVA/35_SearchInsertPosition.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/35_SearchInsertPosition.java -------------------------------------------------------------------------------- /JAVA/378_KthSortedItemInSortedMatrix.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/378_KthSortedItemInSortedMatrix.java -------------------------------------------------------------------------------- /JAVA/387_FirstUniqueCharacterinaString.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/387_FirstUniqueCharacterinaString.java -------------------------------------------------------------------------------- /JAVA/389_FindTheDifference.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/389_FindTheDifference.java -------------------------------------------------------------------------------- /JAVA/39_CombinationSum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/39_CombinationSum.java -------------------------------------------------------------------------------- /JAVA/3_LongestSubstringWithoutRepeatingCharacters.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/3_LongestSubstringWithoutRepeatingCharacters.java -------------------------------------------------------------------------------- /JAVA/401_BinaryWatch.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/401_BinaryWatch.java -------------------------------------------------------------------------------- /JAVA/402_RomoveKDigits.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/402_RomoveKDigits.java -------------------------------------------------------------------------------- /JAVA/412_FizzBuzz.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/412_FizzBuzz.java -------------------------------------------------------------------------------- /JAVA/42_TrapingRainWater: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/42_TrapingRainWater -------------------------------------------------------------------------------- /JAVA/543_DiameterOfBinaryTree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/543_DiameterOfBinaryTree.java -------------------------------------------------------------------------------- /JAVA/56_MergeIntervals.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/56_MergeIntervals.java -------------------------------------------------------------------------------- /JAVA/575_DistributeCandies.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/575_DistributeCandies.java -------------------------------------------------------------------------------- /JAVA/60_PermutationSequence.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/60_PermutationSequence.java -------------------------------------------------------------------------------- /JAVA/66_PlusOne.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/66_PlusOne.java -------------------------------------------------------------------------------- /JAVA/682_BaseballGame.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/682_BaseballGame.java -------------------------------------------------------------------------------- /JAVA/73_SetMatrixZeroes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/73_SetMatrixZeroes.java -------------------------------------------------------------------------------- /JAVA/752_OpenTheLock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/752_OpenTheLock.java -------------------------------------------------------------------------------- /JAVA/771_JewelsAndStones.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/771_JewelsAndStones.java -------------------------------------------------------------------------------- /JAVA/7_ReverseInteger.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/7_ReverseInteger.java -------------------------------------------------------------------------------- /JAVA/858_MirrorReflection.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/858_MirrorReflection.java -------------------------------------------------------------------------------- /JAVA/881_BoatsToSavePeople.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/881_BoatsToSavePeople.java -------------------------------------------------------------------------------- /JAVA/89_GrayCode.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/89_GrayCode.java -------------------------------------------------------------------------------- /JAVA/904_FruitIntoBaskets.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/904_FruitIntoBaskets.java -------------------------------------------------------------------------------- /JAVA/932_BeautifulArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/932_BeautifulArray.java -------------------------------------------------------------------------------- /JAVA/953_VerifyingAnAlienDictionary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/953_VerifyingAnAlienDictionary.java -------------------------------------------------------------------------------- /JAVA/9_PalindromeNumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/JAVA/9_PalindromeNumber.java -------------------------------------------------------------------------------- /PYTHON/11_ContainerWithMostWater.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/11_ContainerWithMostWater.py -------------------------------------------------------------------------------- /PYTHON/125_ValidPalindrome.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/125_ValidPalindrome.py -------------------------------------------------------------------------------- /PYTHON/1313_DecompressRunLengthEncodedList.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/1313_DecompressRunLengthEncodedList.py -------------------------------------------------------------------------------- /PYTHON/155_MinStack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/155_MinStack.py -------------------------------------------------------------------------------- /PYTHON/1578_MinimumTimeToMakeRopeColorful.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/1578_MinimumTimeToMakeRopeColorful.py -------------------------------------------------------------------------------- /PYTHON/1662_CheckIfTwoStringArraysAreEquivalent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/1662_CheckIfTwoStringArraysAreEquivalent.py -------------------------------------------------------------------------------- /PYTHON/1678_GoalParserInterpretation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/1678_GoalParserInterpretation.py -------------------------------------------------------------------------------- /PYTHON/168_ExcelSheetColumnTitle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/168_ExcelSheetColumnTitle.py -------------------------------------------------------------------------------- /PYTHON/17_LetterCombinationsofaPhoneNumber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/17_LetterCombinationsofaPhoneNumber.py -------------------------------------------------------------------------------- /PYTHON/1_TwoSum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/1_TwoSum.py -------------------------------------------------------------------------------- /PYTHON/2095_DeleteMiddleNode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/2095_DeleteMiddleNode.py -------------------------------------------------------------------------------- /PYTHON/217_ContainsDuplicate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/217_ContainsDuplicate.py -------------------------------------------------------------------------------- /PYTHON/226_InvertBinaryTree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/226_InvertBinaryTree.py -------------------------------------------------------------------------------- /PYTHON/2294_PartitionArraySuchThatMaximumDifferenceIsK.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/2294_PartitionArraySuchThatMaximumDifferenceIsK.py -------------------------------------------------------------------------------- /PYTHON/2325_DecodeTheMessage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/2325_DecodeTheMessage.py -------------------------------------------------------------------------------- /PYTHON/242_ValidAnagram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/242_ValidAnagram.py -------------------------------------------------------------------------------- /PYTHON/26_RemoveDuplicatesFromSortedArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/26_RemoveDuplicatesFromSortedArray.py -------------------------------------------------------------------------------- /PYTHON/276_SwapNodesinPairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/276_SwapNodesinPairs.py -------------------------------------------------------------------------------- /PYTHON/27_RemoveElement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/27_RemoveElement.py -------------------------------------------------------------------------------- /PYTHON/287_FindTheDuplicateNumber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/287_FindTheDuplicateNumber.py -------------------------------------------------------------------------------- /PYTHON/2_AddTwoNumber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/2_AddTwoNumber.py -------------------------------------------------------------------------------- /PYTHON/342_CheckIfTheSentenceIsPangram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/342_CheckIfTheSentenceIsPangram.py -------------------------------------------------------------------------------- /PYTHON/44_WildcardMatching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/44_WildcardMatching.py -------------------------------------------------------------------------------- /PYTHON/456_132Pattern.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/456_132Pattern.py -------------------------------------------------------------------------------- /PYTHON/7_ReverseInteger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/7_ReverseInteger.py -------------------------------------------------------------------------------- /PYTHON/838_PushDominoes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/838_PushDominoes.py -------------------------------------------------------------------------------- /PYTHON/985_SumOfEvenNumbersAfterQueries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/PYTHON/985_SumOfEvenNumbersAfterQueries.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/README.md -------------------------------------------------------------------------------- /_images/Logo.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/_images/Logo.JPG -------------------------------------------------------------------------------- /_images/img1.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tanyagupta0201/LeetCode-Problems-Solutions/HEAD/_images/img1.JPG --------------------------------------------------------------------------------