├── .github ├── ISSUE_TEMPLATE │ └── create-an-issue.md └── pull_request_template.md ├── 1854. Maximum Population Year.cpp ├── C++ ├── 1. TwoSum.cpp ├── 10. Regular Expression Matching.cpp ├── 1007.MinimumDominoRotationsForEqualRow.cpp ├── 101. SymmetricTree.cpp ├── 1011. Capacity To Ship Packages Within D Days.cpp ├── 1015. Smallest Integer Divisible by K.cpp ├── 102. BinaryTreeLevelOrderTraversal.cpp ├── 1022. SumofRootToLeafBinaryNumbers.cpp ├── 1023. CammelCaseMatching.cpp ├── 1024. VideoStitching.cpp ├── 1025. DivisorGame.cpp ├── 1026. Maximum Difference Between Node and Ancestor.cpp ├── 1029. TwoCityScheduling.cpp ├── 103. BinaryTreeZigzagLevelOrderTraversal.cpp ├── 104. MaximumDepthOfBinaryTree.cpp ├── 1046. Last Stone Weight.cpp ├── 1049. LastStoneWeightII.cpp ├── 105.ConstructBinaryTreefromPreorderandInorderTraversal.cpp ├── 1051. HeightChecker.cpp ├── 107. BinaryTreeLevelOrderTraversalII.cpp ├── 108. ConvertSortedArraytoBinarySearchTree.cpp ├── 1095. Find in Mountain Array.cpp ├── 11. ContainerWithMostWater.cpp ├── 1108. DefangingAnIPAddress.cpp ├── 111.MinimumDepthOfBinaryTree.cpp ├── 112. PathSum.cpp ├── 1123. Lowest Common Ancestor of Deepest Leaves.cpp ├── 113.PathSumII.cpp ├── 1134.ArmstrongNumber.cpp ├── 1137. N-th Tribonacci Number.cpp ├── 115. Distinct Subsequences.cpp ├── 116. PopulatingNextRightPointersInEachNode.cpp ├── 117.PopulatingNextRightPointersInEachNodeII.cpp ├── 1170. CompareStringsByFrequencyOfTheSmallestCharacter.cpp ├── 1171. RemoveZeroSumConsecutiveNodesInLinkedList.cpp ├── 1172. DinnerPlateStacks.cpp ├── 118. PascalTriangle.cpp ├── 12. Integer to Roman ├── 1202.SmallestStringWithSwaps.cpp ├── 1209.RemoveAllAdjacentDuplicatesInStringII.cpp ├── 121. BestTimetoBuyandSellStock.cpp ├── 1217. Minimum Cost to Move Chips to The Same Position.cpp ├── 1221. SplitaStringInBalancedStrings.cpp ├── 1232.CheckIfItIsAStraight Line.cpp ├── 124. Binary_Tree_Maximum.cpp ├── 1249.MinimumRemoveToMakeValidParentheses.cpp ├── 125. ValidPalindrome.cpp ├── 1260.Shift2DGrid.cpp ├── 1266. Minimum Time Visiting All Points.cpp ├── 127. Word Ladder.cpp ├── 1277. CountSquareSubmatricesWithAllOnes.cpp ├── 128. LongestConsecutiveSequence.cpp ├── 1281.SubtractTheProductAndSumOfDigitsOfAnInteger.cpp ├── 1283. Find the Smallest Divisor Given a Threshold.cpp ├── 1288. RemoveCoveredIntervals.cpp ├── 129. Sum Root to Leaf Numbers.cpp ├── 1290. Convert Binary Number in a Linked List to Integer.cpp ├── 1295. Find Numbers with Even Number of Digits.cpp ├── 13. Roman_To_Integer.cpp ├── 1304. FindNUniqueIntegersSumUpToZero.cpp ├── 1305. AllElementsinTwoBinarySearchTrees.cpp ├── 1306. Jump Game III.cpp ├── 1309.DecryptStringFromAlphabetToIntegerMapping.cpp ├── 1310. XORQueriesOfASubarray.cpp ├── 1313. Decompress Run-Length Encoded List.cpp ├── 1329.SortTheMatrixDiagonally.cpp ├── 1337.TheKWeakestRowsInAMatrix.cpp ├── 134. GasStation.cpp ├── 1342. NumberofStepstoReduceaNumbertoZero.cpp ├── 135. Candy.cpp ├── 1351. Count Negative Numbers in a Sorted Matrix.cpp ├── 1356.SortIntegersByTheNumberOf1Bits.cpp ├── 1359.CountAllValidPickupandDeliver Options.cpp ├── 136. Single Number.cpp ├── 1363. LargestMultipleOfThree.cpp ├── 1365. SmallestNumberThanCurrentNumber.cpp ├── 1379. FindaCorrespondingNodeofaBinaryTreeinaCloneofThatTree.cpp ├── 138.CopyListWithRandomPointer.cpp ├── 1389. Create Target Array in the Given Order.cpp ├── 139. WordBreak.cpp ├── 1396.DesignUndergroundSystem.cpp ├── 14. LongestCommonPrefix.cpp ├── 1403. Minimum Subsequence in Non-Increasing Order.cpp ├── 1406. StoneGameIII.cpp ├── 1408. StringMatchingInAnArray.cpp ├── 141. Linked List Cycle.cpp ├── 142. LinkedListCycle.cpp ├── 143. Reorder List.cpp ├── 1431. KidsWithTheGreatesNumberOfCandies.cpp ├── 145.BinaryTreePostorderTraversal.cpp ├── 146. LRUCache.cpp ├── 1463. CherryPickup2.cpp ├── 1464. MaximumProductOfTwoElementsInAnArray.cpp ├── 1470. ShuffleTheArray.cpp ├── 1476. Subrectangle Queries.cpp ├── 148. SortList.cpp ├── 1480. Running Sum of 1d Array.cpp ├── 1486. XOR Operation in an Array.cpp ├── 1491.AverageSalaryExcludingTheMinimumAndMaximumSalary.cpp ├── 1492.kthfactor.cpp ├── 1496.PathCrossing.cpp ├── 15. 3Sum.cpp ├── 1502.CanMakeArithmeticProgressionFromSequence.cpp ├── 151.ReverseWordsInAString.cpp ├── 1510. StoneGameIV.cpp ├── 1512. NumberofGoodPairs.cpp ├── 152. MaximumProductSubarray.cpp ├── 1520.MaximumNumberOfNonOverlappingSubstrings.cpp ├── 1523.CountOddNumbersInAnIntervalRange.cpp ├── 1525. NumberOfGoodWaysToSplitAString.cpp ├── 1528. Shuffle String.cpp ├── 153.FindMinimuminRotatedSortedArray.cpp ├── 1539. KthMissingPositiveNumber.cpp ├── 154. FindMinimumInRotatedSortedArrayII.cpp ├── 1544. MakeTheStringGreat.cpp ├── 155. Min Stack.cpp ├── 1551. MinimumOperationsToMakeArrayEqual.cpp ├── 1557.MinimumNumberOfVerticesToReachAllNodes.cpp ├── 1561. MaximumNumberOfCoinsYouCanGet.cpp ├── 1563. StoneGameV.cpp ├── 1572. Matrix Diagonal Sum.cpp ├── 1588. SumofAllOddLengthSubarrays.cpp ├── 1589. MaximumSumObtainedOfAnyPermutation.cpp ├── 1603. Design Parking System.cpp ├── 1605. FindValidMatrixGivenRowAndColumnSums.cpp ├── 1608. Special Array With X Elements Greater Than or Equal X.cpp ├── 1610. MaximumNumberOfVisiblePoints.cpp ├── 1614. MaximumNestingDepthOfTheParentheses.cpp ├── 162.FindPeakElement.cpp ├── 1626. Best Team With No Conflicts.cpp ├── 1627. Graph Connectivity With Threshold.cpp ├── 1629. SlowestKey.cpp ├── 164. Maximum Gap.cpp ├── 1646. Get Maximum in Generated Array.cpp ├── 1647. Minimum Deletions to Make Character Frequencies Unique.cpp ├── 1663.SmallestStringWithAGivenNumericValue.cpp ├── 167. TwoSumII-InputArrayIsSorted.cpp ├── 1672.RichestCustomerWealth.cpp ├── 1678.GoalParserInterpretation.cpp ├── 1679.MaxNumberOfK-SumPairs.cpp ├── 169. MajorityElement.cpp ├── 169. Majority_Element.cpp ├── 17. LetterCombinationsOfAPhoneNumber.cpp ├── 1721.SwappingNodesInALinkedList.cpp ├── 173.BinarySearchTreeIterator.cpp ├── 1768.MergeStringsAlternately.cpp ├── 1773.CountItemsMatchingARule.cpp ├── 1779.FindNearestPointThat HasTheSame XorYCoordinate.cpp ├── 179.Largest Number.cpp ├── 1790.CheckIfOneStringSwapCanMakeStringsEqual.cpp ├── 18. FourSum.cpp ├── 1822.SignOfTheProductOfAnArray.cpp ├── 187. RepeatedDNASequences.cpp ├── 189. Rotated_Array.cpp ├── 19.RemoveNthNodeFromEndofList.cpp ├── 191.NumberOf1Bits.cpp ├── 1929. Concatenation of Array.cpp ├── 198. HouseRobber.cpp ├── 199. BinaryTreeRightSideView.cpp ├── 2. AddTwoNumbers.cpp ├── 20. ValidParenthesis.cpp ├── 200. NumberOfIslands.cpp ├── 201. BitwiseANDofNumbersRange.cpp ├── 202. HappyNumber.cpp ├── 203. RemoveLinkedListElements.cpp ├── 204.CountPrimes.cpp ├── 206.ReverseLinkedList.cpp ├── 21. MergeTwoSortedLists.cpp ├── 2139.MinimumMovesToReachTargetScore.cpp ├── 216.CombinationSumIII.cpp ├── 217. ContainsDuplicate.cpp ├── 22. GenerateParenthesis.cpp ├── 220. ContainsDuplicateIII.cpp ├── 221. Maximal Square.cpp ├── 225. Implement Stack Using Queues.cpp ├── 23. Merge_k_Sorted_Lists.cpp ├── 230.KthSmallesElementInABST.cpp ├── 231. PowerOfTwo.cpp ├── 232. Implement Queue Using Stacks.cpp ├── 235. Lowest Common Ancestor of a Binary Search Tree.cpp ├── 236. LowestCommonAncestorOfABinaryTree.cpp ├── 239. SlidingWindowMaximum.cpp ├── 24. Swap_Nodes_In_Pairs.cpp ├── 240.SearchA2DMatrixII.cpp ├── 242.ValidAnagram.cpp ├── 25. Reverse Nodes in k-group.cpp ├── 26. RemoveDuplicatesFromSortedArray.cpp ├── 268. MissingNumber.cpp ├── 27. RemoveElement.cpp ├── 28. Implement strStr().cpp ├── 283. MoveZeroes.cpp ├── 284.PeekingIterator.cpp ├── 287. Find the Duplicate Number.cpp ├── 289. GameOfLife.cpp ├── 29.DivideTwoIntegers.cpp ├── 295. FindMedianfromDataStream.cpp ├── 297. SerializeAndDeserializeBinaryTree.cpp ├── 299. Bulls_and_Cows.cpp ├── 3. LongestSubstringWithoutRepeatingCharacters.cpp ├── 300. LongestIncreasingSubsequence.cpp ├── 303.RangeSumQueryImmutable.cpp ├── 31. NextPermutation.cpp ├── 312. BurstBalloons.cpp ├── 316.RemoveDuplicateLetters.cpp ├── 319. BulbSwitcher.cpp ├── 32. LongestValidParenthesis.cpp ├── 322. CoinChange.cpp ├── 326. PowerOfThree.cpp ├── 33.SearchInRotatedSortedArray.cpp ├── 334. Increasing Triplet Subsequence.cpp ├── 337. House Robber III.cpp ├── 338. CountingBits.cpp ├── 34. FindFirstAndLastPositionOfElementinSortedArray.cpp ├── 341. FlattenNestedListIterator.cpp ├── 342.PowerOfFour.cpp ├── 344.ReverseString.cpp ├── 347. TopKFrequentElements.cpp ├── 35. SearchInsertPosition.cpp ├── 350.IntersectionOfTwoArraysII.cpp ├── 355. DesignTwitter.cpp ├── 36. ValidSudoku.cpp ├── 367. ValidPerfectSquare.cpp ├── 38. CountAndSay.cpp ├── 380. Insert Delete GetRandom O(1).cpp ├── 383. RansomNote.cpp ├── 389. FindtheDifference.cpp ├── 39. Combination Sum.cpp ├── 392. IsSubsequence.cpp ├── 394. Decode String.cpp ├── 395. Longest Substring with At Least K Repeating Characters.cpp ├── 396. RotateFunction.cpp ├── 399.EvaluateDivision.cpp ├── 4. MedianOfTwoSortedArrays.cpp ├── 40.CombinationSumII.cpp ├── 404.SumOfLeftLeaves.cpp ├── 405. ConvertNumberToHexadecimal.cpp ├── 41. FirstMissingPositive.cpp ├── 410.SplitArrayLargestSum.cpp ├── 413.ArithmeticSlices.cpp ├── 414.PartitionEqualSubsetSum.cpp ├── 42. TrappingRainWater.cpp ├── 437.PathSumIII.cpp ├── 438. FindAllAnagramsInAString.cpp ├── 44. WildcardMatching.cpp ├── 445. Add Two Numbers II.cpp ├── 448. Find_All_Numbers_Disappeared_in_an_Array.cpp ├── 451. Sort Characters By Frequency.cpp ├── 458. Poor Pigs.cpp ├── 46. Permutations.cpp ├── 461. HammingDistance.cpp ├── 47. Permutations II.cpp ├── 476. NumberComplement.cpp ├── 477. TotalHammingDistance.cpp ├── 48. RotateImage.cpp ├── 49. Group_Anagrams.cpp ├── 496.NextGreaterElementI.cpp ├── 5. LongestPalindromicSubstring.cpp ├── 50. Pow-function.cpp ├── 500. KeyboardRow.cpp ├── 504. Base 7.cpp ├── 506. Relative Ranks.cpp ├── 509.FibonacciNumber.cpp ├── 51.NQueens.cpp ├── 53. Maximum Subarray.cpp ├── 532. K-diffPairsInAnArray.cpp ├── 535.EncodeAndDecodeTinyURL.cpp ├── 538.ConvertBSTtoGreaterTree.cpp ├── 54. SpiralMatrix.cpp ├── 540. SingleElementInASortedArray.cpp ├── 542. 01Matrix.cpp ├── 543. DiameterOfBinaryTree.cpp ├── 547. FriendCircles.cpp ├── 559. MaximumDepthOfN-aryTree.cpp ├── 56. MergeIntervals.cpp ├── 561. Array Partition I.cpp ├── 563. Binary Tree Tilt.cpp ├── 566.ReshapeTheMatrix.cpp ├── 581.ShortestUnsortedContinuousSubarray.cpp ├── 589.N-aryTreePreorderTraversal.cpp ├── 59.SpiralMatrixII.cpp ├── 593. Valid Square.cpp ├── 6. ZigzagConversion.cpp ├── 605. CanPlaceFlowers.cpp ├── 606. ConstructStringFromBinaryTree.cpp ├── 61. RotateList.cpp ├── 617. MergeTwoBinaryTrees.cpp ├── 62.UniquePaths.cpp ├── 621. Task Scheduler.cpp ├── 633. SumOfSquareNumbers.cpp ├── 637.AverageOfLevelsInBinaryTree.cpp ├── 639. DecodeWaysII.CPP ├── 65. ValidNumber.cpp ├── 654. MaximumBinaryTree.cpp ├── 66. PlusOne.cpp ├── 665. Non-decreasingArray.cpp ├── 669.TrimABinarySearchTree.cpp ├── 67. AddBinary.cpp ├── 680.ValidPalindromeII.cpp ├── 682.BaseballGame.cpp ├── 693. BinaryNumberwithAlternatingBits.cpp ├── 7. Reverse_Integer.cpp ├── 7.ReverseInteger.cpp ├── 700.SearchInABinarySearchTree.cpp ├── 701. InsertIntoABinarySearchTree.cpp ├── 703.KthLargestElementInAStream.cpp ├── 704. BinarySearch.cpp ├── 705.DesignHashSet.cpp ├── 706.DesignHashMap.cpp ├── 709. To Lower Case.cpp ├── 71.SimplifyPath.cpp ├── 714. BestTimetoBuyandSellStockwithTransactionFee.cpp ├── 72. Edit_Distance.cpp ├── 720.LongestWordInDictionary.cpp ├── 73. SetMatrixZeroes.cpp ├── 730. CountDifferentPalindromicSubsequences.cpp ├── 733. FloodFill.cpp ├── 735. Asteroid Collision.cpp ├── 74. SearchA2DMatrix.cpp ├── 740.DeleteAndEarn.cpp ├── 744. FindSmallestLetterGreaterThanTarget.cpp ├── 746. MinCostClimbingStairs.cpp ├── 75.SortColors.cpp ├── 763. Partition Labels.cpp ├── 765. Couples Holding Hands.cpp ├── 766. Toeplitz Matrix.cpp ├── 77. Combinations.cpp ├── 771. JewelsandStones.cpp ├── 78. SubsetsOfAGivenArray.cpp ├── 780. ReachingPoints.cpp ├── 785.IsGraphBipartite.cpp ├── 79.WordSearch.cpp ├── 799. Champagne Tower.cpp ├── 8. StringToInteger(atoi).cpp ├── 80. RemoveDuplicatesfromSortedArrayII.cpp ├── 804. UniqueMorseCodeWords.cpp ├── 805. SplitArrayWithSameAverage.cpp ├── 81. Search in Rotated Sorted Array II.cpp ├── 812. LargestTriangleArea.cpp ├── 82. RemoveDuplicatesFromSortedListII.cpp ├── 829. ConsecutiveNumbersSum.cpp ├── 83. RemoveDuplicatesFromSortedList.cpp ├── 832. Flipping an Image.cpp ├── 834. Sum of Distances in Tree.cpp ├── 84. LargestRectangleInHistogram.cpp ├── 844. BackspaceStringCompare.cpp ├── 845. LongestMountainInArray.cpp ├── 85. Maximal_Rectangle.cpp ├── 852. Peak Index in a Mountain Array.cpp ├── 855. ExamRoom.cpp ├── 856. Score of Parentheses.cpp ├── 858. Mirror Reflection.cpp ├── 859. BuddyStrings.cpp ├── 860. LemonadeChange.cpp ├── 867. TransposeMatrix.cpp ├── 87. ScrambleString.cpp ├── 871. MinimumNumberOfRefuelingStops.cpp ├── 875. KokoEatingBananas.cpp ├── 876. Middle of the Linked List.cpp ├── 88. MergeSortedArray.cpp ├── 881.BoatsToSavePeople.cpp ├── 887. SuperEggDrop.cpp ├── 89. GrayCode.cpp ├── 890. Find and Replace Pattern.cpp ├── 895. MaximumFrequencyStack.cpp ├── 896. MonotonicArray.cpp ├── 897.IncreasingOrderSearchTree.cpp ├── 9. Palindrome Number.cpp ├── 904.FruitIntoBaskets.cpp ├── 905. SortArrayByParity.cpp ├── 91. DecodeWays.cpp ├── 917. ReverseOnlyLetters.cpp ├── 921. MinimumAddToMakeParenthesesValid.cpp ├── 922. SortArrayByParityII.cpp ├── 923.3SumWithMultiplicity.cpp ├── 925. Long Pressed Name.cpp ├── 927. ThreeEqualParts.cpp ├── 938. RangeSumofBST.cpp ├── 940. DistinctSubseqII.cpp ├── 941. ValidMountainArray.cpp ├── 942. DIStringMatch.cpp ├── 944. DeleteColumnsToMakeSorted.cpp ├── 946.ValidateStackSequences.cpp ├── 949. Largest Time for Given Digits.cpp ├── 953. VerifyingAnAlienDictionary.cpp ├── 961. N-RepeatedElementInSize2NArray.cpp ├── 973. KClosestPointstoOrigin.cpp ├── 976.LargestPerimeterTriangle.cpp ├── 977. SquaresOfASortedArray.cpp ├── 99.RecoverBinarySearchTree.cpp ├── 991.BrokenCalculator.cpp ├── 992. Subarrays with K Different Integers.cpp ├── 997. FindTheTownJudge.cpp └── anagram.cpp ├── CONTRIBUTING.md ├── Java ├── 1. Two Sum.java ├── 101. SymmetricTree.java ├── 1019. NextGreaterNodeInLinkedList.java ├── 1029. TwoCityScheduling.java ├── 1041. RobotBoundedInCircle.java ├── 1050. PrimeFactors.java ├── 1051. HeightChecker.java ├── 1053.topKFrequentElements.java ├── 1089. DuplicateZeros.java ├── 1103.Panagram_Check.java ├── 118. PascalsTriangle.java ├── 12.IntegerToRoman.java ├── 1208. GetEqualSubstringsWithinBudget.java ├── 121. BestTimeToBuyAndSell.java ├── 122. BestTimeToBuyAndSell2.java ├── 124.BinaryTreeMaxSumPath.java ├── 1295. Find_Number_with_even.java ├── 1299.ReplaceElementswithGreatestElementonRightSide.java ├── 13.RomanToInteger.java ├── 1310. XOR Queries of a Subarray.java ├── 1315. Sum of Nodes with Even-Valued Grandparent.java ├── 1346. CheckIfNandItsDoubleExist.java ├── 1395. Count number of teams.java ├── 14. longestCommonPrefix.java ├── 142_linkedlist_cycle_2.java ├── 1480.RunningSumof1DArray.java ├── 15.3 Sum.java ├── 151.ReverseWordsInAString.java ├── 1510.StoneGameIV.java ├── 1521.FindAValueOfAMysteriousFunctionClosestToTarget.java ├── 1525.NumberOfGoodWaysToSplitAString.java ├── 187. RepeatedDnaSequences.java ├── 19. RemoveNthNodeFromEndOfList.java ├── 198. HouseRobber.java ├── 2.Add Two Numbers.java ├── 20. ValidParentheses.java ├── 201. Bitwise AND of Numbers Range.java ├── 215.KthElementInAnArray.java ├── 22. generatePara.java ├── 224.BasicCalculator.java ├── 229. MajorityElementII.java ├── 23. MergeKSortedLists.java ├── 26. RemoveDuplicatesfromSortedArray.java ├── 27. RemoveElement.java ├── 283. MoveZeroes.java ├── 287. FindTheDuplicateNumber.java ├── 307. Range Sum Query - Mutable.java ├── 322. CoinChange.java ├── 344. ReverseString.java ├── 35.SearchInsertPosition.java ├── 387.First Unique Character in a String.java ├── 4.MedianOfTwoSortedArrays.java ├── 41. First Missing Positive.java ├── 414.ThirdMaximumNumber.java ├── 42. TrappingRainWater.java ├── 421.MaximumXORofTwoNumbersInAnArray.java ├── 438. FindAllAnagramsInAString.java ├── 442. FindAllDuplicatesInAnArray.java ├── 454.4SumII.java ├── 477. Total Hamming Distance.java ├── 48. RotateImage.java ├── 485. Max_Consecutive_ones.java ├── 5.LongestPalindromicSubstring.java ├── 50. Pow(x, n).java ├── 516. Longest Palindromic Subsequence.java ├── 540. SingleElementInASortedArray.java ├── 541. ReverseString2.java ├── 560. Subarray Sum Equals K.java ├── 572. SubtreeOfAnotherTree.java ├── 62. UniquePath.java ├── 621. Task Scheduler.java ├── 647. Palindromic Substrings.java ├── 724. FindPivotIndex.java ├── 749. ContainVirus.java ├── 75.SortColors.java ├── 763. Partition Label.java ├── 78. Subsets.java ├── 784.LetterCasePermutation.java ├── 79. WordSearch.java ├── 797. AllPathsFromSourceToTarget.java ├── 829. ConsecutiveNumberSum.java ├── 84. LargestRectangleInHistogram.java ├── 88. MergeSortedArrays.java ├── 930. Binary Subarrays With Sum.java ├── 941. ValidMountainArray.java ├── 983. MinimumCostForTickets.java └── Top_K_Frequent_Elements.java ├── LICENSE ├── Python ├── 1.TwoSum.py ├── 1007. MinimumDominoRotationsForEqualRow.py ├── 1013. PartitionArrayIntoThreePartsWithEqualSum.py ├── 1119. RemoveVowelFromString.py ├── 1143. LongestCommonSubsequence.py ├── 118. PascalsTriangle.py ├── 1189. MaximumNumberOfBalloons.py ├── 12. Integer to Roman.py ├── 122.BestTimeToBuyAndSellStock-II.py ├── 1221. SplitAStringInBalancedStrings.py ├── 1232.CheckIfItIsAStraightLine.py ├── 1277. CountSquareSubmatricesWithAllOnes.py ├── 1289.MatrixSpiral.py ├── 13. RomanToInteger.py ├── 1342. NumberOfSteps.py ├── 1351. CountNegativeNumbersInASortedMatrix.py ├── 1356.SortIntegersByNumberof1Bits.py ├── 136.SingleNumber.py ├── 137. SingleNumberII.py ├── 138. CopyListWithRandomPointer.py ├── 1390. FourDivisors.py ├── 14. LongestCommonPrefix.py ├── 1436. DestinationCity.py ├── 1450. NumberOfStudentsDoingHomeworkAtAGivenTime.py ├── 1470. ShuffleTheArray.py ├── 148. SortList.py ├── 1480. RunningSumof1DArray.py ├── 15. 3sum.py ├── 1502.CanMakeArithmeticProgressionFromSequence.py ├── 1588. SumofAllOddLengthSubarrays.py ├── 16. 3SumClosest.py ├── 162.FindPeakElement.py ├── 169.MajorityNumber.py ├── 17. LetterCombinationsOfAPhoneNumber.py ├── 172. FactorialTrailingZeroes.py ├── 19. Remove Nth Node From End of List.py ├── 198. House Robber.py ├── 2. AddTwoNumbers.py ├── 20. ValidParentheses.py ├── 200. Number of Islands.py ├── 204. CountPrimes.py ├── 205.IsomorphicStrings.py ├── 208. ImplementTrie.py ├── 21. Merge Two Sorted Lists.py ├── 21. MergeTwoSortedLists.py ├── 215.KthLargestElementInAnArray.py ├── 217.ContainsDuplicate.py ├── 221. MaximalSquare.py ├── 224. BasicCalculator.py ├── 225.ImplementStackUsingQueues.py ├── 226. InvertBinaryTree.py ├── 227. BasicCalculatorII.py ├── 23. MergeKSortedList.py ├── 230.KthSmallestElementinaBST.py ├── 239. Sliding Window Maximum.py ├── 24. Swap Nodes in Pairs.py ├── 25. ReverseNodesInK-Group.py ├── 26. Remove Duplicates from Sorted Array.py ├── 263.UglyNumbers.py ├── 27. RemoveElement.py ├── 28. Implement strStr().py ├── 287. FindTheDuplicateNumber.py ├── 295. FindMedianFromDataStream.py ├── 3. LongestSubstringWithoutRepeatingCharacters.py ├── 33. Search in Rotated Sorted Array.py ├── 338. CountingBits.py ├── 344. ReverseString.py ├── 347. TopKFrequentElements.py ├── 35. SearchInsertPosition.py ├── 367.ValidPerfectSquare.py ├── 368. LargestDivisibleSubset.py ├── 37. SudokuSolver.py ├── 387.FirstUniqueCharInString.py ├── 39. combinationSum.py ├── 4. MedianOfTwoSortedArrays.py ├── 41. FirstMissingPositive.py ├── 41. firstMissingPositive.py ├── 416. PartitionEqualSubsetSum.py ├── 42.TrappingRainWater.py ├── 43. MultiplyStrings.py ├── 44. WildcardMatching.py ├── 441. ArrangingCoins.py ├── 448.FindAllNumbersDisappearedinanArray.py ├── 455. AssignCookies.py ├── 461.HammingDistance.py ├── 485. MaxConsecutiveOnes.py ├── 49. GroupAnagrams.py ├── 5.LongestPalindromicSubstring.py ├── 500.KeyboardRow.py ├── 504. Base7.py ├── 51. N-Queens.py ├── 559. MaximumDepthOfN-aryTree.py ├── 572. SubtreeOfAnotherTree.py ├── 58. length_of_last_word.py ├── 636. ExclusiveTimeOfFunctions.py ├── 64. MinPathSum.py ├── 647. PalandromicSubstrings.py ├── 66. PlusOne.py ├── 7.ReverseInteger.py ├── 704. BinarySearch.py ├── 728. SelfDividingNumbers.py ├── 73. SetMatrixZeroes.py ├── 766. ToeplitzMatrix.py ├── 767. ReorganizeString.py ├── 771. Jewels and Stone.py ├── 785. IsGraphBipartite.py ├── 8.PalindromeChecker.py ├── 838. Push Dominoes.py ├── 84. maximumAreaHistogram.py ├── 88.MergeSortedArray.py ├── 9.Palindrome Number.py ├── 905.SortArrayByParity.py ├── 938. RangeSumofBST.Py ├── 941. ValidMountainArray.py ├── 953. VerifyingAnAlienDictionary.py ├── 977.SquaresOfASortedArray.py ├── 985. Sum of Even Numbers After Queries.py ├── findMinFibonacciNumbers.py └── longestMountatinSubarray..py ├── README.md └── SQL ├── 175. CombineTwoTables.sql ├── 176. SecondHighestSalary.sql ├── 180. ConsectiveNumbers.sql ├── 181. EmployeesEarningMoreThanTheirManagers.sql ├── 182. DuplicateEmails.sql ├── 183. CustomersWhoNeverOrder.sql ├── 196. DeleteDuplicateEmails.sql ├── 595. Big Countries.sql ├── 601. HumanTrafficOfStadium.sql ├── 601. Human_Traffic_of_Stadium.sql ├── 626. ExchangeSeats.sql ├── 627. SwapSalary.sql └── 628. AvgFemSalGreThanMaleSal.sql /.github/ISSUE_TEMPLATE/create-an-issue.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/.github/ISSUE_TEMPLATE/create-an-issue.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /1854. Maximum Population Year.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/1854. Maximum Population Year.cpp -------------------------------------------------------------------------------- /C++/1. TwoSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1. TwoSum.cpp -------------------------------------------------------------------------------- /C++/10. Regular Expression Matching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/10. Regular Expression Matching.cpp -------------------------------------------------------------------------------- /C++/1007.MinimumDominoRotationsForEqualRow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1007.MinimumDominoRotationsForEqualRow.cpp -------------------------------------------------------------------------------- /C++/101. SymmetricTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/101. SymmetricTree.cpp -------------------------------------------------------------------------------- /C++/1011. Capacity To Ship Packages Within D Days.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1011. Capacity To Ship Packages Within D Days.cpp -------------------------------------------------------------------------------- /C++/1015. Smallest Integer Divisible by K.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1015. Smallest Integer Divisible by K.cpp -------------------------------------------------------------------------------- /C++/102. BinaryTreeLevelOrderTraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/102. BinaryTreeLevelOrderTraversal.cpp -------------------------------------------------------------------------------- /C++/1022. SumofRootToLeafBinaryNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1022. SumofRootToLeafBinaryNumbers.cpp -------------------------------------------------------------------------------- /C++/1023. CammelCaseMatching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1023. CammelCaseMatching.cpp -------------------------------------------------------------------------------- /C++/1024. VideoStitching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1024. VideoStitching.cpp -------------------------------------------------------------------------------- /C++/1025. DivisorGame.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1025. DivisorGame.cpp -------------------------------------------------------------------------------- /C++/1026. Maximum Difference Between Node and Ancestor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1026. Maximum Difference Between Node and Ancestor.cpp -------------------------------------------------------------------------------- /C++/1029. TwoCityScheduling.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1029. TwoCityScheduling.cpp -------------------------------------------------------------------------------- /C++/103. BinaryTreeZigzagLevelOrderTraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/103. BinaryTreeZigzagLevelOrderTraversal.cpp -------------------------------------------------------------------------------- /C++/104. MaximumDepthOfBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/104. MaximumDepthOfBinaryTree.cpp -------------------------------------------------------------------------------- /C++/1046. Last Stone Weight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1046. Last Stone Weight.cpp -------------------------------------------------------------------------------- /C++/1049. LastStoneWeightII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1049. LastStoneWeightII.cpp -------------------------------------------------------------------------------- /C++/105.ConstructBinaryTreefromPreorderandInorderTraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/105.ConstructBinaryTreefromPreorderandInorderTraversal.cpp -------------------------------------------------------------------------------- /C++/1051. HeightChecker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1051. HeightChecker.cpp -------------------------------------------------------------------------------- /C++/107. BinaryTreeLevelOrderTraversalII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/107. BinaryTreeLevelOrderTraversalII.cpp -------------------------------------------------------------------------------- /C++/108. ConvertSortedArraytoBinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/108. ConvertSortedArraytoBinarySearchTree.cpp -------------------------------------------------------------------------------- /C++/1095. Find in Mountain Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1095. Find in Mountain Array.cpp -------------------------------------------------------------------------------- /C++/11. ContainerWithMostWater.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/11. ContainerWithMostWater.cpp -------------------------------------------------------------------------------- /C++/1108. DefangingAnIPAddress.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1108. DefangingAnIPAddress.cpp -------------------------------------------------------------------------------- /C++/111.MinimumDepthOfBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/111.MinimumDepthOfBinaryTree.cpp -------------------------------------------------------------------------------- /C++/112. PathSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/112. PathSum.cpp -------------------------------------------------------------------------------- /C++/1123. Lowest Common Ancestor of Deepest Leaves.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1123. Lowest Common Ancestor of Deepest Leaves.cpp -------------------------------------------------------------------------------- /C++/113.PathSumII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/113.PathSumII.cpp -------------------------------------------------------------------------------- /C++/1134.ArmstrongNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1134.ArmstrongNumber.cpp -------------------------------------------------------------------------------- /C++/1137. N-th Tribonacci Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1137. N-th Tribonacci Number.cpp -------------------------------------------------------------------------------- /C++/115. Distinct Subsequences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/115. Distinct Subsequences.cpp -------------------------------------------------------------------------------- /C++/116. PopulatingNextRightPointersInEachNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/116. PopulatingNextRightPointersInEachNode.cpp -------------------------------------------------------------------------------- /C++/117.PopulatingNextRightPointersInEachNodeII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/117.PopulatingNextRightPointersInEachNodeII.cpp -------------------------------------------------------------------------------- /C++/1170. CompareStringsByFrequencyOfTheSmallestCharacter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1170. CompareStringsByFrequencyOfTheSmallestCharacter.cpp -------------------------------------------------------------------------------- /C++/1171. RemoveZeroSumConsecutiveNodesInLinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1171. RemoveZeroSumConsecutiveNodesInLinkedList.cpp -------------------------------------------------------------------------------- /C++/1172. DinnerPlateStacks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1172. DinnerPlateStacks.cpp -------------------------------------------------------------------------------- /C++/118. PascalTriangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/118. PascalTriangle.cpp -------------------------------------------------------------------------------- /C++/12. Integer to Roman: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/12. Integer to Roman -------------------------------------------------------------------------------- /C++/1202.SmallestStringWithSwaps.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1202.SmallestStringWithSwaps.cpp -------------------------------------------------------------------------------- /C++/1209.RemoveAllAdjacentDuplicatesInStringII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1209.RemoveAllAdjacentDuplicatesInStringII.cpp -------------------------------------------------------------------------------- /C++/121. BestTimetoBuyandSellStock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/121. BestTimetoBuyandSellStock.cpp -------------------------------------------------------------------------------- /C++/1217. Minimum Cost to Move Chips to The Same Position.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1217. Minimum Cost to Move Chips to The Same Position.cpp -------------------------------------------------------------------------------- /C++/1221. SplitaStringInBalancedStrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1221. SplitaStringInBalancedStrings.cpp -------------------------------------------------------------------------------- /C++/1232.CheckIfItIsAStraight Line.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1232.CheckIfItIsAStraight Line.cpp -------------------------------------------------------------------------------- /C++/124. Binary_Tree_Maximum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/124. Binary_Tree_Maximum.cpp -------------------------------------------------------------------------------- /C++/1249.MinimumRemoveToMakeValidParentheses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1249.MinimumRemoveToMakeValidParentheses.cpp -------------------------------------------------------------------------------- /C++/125. ValidPalindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/125. ValidPalindrome.cpp -------------------------------------------------------------------------------- /C++/1260.Shift2DGrid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1260.Shift2DGrid.cpp -------------------------------------------------------------------------------- /C++/1266. Minimum Time Visiting All Points.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1266. Minimum Time Visiting All Points.cpp -------------------------------------------------------------------------------- /C++/127. Word Ladder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/127. Word Ladder.cpp -------------------------------------------------------------------------------- /C++/1277. CountSquareSubmatricesWithAllOnes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1277. CountSquareSubmatricesWithAllOnes.cpp -------------------------------------------------------------------------------- /C++/128. LongestConsecutiveSequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/128. LongestConsecutiveSequence.cpp -------------------------------------------------------------------------------- /C++/1281.SubtractTheProductAndSumOfDigitsOfAnInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1281.SubtractTheProductAndSumOfDigitsOfAnInteger.cpp -------------------------------------------------------------------------------- /C++/1283. Find the Smallest Divisor Given a Threshold.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1283. Find the Smallest Divisor Given a Threshold.cpp -------------------------------------------------------------------------------- /C++/1288. RemoveCoveredIntervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1288. RemoveCoveredIntervals.cpp -------------------------------------------------------------------------------- /C++/129. Sum Root to Leaf Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/129. Sum Root to Leaf Numbers.cpp -------------------------------------------------------------------------------- /C++/1290. Convert Binary Number in a Linked List to Integer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1290. Convert Binary Number in a Linked List to Integer.cpp -------------------------------------------------------------------------------- /C++/1295. Find Numbers with Even Number of Digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1295. Find Numbers with Even Number of Digits.cpp -------------------------------------------------------------------------------- /C++/13. Roman_To_Integer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/13. Roman_To_Integer.cpp -------------------------------------------------------------------------------- /C++/1304. FindNUniqueIntegersSumUpToZero.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1304. FindNUniqueIntegersSumUpToZero.cpp -------------------------------------------------------------------------------- /C++/1305. AllElementsinTwoBinarySearchTrees.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1305. AllElementsinTwoBinarySearchTrees.cpp -------------------------------------------------------------------------------- /C++/1306. Jump Game III.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1306. Jump Game III.cpp -------------------------------------------------------------------------------- /C++/1309.DecryptStringFromAlphabetToIntegerMapping.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1309.DecryptStringFromAlphabetToIntegerMapping.cpp -------------------------------------------------------------------------------- /C++/1310. XORQueriesOfASubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1310. XORQueriesOfASubarray.cpp -------------------------------------------------------------------------------- /C++/1313. Decompress Run-Length Encoded List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1313. Decompress Run-Length Encoded List.cpp -------------------------------------------------------------------------------- /C++/1329.SortTheMatrixDiagonally.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1329.SortTheMatrixDiagonally.cpp -------------------------------------------------------------------------------- /C++/1337.TheKWeakestRowsInAMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1337.TheKWeakestRowsInAMatrix.cpp -------------------------------------------------------------------------------- /C++/134. GasStation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/134. GasStation.cpp -------------------------------------------------------------------------------- /C++/1342. NumberofStepstoReduceaNumbertoZero.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1342. NumberofStepstoReduceaNumbertoZero.cpp -------------------------------------------------------------------------------- /C++/135. Candy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/135. Candy.cpp -------------------------------------------------------------------------------- /C++/1351. Count Negative Numbers in a Sorted Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1351. Count Negative Numbers in a Sorted Matrix.cpp -------------------------------------------------------------------------------- /C++/1356.SortIntegersByTheNumberOf1Bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1356.SortIntegersByTheNumberOf1Bits.cpp -------------------------------------------------------------------------------- /C++/1359.CountAllValidPickupandDeliver Options.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1359.CountAllValidPickupandDeliver Options.cpp -------------------------------------------------------------------------------- /C++/136. Single Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/136. Single Number.cpp -------------------------------------------------------------------------------- /C++/1363. LargestMultipleOfThree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1363. LargestMultipleOfThree.cpp -------------------------------------------------------------------------------- /C++/1365. SmallestNumberThanCurrentNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1365. SmallestNumberThanCurrentNumber.cpp -------------------------------------------------------------------------------- /C++/1379. FindaCorrespondingNodeofaBinaryTreeinaCloneofThatTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1379. FindaCorrespondingNodeofaBinaryTreeinaCloneofThatTree.cpp -------------------------------------------------------------------------------- /C++/138.CopyListWithRandomPointer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/138.CopyListWithRandomPointer.cpp -------------------------------------------------------------------------------- /C++/1389. Create Target Array in the Given Order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1389. Create Target Array in the Given Order.cpp -------------------------------------------------------------------------------- /C++/139. WordBreak.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/139. WordBreak.cpp -------------------------------------------------------------------------------- /C++/1396.DesignUndergroundSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1396.DesignUndergroundSystem.cpp -------------------------------------------------------------------------------- /C++/14. LongestCommonPrefix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/14. LongestCommonPrefix.cpp -------------------------------------------------------------------------------- /C++/1403. Minimum Subsequence in Non-Increasing Order.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1403. Minimum Subsequence in Non-Increasing Order.cpp -------------------------------------------------------------------------------- /C++/1406. StoneGameIII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1406. StoneGameIII.cpp -------------------------------------------------------------------------------- /C++/1408. StringMatchingInAnArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1408. StringMatchingInAnArray.cpp -------------------------------------------------------------------------------- /C++/141. Linked List Cycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/141. Linked List Cycle.cpp -------------------------------------------------------------------------------- /C++/142. LinkedListCycle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/142. LinkedListCycle.cpp -------------------------------------------------------------------------------- /C++/143. Reorder List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/143. Reorder List.cpp -------------------------------------------------------------------------------- /C++/1431. KidsWithTheGreatesNumberOfCandies.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1431. KidsWithTheGreatesNumberOfCandies.cpp -------------------------------------------------------------------------------- /C++/145.BinaryTreePostorderTraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/145.BinaryTreePostorderTraversal.cpp -------------------------------------------------------------------------------- /C++/146. LRUCache.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/146. LRUCache.cpp -------------------------------------------------------------------------------- /C++/1463. CherryPickup2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1463. CherryPickup2.cpp -------------------------------------------------------------------------------- /C++/1464. MaximumProductOfTwoElementsInAnArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1464. MaximumProductOfTwoElementsInAnArray.cpp -------------------------------------------------------------------------------- /C++/1470. ShuffleTheArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1470. ShuffleTheArray.cpp -------------------------------------------------------------------------------- /C++/1476. Subrectangle Queries.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1476. Subrectangle Queries.cpp -------------------------------------------------------------------------------- /C++/148. SortList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/148. SortList.cpp -------------------------------------------------------------------------------- /C++/1480. Running Sum of 1d Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1480. Running Sum of 1d Array.cpp -------------------------------------------------------------------------------- /C++/1486. XOR Operation in an Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1486. XOR Operation in an Array.cpp -------------------------------------------------------------------------------- /C++/1491.AverageSalaryExcludingTheMinimumAndMaximumSalary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1491.AverageSalaryExcludingTheMinimumAndMaximumSalary.cpp -------------------------------------------------------------------------------- /C++/1492.kthfactor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1492.kthfactor.cpp -------------------------------------------------------------------------------- /C++/1496.PathCrossing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1496.PathCrossing.cpp -------------------------------------------------------------------------------- /C++/15. 3Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/15. 3Sum.cpp -------------------------------------------------------------------------------- /C++/1502.CanMakeArithmeticProgressionFromSequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1502.CanMakeArithmeticProgressionFromSequence.cpp -------------------------------------------------------------------------------- /C++/151.ReverseWordsInAString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/151.ReverseWordsInAString.cpp -------------------------------------------------------------------------------- /C++/1510. StoneGameIV.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1510. StoneGameIV.cpp -------------------------------------------------------------------------------- /C++/1512. NumberofGoodPairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1512. NumberofGoodPairs.cpp -------------------------------------------------------------------------------- /C++/152. MaximumProductSubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/152. MaximumProductSubarray.cpp -------------------------------------------------------------------------------- /C++/1520.MaximumNumberOfNonOverlappingSubstrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1520.MaximumNumberOfNonOverlappingSubstrings.cpp -------------------------------------------------------------------------------- /C++/1523.CountOddNumbersInAnIntervalRange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1523.CountOddNumbersInAnIntervalRange.cpp -------------------------------------------------------------------------------- /C++/1525. NumberOfGoodWaysToSplitAString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1525. NumberOfGoodWaysToSplitAString.cpp -------------------------------------------------------------------------------- /C++/1528. Shuffle String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1528. Shuffle String.cpp -------------------------------------------------------------------------------- /C++/153.FindMinimuminRotatedSortedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/153.FindMinimuminRotatedSortedArray.cpp -------------------------------------------------------------------------------- /C++/1539. KthMissingPositiveNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1539. KthMissingPositiveNumber.cpp -------------------------------------------------------------------------------- /C++/154. FindMinimumInRotatedSortedArrayII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/154. FindMinimumInRotatedSortedArrayII.cpp -------------------------------------------------------------------------------- /C++/1544. MakeTheStringGreat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1544. MakeTheStringGreat.cpp -------------------------------------------------------------------------------- /C++/155. Min Stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/155. Min Stack.cpp -------------------------------------------------------------------------------- /C++/1551. MinimumOperationsToMakeArrayEqual.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1551. MinimumOperationsToMakeArrayEqual.cpp -------------------------------------------------------------------------------- /C++/1557.MinimumNumberOfVerticesToReachAllNodes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1557.MinimumNumberOfVerticesToReachAllNodes.cpp -------------------------------------------------------------------------------- /C++/1561. MaximumNumberOfCoinsYouCanGet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1561. MaximumNumberOfCoinsYouCanGet.cpp -------------------------------------------------------------------------------- /C++/1563. StoneGameV.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1563. StoneGameV.cpp -------------------------------------------------------------------------------- /C++/1572. Matrix Diagonal Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1572. Matrix Diagonal Sum.cpp -------------------------------------------------------------------------------- /C++/1588. SumofAllOddLengthSubarrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1588. SumofAllOddLengthSubarrays.cpp -------------------------------------------------------------------------------- /C++/1589. MaximumSumObtainedOfAnyPermutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1589. MaximumSumObtainedOfAnyPermutation.cpp -------------------------------------------------------------------------------- /C++/1603. Design Parking System.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1603. Design Parking System.cpp -------------------------------------------------------------------------------- /C++/1605. FindValidMatrixGivenRowAndColumnSums.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1605. FindValidMatrixGivenRowAndColumnSums.cpp -------------------------------------------------------------------------------- /C++/1608. Special Array With X Elements Greater Than or Equal X.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1608. Special Array With X Elements Greater Than or Equal X.cpp -------------------------------------------------------------------------------- /C++/1610. MaximumNumberOfVisiblePoints.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1610. MaximumNumberOfVisiblePoints.cpp -------------------------------------------------------------------------------- /C++/1614. MaximumNestingDepthOfTheParentheses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1614. MaximumNestingDepthOfTheParentheses.cpp -------------------------------------------------------------------------------- /C++/162.FindPeakElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/162.FindPeakElement.cpp -------------------------------------------------------------------------------- /C++/1626. Best Team With No Conflicts.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1626. Best Team With No Conflicts.cpp -------------------------------------------------------------------------------- /C++/1627. Graph Connectivity With Threshold.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1627. Graph Connectivity With Threshold.cpp -------------------------------------------------------------------------------- /C++/1629. SlowestKey.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1629. SlowestKey.cpp -------------------------------------------------------------------------------- /C++/164. Maximum Gap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/164. Maximum Gap.cpp -------------------------------------------------------------------------------- /C++/1646. Get Maximum in Generated Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1646. Get Maximum in Generated Array.cpp -------------------------------------------------------------------------------- /C++/1647. Minimum Deletions to Make Character Frequencies Unique.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1647. Minimum Deletions to Make Character Frequencies Unique.cpp -------------------------------------------------------------------------------- /C++/1663.SmallestStringWithAGivenNumericValue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1663.SmallestStringWithAGivenNumericValue.cpp -------------------------------------------------------------------------------- /C++/167. TwoSumII-InputArrayIsSorted.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/167. TwoSumII-InputArrayIsSorted.cpp -------------------------------------------------------------------------------- /C++/1672.RichestCustomerWealth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1672.RichestCustomerWealth.cpp -------------------------------------------------------------------------------- /C++/1678.GoalParserInterpretation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1678.GoalParserInterpretation.cpp -------------------------------------------------------------------------------- /C++/1679.MaxNumberOfK-SumPairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1679.MaxNumberOfK-SumPairs.cpp -------------------------------------------------------------------------------- /C++/169. MajorityElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/169. MajorityElement.cpp -------------------------------------------------------------------------------- /C++/169. Majority_Element.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/169. Majority_Element.cpp -------------------------------------------------------------------------------- /C++/17. LetterCombinationsOfAPhoneNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/17. LetterCombinationsOfAPhoneNumber.cpp -------------------------------------------------------------------------------- /C++/1721.SwappingNodesInALinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1721.SwappingNodesInALinkedList.cpp -------------------------------------------------------------------------------- /C++/173.BinarySearchTreeIterator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/173.BinarySearchTreeIterator.cpp -------------------------------------------------------------------------------- /C++/1768.MergeStringsAlternately.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1768.MergeStringsAlternately.cpp -------------------------------------------------------------------------------- /C++/1773.CountItemsMatchingARule.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1773.CountItemsMatchingARule.cpp -------------------------------------------------------------------------------- /C++/1779.FindNearestPointThat HasTheSame XorYCoordinate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1779.FindNearestPointThat HasTheSame XorYCoordinate.cpp -------------------------------------------------------------------------------- /C++/179.Largest Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/179.Largest Number.cpp -------------------------------------------------------------------------------- /C++/1790.CheckIfOneStringSwapCanMakeStringsEqual.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1790.CheckIfOneStringSwapCanMakeStringsEqual.cpp -------------------------------------------------------------------------------- /C++/18. FourSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/18. FourSum.cpp -------------------------------------------------------------------------------- /C++/1822.SignOfTheProductOfAnArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1822.SignOfTheProductOfAnArray.cpp -------------------------------------------------------------------------------- /C++/187. RepeatedDNASequences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/187. RepeatedDNASequences.cpp -------------------------------------------------------------------------------- /C++/189. Rotated_Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/189. Rotated_Array.cpp -------------------------------------------------------------------------------- /C++/19.RemoveNthNodeFromEndofList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/19.RemoveNthNodeFromEndofList.cpp -------------------------------------------------------------------------------- /C++/191.NumberOf1Bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/191.NumberOf1Bits.cpp -------------------------------------------------------------------------------- /C++/1929. Concatenation of Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/1929. Concatenation of Array.cpp -------------------------------------------------------------------------------- /C++/198. HouseRobber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/198. HouseRobber.cpp -------------------------------------------------------------------------------- /C++/199. BinaryTreeRightSideView.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/199. BinaryTreeRightSideView.cpp -------------------------------------------------------------------------------- /C++/2. AddTwoNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/2. AddTwoNumbers.cpp -------------------------------------------------------------------------------- /C++/20. ValidParenthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/20. ValidParenthesis.cpp -------------------------------------------------------------------------------- /C++/200. NumberOfIslands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/200. NumberOfIslands.cpp -------------------------------------------------------------------------------- /C++/201. BitwiseANDofNumbersRange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/201. BitwiseANDofNumbersRange.cpp -------------------------------------------------------------------------------- /C++/202. HappyNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/202. HappyNumber.cpp -------------------------------------------------------------------------------- /C++/203. RemoveLinkedListElements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/203. RemoveLinkedListElements.cpp -------------------------------------------------------------------------------- /C++/204.CountPrimes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/204.CountPrimes.cpp -------------------------------------------------------------------------------- /C++/206.ReverseLinkedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/206.ReverseLinkedList.cpp -------------------------------------------------------------------------------- /C++/21. MergeTwoSortedLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/21. MergeTwoSortedLists.cpp -------------------------------------------------------------------------------- /C++/2139.MinimumMovesToReachTargetScore.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/2139.MinimumMovesToReachTargetScore.cpp -------------------------------------------------------------------------------- /C++/216.CombinationSumIII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/216.CombinationSumIII.cpp -------------------------------------------------------------------------------- /C++/217. ContainsDuplicate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/217. ContainsDuplicate.cpp -------------------------------------------------------------------------------- /C++/22. GenerateParenthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/22. GenerateParenthesis.cpp -------------------------------------------------------------------------------- /C++/220. ContainsDuplicateIII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/220. ContainsDuplicateIII.cpp -------------------------------------------------------------------------------- /C++/221. Maximal Square.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/221. Maximal Square.cpp -------------------------------------------------------------------------------- /C++/225. Implement Stack Using Queues.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/225. Implement Stack Using Queues.cpp -------------------------------------------------------------------------------- /C++/23. Merge_k_Sorted_Lists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/23. Merge_k_Sorted_Lists.cpp -------------------------------------------------------------------------------- /C++/230.KthSmallesElementInABST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/230.KthSmallesElementInABST.cpp -------------------------------------------------------------------------------- /C++/231. PowerOfTwo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/231. PowerOfTwo.cpp -------------------------------------------------------------------------------- /C++/232. Implement Queue Using Stacks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/232. Implement Queue Using Stacks.cpp -------------------------------------------------------------------------------- /C++/235. Lowest Common Ancestor of a Binary Search Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/235. Lowest Common Ancestor of a Binary Search Tree.cpp -------------------------------------------------------------------------------- /C++/236. LowestCommonAncestorOfABinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/236. LowestCommonAncestorOfABinaryTree.cpp -------------------------------------------------------------------------------- /C++/239. SlidingWindowMaximum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/239. SlidingWindowMaximum.cpp -------------------------------------------------------------------------------- /C++/24. Swap_Nodes_In_Pairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/24. Swap_Nodes_In_Pairs.cpp -------------------------------------------------------------------------------- /C++/240.SearchA2DMatrixII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/240.SearchA2DMatrixII.cpp -------------------------------------------------------------------------------- /C++/242.ValidAnagram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/242.ValidAnagram.cpp -------------------------------------------------------------------------------- /C++/25. Reverse Nodes in k-group.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/25. Reverse Nodes in k-group.cpp -------------------------------------------------------------------------------- /C++/26. RemoveDuplicatesFromSortedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/26. RemoveDuplicatesFromSortedArray.cpp -------------------------------------------------------------------------------- /C++/268. MissingNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/268. MissingNumber.cpp -------------------------------------------------------------------------------- /C++/27. RemoveElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/27. RemoveElement.cpp -------------------------------------------------------------------------------- /C++/28. Implement strStr().cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/28. Implement strStr().cpp -------------------------------------------------------------------------------- /C++/283. MoveZeroes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/283. MoveZeroes.cpp -------------------------------------------------------------------------------- /C++/284.PeekingIterator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/284.PeekingIterator.cpp -------------------------------------------------------------------------------- /C++/287. Find the Duplicate Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/287. Find the Duplicate Number.cpp -------------------------------------------------------------------------------- /C++/289. GameOfLife.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/289. GameOfLife.cpp -------------------------------------------------------------------------------- /C++/29.DivideTwoIntegers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/29.DivideTwoIntegers.cpp -------------------------------------------------------------------------------- /C++/295. FindMedianfromDataStream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/295. FindMedianfromDataStream.cpp -------------------------------------------------------------------------------- /C++/297. SerializeAndDeserializeBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/297. SerializeAndDeserializeBinaryTree.cpp -------------------------------------------------------------------------------- /C++/299. Bulls_and_Cows.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/299. Bulls_and_Cows.cpp -------------------------------------------------------------------------------- /C++/3. LongestSubstringWithoutRepeatingCharacters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/3. LongestSubstringWithoutRepeatingCharacters.cpp -------------------------------------------------------------------------------- /C++/300. LongestIncreasingSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/300. LongestIncreasingSubsequence.cpp -------------------------------------------------------------------------------- /C++/303.RangeSumQueryImmutable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/303.RangeSumQueryImmutable.cpp -------------------------------------------------------------------------------- /C++/31. NextPermutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/31. NextPermutation.cpp -------------------------------------------------------------------------------- /C++/312. BurstBalloons.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/312. BurstBalloons.cpp -------------------------------------------------------------------------------- /C++/316.RemoveDuplicateLetters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/316.RemoveDuplicateLetters.cpp -------------------------------------------------------------------------------- /C++/319. BulbSwitcher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/319. BulbSwitcher.cpp -------------------------------------------------------------------------------- /C++/32. LongestValidParenthesis.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/32. LongestValidParenthesis.cpp -------------------------------------------------------------------------------- /C++/322. CoinChange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/322. CoinChange.cpp -------------------------------------------------------------------------------- /C++/326. PowerOfThree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/326. PowerOfThree.cpp -------------------------------------------------------------------------------- /C++/33.SearchInRotatedSortedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/33.SearchInRotatedSortedArray.cpp -------------------------------------------------------------------------------- /C++/334. Increasing Triplet Subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/334. Increasing Triplet Subsequence.cpp -------------------------------------------------------------------------------- /C++/337. House Robber III.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/337. House Robber III.cpp -------------------------------------------------------------------------------- /C++/338. CountingBits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/338. CountingBits.cpp -------------------------------------------------------------------------------- /C++/34. FindFirstAndLastPositionOfElementinSortedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/34. FindFirstAndLastPositionOfElementinSortedArray.cpp -------------------------------------------------------------------------------- /C++/341. FlattenNestedListIterator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/341. FlattenNestedListIterator.cpp -------------------------------------------------------------------------------- /C++/342.PowerOfFour.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/342.PowerOfFour.cpp -------------------------------------------------------------------------------- /C++/344.ReverseString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/344.ReverseString.cpp -------------------------------------------------------------------------------- /C++/347. TopKFrequentElements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/347. TopKFrequentElements.cpp -------------------------------------------------------------------------------- /C++/35. SearchInsertPosition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/35. SearchInsertPosition.cpp -------------------------------------------------------------------------------- /C++/350.IntersectionOfTwoArraysII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/350.IntersectionOfTwoArraysII.cpp -------------------------------------------------------------------------------- /C++/355. DesignTwitter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/355. DesignTwitter.cpp -------------------------------------------------------------------------------- /C++/36. ValidSudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/36. ValidSudoku.cpp -------------------------------------------------------------------------------- /C++/367. ValidPerfectSquare.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/367. ValidPerfectSquare.cpp -------------------------------------------------------------------------------- /C++/38. CountAndSay.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/38. CountAndSay.cpp -------------------------------------------------------------------------------- /C++/380. Insert Delete GetRandom O(1).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/380. Insert Delete GetRandom O(1).cpp -------------------------------------------------------------------------------- /C++/383. RansomNote.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/383. RansomNote.cpp -------------------------------------------------------------------------------- /C++/389. FindtheDifference.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/389. FindtheDifference.cpp -------------------------------------------------------------------------------- /C++/39. Combination Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/39. Combination Sum.cpp -------------------------------------------------------------------------------- /C++/392. IsSubsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/392. IsSubsequence.cpp -------------------------------------------------------------------------------- /C++/394. Decode String.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/394. Decode String.cpp -------------------------------------------------------------------------------- /C++/395. Longest Substring with At Least K Repeating Characters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/395. Longest Substring with At Least K Repeating Characters.cpp -------------------------------------------------------------------------------- /C++/396. RotateFunction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/396. RotateFunction.cpp -------------------------------------------------------------------------------- /C++/399.EvaluateDivision.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/399.EvaluateDivision.cpp -------------------------------------------------------------------------------- /C++/4. MedianOfTwoSortedArrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/4. MedianOfTwoSortedArrays.cpp -------------------------------------------------------------------------------- /C++/40.CombinationSumII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/40.CombinationSumII.cpp -------------------------------------------------------------------------------- /C++/404.SumOfLeftLeaves.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/404.SumOfLeftLeaves.cpp -------------------------------------------------------------------------------- /C++/405. ConvertNumberToHexadecimal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/405. ConvertNumberToHexadecimal.cpp -------------------------------------------------------------------------------- /C++/41. FirstMissingPositive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/41. FirstMissingPositive.cpp -------------------------------------------------------------------------------- /C++/410.SplitArrayLargestSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/410.SplitArrayLargestSum.cpp -------------------------------------------------------------------------------- /C++/413.ArithmeticSlices.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/413.ArithmeticSlices.cpp -------------------------------------------------------------------------------- /C++/414.PartitionEqualSubsetSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/414.PartitionEqualSubsetSum.cpp -------------------------------------------------------------------------------- /C++/42. TrappingRainWater.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/42. TrappingRainWater.cpp -------------------------------------------------------------------------------- /C++/437.PathSumIII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/437.PathSumIII.cpp -------------------------------------------------------------------------------- /C++/438. FindAllAnagramsInAString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/438. FindAllAnagramsInAString.cpp -------------------------------------------------------------------------------- /C++/44. WildcardMatching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/44. WildcardMatching.cpp -------------------------------------------------------------------------------- /C++/445. Add Two Numbers II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/445. Add Two Numbers II.cpp -------------------------------------------------------------------------------- /C++/448. Find_All_Numbers_Disappeared_in_an_Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/448. Find_All_Numbers_Disappeared_in_an_Array.cpp -------------------------------------------------------------------------------- /C++/451. Sort Characters By Frequency.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/451. Sort Characters By Frequency.cpp -------------------------------------------------------------------------------- /C++/458. Poor Pigs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/458. Poor Pigs.cpp -------------------------------------------------------------------------------- /C++/46. Permutations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/46. Permutations.cpp -------------------------------------------------------------------------------- /C++/461. HammingDistance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/461. HammingDistance.cpp -------------------------------------------------------------------------------- /C++/47. Permutations II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/47. Permutations II.cpp -------------------------------------------------------------------------------- /C++/476. NumberComplement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/476. NumberComplement.cpp -------------------------------------------------------------------------------- /C++/477. TotalHammingDistance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/477. TotalHammingDistance.cpp -------------------------------------------------------------------------------- /C++/48. RotateImage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/48. RotateImage.cpp -------------------------------------------------------------------------------- /C++/49. Group_Anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/49. Group_Anagrams.cpp -------------------------------------------------------------------------------- /C++/496.NextGreaterElementI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/496.NextGreaterElementI.cpp -------------------------------------------------------------------------------- /C++/5. LongestPalindromicSubstring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/5. LongestPalindromicSubstring.cpp -------------------------------------------------------------------------------- /C++/50. Pow-function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/50. Pow-function.cpp -------------------------------------------------------------------------------- /C++/500. KeyboardRow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/500. KeyboardRow.cpp -------------------------------------------------------------------------------- /C++/504. Base 7.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/504. Base 7.cpp -------------------------------------------------------------------------------- /C++/506. Relative Ranks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/506. Relative Ranks.cpp -------------------------------------------------------------------------------- /C++/509.FibonacciNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/509.FibonacciNumber.cpp -------------------------------------------------------------------------------- /C++/51.NQueens.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/51.NQueens.cpp -------------------------------------------------------------------------------- /C++/53. Maximum Subarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/53. Maximum Subarray.cpp -------------------------------------------------------------------------------- /C++/532. K-diffPairsInAnArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/532. K-diffPairsInAnArray.cpp -------------------------------------------------------------------------------- /C++/535.EncodeAndDecodeTinyURL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/535.EncodeAndDecodeTinyURL.cpp -------------------------------------------------------------------------------- /C++/538.ConvertBSTtoGreaterTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/538.ConvertBSTtoGreaterTree.cpp -------------------------------------------------------------------------------- /C++/54. SpiralMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/54. SpiralMatrix.cpp -------------------------------------------------------------------------------- /C++/540. SingleElementInASortedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/540. SingleElementInASortedArray.cpp -------------------------------------------------------------------------------- /C++/542. 01Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/542. 01Matrix.cpp -------------------------------------------------------------------------------- /C++/543. DiameterOfBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/543. DiameterOfBinaryTree.cpp -------------------------------------------------------------------------------- /C++/547. FriendCircles.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/547. FriendCircles.cpp -------------------------------------------------------------------------------- /C++/559. MaximumDepthOfN-aryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/559. MaximumDepthOfN-aryTree.cpp -------------------------------------------------------------------------------- /C++/56. MergeIntervals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/56. MergeIntervals.cpp -------------------------------------------------------------------------------- /C++/561. Array Partition I.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/561. Array Partition I.cpp -------------------------------------------------------------------------------- /C++/563. Binary Tree Tilt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/563. Binary Tree Tilt.cpp -------------------------------------------------------------------------------- /C++/566.ReshapeTheMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/566.ReshapeTheMatrix.cpp -------------------------------------------------------------------------------- /C++/581.ShortestUnsortedContinuousSubarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/581.ShortestUnsortedContinuousSubarray.cpp -------------------------------------------------------------------------------- /C++/589.N-aryTreePreorderTraversal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/589.N-aryTreePreorderTraversal.cpp -------------------------------------------------------------------------------- /C++/59.SpiralMatrixII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/59.SpiralMatrixII.cpp -------------------------------------------------------------------------------- /C++/593. Valid Square.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/593. Valid Square.cpp -------------------------------------------------------------------------------- /C++/6. ZigzagConversion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/6. ZigzagConversion.cpp -------------------------------------------------------------------------------- /C++/605. CanPlaceFlowers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/605. CanPlaceFlowers.cpp -------------------------------------------------------------------------------- /C++/606. ConstructStringFromBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/606. ConstructStringFromBinaryTree.cpp -------------------------------------------------------------------------------- /C++/61. RotateList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/61. RotateList.cpp -------------------------------------------------------------------------------- /C++/617. MergeTwoBinaryTrees.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/617. MergeTwoBinaryTrees.cpp -------------------------------------------------------------------------------- /C++/62.UniquePaths.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/62.UniquePaths.cpp -------------------------------------------------------------------------------- /C++/621. Task Scheduler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/621. Task Scheduler.cpp -------------------------------------------------------------------------------- /C++/633. SumOfSquareNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/633. SumOfSquareNumbers.cpp -------------------------------------------------------------------------------- /C++/637.AverageOfLevelsInBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/637.AverageOfLevelsInBinaryTree.cpp -------------------------------------------------------------------------------- /C++/639. DecodeWaysII.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/639. DecodeWaysII.CPP -------------------------------------------------------------------------------- /C++/65. ValidNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/65. ValidNumber.cpp -------------------------------------------------------------------------------- /C++/654. MaximumBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/654. MaximumBinaryTree.cpp -------------------------------------------------------------------------------- /C++/66. PlusOne.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/66. PlusOne.cpp -------------------------------------------------------------------------------- /C++/665. Non-decreasingArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/665. Non-decreasingArray.cpp -------------------------------------------------------------------------------- /C++/669.TrimABinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/669.TrimABinarySearchTree.cpp -------------------------------------------------------------------------------- /C++/67. AddBinary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/67. AddBinary.cpp -------------------------------------------------------------------------------- /C++/680.ValidPalindromeII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/680.ValidPalindromeII.cpp -------------------------------------------------------------------------------- /C++/682.BaseballGame.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/682.BaseballGame.cpp -------------------------------------------------------------------------------- /C++/693. BinaryNumberwithAlternatingBits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/693. BinaryNumberwithAlternatingBits.cpp -------------------------------------------------------------------------------- /C++/7. Reverse_Integer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/7. Reverse_Integer.cpp -------------------------------------------------------------------------------- /C++/7.ReverseInteger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/7.ReverseInteger.cpp -------------------------------------------------------------------------------- /C++/700.SearchInABinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/700.SearchInABinarySearchTree.cpp -------------------------------------------------------------------------------- /C++/701. InsertIntoABinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/701. InsertIntoABinarySearchTree.cpp -------------------------------------------------------------------------------- /C++/703.KthLargestElementInAStream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/703.KthLargestElementInAStream.cpp -------------------------------------------------------------------------------- /C++/704. BinarySearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/704. BinarySearch.cpp -------------------------------------------------------------------------------- /C++/705.DesignHashSet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/705.DesignHashSet.cpp -------------------------------------------------------------------------------- /C++/706.DesignHashMap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/706.DesignHashMap.cpp -------------------------------------------------------------------------------- /C++/709. To Lower Case.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/709. To Lower Case.cpp -------------------------------------------------------------------------------- /C++/71.SimplifyPath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/71.SimplifyPath.cpp -------------------------------------------------------------------------------- /C++/714. BestTimetoBuyandSellStockwithTransactionFee.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/714. BestTimetoBuyandSellStockwithTransactionFee.cpp -------------------------------------------------------------------------------- /C++/72. Edit_Distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/72. Edit_Distance.cpp -------------------------------------------------------------------------------- /C++/720.LongestWordInDictionary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/720.LongestWordInDictionary.cpp -------------------------------------------------------------------------------- /C++/73. SetMatrixZeroes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/73. SetMatrixZeroes.cpp -------------------------------------------------------------------------------- /C++/730. CountDifferentPalindromicSubsequences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/730. CountDifferentPalindromicSubsequences.cpp -------------------------------------------------------------------------------- /C++/733. FloodFill.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/733. FloodFill.cpp -------------------------------------------------------------------------------- /C++/735. Asteroid Collision.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/735. Asteroid Collision.cpp -------------------------------------------------------------------------------- /C++/74. SearchA2DMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/74. SearchA2DMatrix.cpp -------------------------------------------------------------------------------- /C++/740.DeleteAndEarn.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/740.DeleteAndEarn.cpp -------------------------------------------------------------------------------- /C++/744. FindSmallestLetterGreaterThanTarget.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/744. FindSmallestLetterGreaterThanTarget.cpp -------------------------------------------------------------------------------- /C++/746. MinCostClimbingStairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/746. MinCostClimbingStairs.cpp -------------------------------------------------------------------------------- /C++/75.SortColors.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/75.SortColors.cpp -------------------------------------------------------------------------------- /C++/763. Partition Labels.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/763. Partition Labels.cpp -------------------------------------------------------------------------------- /C++/765. Couples Holding Hands.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/765. Couples Holding Hands.cpp -------------------------------------------------------------------------------- /C++/766. Toeplitz Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/766. Toeplitz Matrix.cpp -------------------------------------------------------------------------------- /C++/77. Combinations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/77. Combinations.cpp -------------------------------------------------------------------------------- /C++/771. JewelsandStones.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/771. JewelsandStones.cpp -------------------------------------------------------------------------------- /C++/78. SubsetsOfAGivenArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/78. SubsetsOfAGivenArray.cpp -------------------------------------------------------------------------------- /C++/780. ReachingPoints.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/780. ReachingPoints.cpp -------------------------------------------------------------------------------- /C++/785.IsGraphBipartite.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/785.IsGraphBipartite.cpp -------------------------------------------------------------------------------- /C++/79.WordSearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/79.WordSearch.cpp -------------------------------------------------------------------------------- /C++/799. Champagne Tower.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/799. Champagne Tower.cpp -------------------------------------------------------------------------------- /C++/8. StringToInteger(atoi).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/8. StringToInteger(atoi).cpp -------------------------------------------------------------------------------- /C++/80. RemoveDuplicatesfromSortedArrayII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/80. RemoveDuplicatesfromSortedArrayII.cpp -------------------------------------------------------------------------------- /C++/804. UniqueMorseCodeWords.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/804. UniqueMorseCodeWords.cpp -------------------------------------------------------------------------------- /C++/805. SplitArrayWithSameAverage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/805. SplitArrayWithSameAverage.cpp -------------------------------------------------------------------------------- /C++/81. Search in Rotated Sorted Array II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/81. Search in Rotated Sorted Array II.cpp -------------------------------------------------------------------------------- /C++/812. LargestTriangleArea.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/812. LargestTriangleArea.cpp -------------------------------------------------------------------------------- /C++/82. RemoveDuplicatesFromSortedListII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/82. RemoveDuplicatesFromSortedListII.cpp -------------------------------------------------------------------------------- /C++/829. ConsecutiveNumbersSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/829. ConsecutiveNumbersSum.cpp -------------------------------------------------------------------------------- /C++/83. RemoveDuplicatesFromSortedList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/83. RemoveDuplicatesFromSortedList.cpp -------------------------------------------------------------------------------- /C++/832. Flipping an Image.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/832. Flipping an Image.cpp -------------------------------------------------------------------------------- /C++/834. Sum of Distances in Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/834. Sum of Distances in Tree.cpp -------------------------------------------------------------------------------- /C++/84. LargestRectangleInHistogram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/84. LargestRectangleInHistogram.cpp -------------------------------------------------------------------------------- /C++/844. BackspaceStringCompare.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/844. BackspaceStringCompare.cpp -------------------------------------------------------------------------------- /C++/845. LongestMountainInArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/845. LongestMountainInArray.cpp -------------------------------------------------------------------------------- /C++/85. Maximal_Rectangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/85. Maximal_Rectangle.cpp -------------------------------------------------------------------------------- /C++/852. Peak Index in a Mountain Array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/852. Peak Index in a Mountain Array.cpp -------------------------------------------------------------------------------- /C++/855. ExamRoom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/855. ExamRoom.cpp -------------------------------------------------------------------------------- /C++/856. Score of Parentheses.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/856. Score of Parentheses.cpp -------------------------------------------------------------------------------- /C++/858. Mirror Reflection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/858. Mirror Reflection.cpp -------------------------------------------------------------------------------- /C++/859. BuddyStrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/859. BuddyStrings.cpp -------------------------------------------------------------------------------- /C++/860. LemonadeChange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/860. LemonadeChange.cpp -------------------------------------------------------------------------------- /C++/867. TransposeMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/867. TransposeMatrix.cpp -------------------------------------------------------------------------------- /C++/87. ScrambleString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/87. ScrambleString.cpp -------------------------------------------------------------------------------- /C++/871. MinimumNumberOfRefuelingStops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/871. MinimumNumberOfRefuelingStops.cpp -------------------------------------------------------------------------------- /C++/875. KokoEatingBananas.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/875. KokoEatingBananas.cpp -------------------------------------------------------------------------------- /C++/876. Middle of the Linked List.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/876. Middle of the Linked List.cpp -------------------------------------------------------------------------------- /C++/88. MergeSortedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/88. MergeSortedArray.cpp -------------------------------------------------------------------------------- /C++/881.BoatsToSavePeople.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/881.BoatsToSavePeople.cpp -------------------------------------------------------------------------------- /C++/887. SuperEggDrop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/887. SuperEggDrop.cpp -------------------------------------------------------------------------------- /C++/89. GrayCode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/89. GrayCode.cpp -------------------------------------------------------------------------------- /C++/890. Find and Replace Pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/890. Find and Replace Pattern.cpp -------------------------------------------------------------------------------- /C++/895. MaximumFrequencyStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/895. MaximumFrequencyStack.cpp -------------------------------------------------------------------------------- /C++/896. MonotonicArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/896. MonotonicArray.cpp -------------------------------------------------------------------------------- /C++/897.IncreasingOrderSearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/897.IncreasingOrderSearchTree.cpp -------------------------------------------------------------------------------- /C++/9. Palindrome Number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/9. Palindrome Number.cpp -------------------------------------------------------------------------------- /C++/904.FruitIntoBaskets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/904.FruitIntoBaskets.cpp -------------------------------------------------------------------------------- /C++/905. SortArrayByParity.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/905. SortArrayByParity.cpp -------------------------------------------------------------------------------- /C++/91. DecodeWays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/91. DecodeWays.cpp -------------------------------------------------------------------------------- /C++/917. ReverseOnlyLetters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/917. ReverseOnlyLetters.cpp -------------------------------------------------------------------------------- /C++/921. MinimumAddToMakeParenthesesValid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/921. MinimumAddToMakeParenthesesValid.cpp -------------------------------------------------------------------------------- /C++/922. SortArrayByParityII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/922. SortArrayByParityII.cpp -------------------------------------------------------------------------------- /C++/923.3SumWithMultiplicity.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/923.3SumWithMultiplicity.cpp -------------------------------------------------------------------------------- /C++/925. Long Pressed Name.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/925. Long Pressed Name.cpp -------------------------------------------------------------------------------- /C++/927. ThreeEqualParts.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/927. ThreeEqualParts.cpp -------------------------------------------------------------------------------- /C++/938. RangeSumofBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/938. RangeSumofBST.cpp -------------------------------------------------------------------------------- /C++/940. DistinctSubseqII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/940. DistinctSubseqII.cpp -------------------------------------------------------------------------------- /C++/941. ValidMountainArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/941. ValidMountainArray.cpp -------------------------------------------------------------------------------- /C++/942. DIStringMatch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/942. DIStringMatch.cpp -------------------------------------------------------------------------------- /C++/944. DeleteColumnsToMakeSorted.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/944. DeleteColumnsToMakeSorted.cpp -------------------------------------------------------------------------------- /C++/946.ValidateStackSequences.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/946.ValidateStackSequences.cpp -------------------------------------------------------------------------------- /C++/949. Largest Time for Given Digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/949. Largest Time for Given Digits.cpp -------------------------------------------------------------------------------- /C++/953. VerifyingAnAlienDictionary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/953. VerifyingAnAlienDictionary.cpp -------------------------------------------------------------------------------- /C++/961. N-RepeatedElementInSize2NArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/961. N-RepeatedElementInSize2NArray.cpp -------------------------------------------------------------------------------- /C++/973. KClosestPointstoOrigin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/973. KClosestPointstoOrigin.cpp -------------------------------------------------------------------------------- /C++/976.LargestPerimeterTriangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/976.LargestPerimeterTriangle.cpp -------------------------------------------------------------------------------- /C++/977. SquaresOfASortedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/977. SquaresOfASortedArray.cpp -------------------------------------------------------------------------------- /C++/99.RecoverBinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/99.RecoverBinarySearchTree.cpp -------------------------------------------------------------------------------- /C++/991.BrokenCalculator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/991.BrokenCalculator.cpp -------------------------------------------------------------------------------- /C++/992. Subarrays with K Different Integers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/992. Subarrays with K Different Integers.cpp -------------------------------------------------------------------------------- /C++/997. FindTheTownJudge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/997. FindTheTownJudge.cpp -------------------------------------------------------------------------------- /C++/anagram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/C++/anagram.cpp -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Java/1. Two Sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1. Two Sum.java -------------------------------------------------------------------------------- /Java/101. SymmetricTree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/101. SymmetricTree.java -------------------------------------------------------------------------------- /Java/1019. NextGreaterNodeInLinkedList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1019. NextGreaterNodeInLinkedList.java -------------------------------------------------------------------------------- /Java/1029. TwoCityScheduling.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1029. TwoCityScheduling.java -------------------------------------------------------------------------------- /Java/1041. RobotBoundedInCircle.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1041. RobotBoundedInCircle.java -------------------------------------------------------------------------------- /Java/1050. PrimeFactors.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1050. PrimeFactors.java -------------------------------------------------------------------------------- /Java/1051. HeightChecker.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1051. HeightChecker.java -------------------------------------------------------------------------------- /Java/1053.topKFrequentElements.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1053.topKFrequentElements.java -------------------------------------------------------------------------------- /Java/1089. DuplicateZeros.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1089. DuplicateZeros.java -------------------------------------------------------------------------------- /Java/1103.Panagram_Check.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1103.Panagram_Check.java -------------------------------------------------------------------------------- /Java/118. PascalsTriangle.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/118. PascalsTriangle.java -------------------------------------------------------------------------------- /Java/12.IntegerToRoman.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/12.IntegerToRoman.java -------------------------------------------------------------------------------- /Java/1208. GetEqualSubstringsWithinBudget.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1208. GetEqualSubstringsWithinBudget.java -------------------------------------------------------------------------------- /Java/121. BestTimeToBuyAndSell.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/121. BestTimeToBuyAndSell.java -------------------------------------------------------------------------------- /Java/122. BestTimeToBuyAndSell2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/122. BestTimeToBuyAndSell2.java -------------------------------------------------------------------------------- /Java/124.BinaryTreeMaxSumPath.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/124.BinaryTreeMaxSumPath.java -------------------------------------------------------------------------------- /Java/1295. Find_Number_with_even.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1295. Find_Number_with_even.java -------------------------------------------------------------------------------- /Java/1299.ReplaceElementswithGreatestElementonRightSide.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1299.ReplaceElementswithGreatestElementonRightSide.java -------------------------------------------------------------------------------- /Java/13.RomanToInteger.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/13.RomanToInteger.java -------------------------------------------------------------------------------- /Java/1310. XOR Queries of a Subarray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1310. XOR Queries of a Subarray.java -------------------------------------------------------------------------------- /Java/1315. Sum of Nodes with Even-Valued Grandparent.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1315. Sum of Nodes with Even-Valued Grandparent.java -------------------------------------------------------------------------------- /Java/1346. CheckIfNandItsDoubleExist.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1346. CheckIfNandItsDoubleExist.java -------------------------------------------------------------------------------- /Java/1395. Count number of teams.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1395. Count number of teams.java -------------------------------------------------------------------------------- /Java/14. longestCommonPrefix.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/14. longestCommonPrefix.java -------------------------------------------------------------------------------- /Java/142_linkedlist_cycle_2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/142_linkedlist_cycle_2.java -------------------------------------------------------------------------------- /Java/1480.RunningSumof1DArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1480.RunningSumof1DArray.java -------------------------------------------------------------------------------- /Java/15.3 Sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/15.3 Sum.java -------------------------------------------------------------------------------- /Java/151.ReverseWordsInAString.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/151.ReverseWordsInAString.java -------------------------------------------------------------------------------- /Java/1510.StoneGameIV.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1510.StoneGameIV.java -------------------------------------------------------------------------------- /Java/1521.FindAValueOfAMysteriousFunctionClosestToTarget.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1521.FindAValueOfAMysteriousFunctionClosestToTarget.java -------------------------------------------------------------------------------- /Java/1525.NumberOfGoodWaysToSplitAString.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/1525.NumberOfGoodWaysToSplitAString.java -------------------------------------------------------------------------------- /Java/187. RepeatedDnaSequences.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/187. RepeatedDnaSequences.java -------------------------------------------------------------------------------- /Java/19. RemoveNthNodeFromEndOfList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/19. RemoveNthNodeFromEndOfList.java -------------------------------------------------------------------------------- /Java/198. HouseRobber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/198. HouseRobber.java -------------------------------------------------------------------------------- /Java/2.Add Two Numbers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/2.Add Two Numbers.java -------------------------------------------------------------------------------- /Java/20. ValidParentheses.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/20. ValidParentheses.java -------------------------------------------------------------------------------- /Java/201. Bitwise AND of Numbers Range.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/201. Bitwise AND of Numbers Range.java -------------------------------------------------------------------------------- /Java/215.KthElementInAnArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/215.KthElementInAnArray.java -------------------------------------------------------------------------------- /Java/22. generatePara.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/22. generatePara.java -------------------------------------------------------------------------------- /Java/224.BasicCalculator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/224.BasicCalculator.java -------------------------------------------------------------------------------- /Java/229. MajorityElementII.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/229. MajorityElementII.java -------------------------------------------------------------------------------- /Java/23. MergeKSortedLists.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/23. MergeKSortedLists.java -------------------------------------------------------------------------------- /Java/26. RemoveDuplicatesfromSortedArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/26. RemoveDuplicatesfromSortedArray.java -------------------------------------------------------------------------------- /Java/27. RemoveElement.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/27. RemoveElement.java -------------------------------------------------------------------------------- /Java/283. MoveZeroes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/283. MoveZeroes.java -------------------------------------------------------------------------------- /Java/287. FindTheDuplicateNumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/287. FindTheDuplicateNumber.java -------------------------------------------------------------------------------- /Java/307. Range Sum Query - Mutable.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/307. Range Sum Query - Mutable.java -------------------------------------------------------------------------------- /Java/322. CoinChange.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/322. CoinChange.java -------------------------------------------------------------------------------- /Java/344. ReverseString.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/344. ReverseString.java -------------------------------------------------------------------------------- /Java/35.SearchInsertPosition.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/35.SearchInsertPosition.java -------------------------------------------------------------------------------- /Java/387.First Unique Character in a String.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/387.First Unique Character in a String.java -------------------------------------------------------------------------------- /Java/4.MedianOfTwoSortedArrays.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/4.MedianOfTwoSortedArrays.java -------------------------------------------------------------------------------- /Java/41. First Missing Positive.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/41. First Missing Positive.java -------------------------------------------------------------------------------- /Java/414.ThirdMaximumNumber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/414.ThirdMaximumNumber.java -------------------------------------------------------------------------------- /Java/42. TrappingRainWater.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/42. TrappingRainWater.java -------------------------------------------------------------------------------- /Java/421.MaximumXORofTwoNumbersInAnArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/421.MaximumXORofTwoNumbersInAnArray.java -------------------------------------------------------------------------------- /Java/438. FindAllAnagramsInAString.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/438. FindAllAnagramsInAString.java -------------------------------------------------------------------------------- /Java/442. FindAllDuplicatesInAnArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/442. FindAllDuplicatesInAnArray.java -------------------------------------------------------------------------------- /Java/454.4SumII.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/454.4SumII.java -------------------------------------------------------------------------------- /Java/477. Total Hamming Distance.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/477. Total Hamming Distance.java -------------------------------------------------------------------------------- /Java/48. RotateImage.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/48. RotateImage.java -------------------------------------------------------------------------------- /Java/485. Max_Consecutive_ones.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/485. Max_Consecutive_ones.java -------------------------------------------------------------------------------- /Java/5.LongestPalindromicSubstring.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/5.LongestPalindromicSubstring.java -------------------------------------------------------------------------------- /Java/50. Pow(x, n).java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/50. Pow(x, n).java -------------------------------------------------------------------------------- /Java/516. Longest Palindromic Subsequence.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/516. Longest Palindromic Subsequence.java -------------------------------------------------------------------------------- /Java/540. SingleElementInASortedArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/540. SingleElementInASortedArray.java -------------------------------------------------------------------------------- /Java/541. ReverseString2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/541. ReverseString2.java -------------------------------------------------------------------------------- /Java/560. Subarray Sum Equals K.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/560. Subarray Sum Equals K.java -------------------------------------------------------------------------------- /Java/572. SubtreeOfAnotherTree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/572. SubtreeOfAnotherTree.java -------------------------------------------------------------------------------- /Java/62. UniquePath.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/62. UniquePath.java -------------------------------------------------------------------------------- /Java/621. Task Scheduler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/621. Task Scheduler.java -------------------------------------------------------------------------------- /Java/647. Palindromic Substrings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/647. Palindromic Substrings.java -------------------------------------------------------------------------------- /Java/724. FindPivotIndex.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/724. FindPivotIndex.java -------------------------------------------------------------------------------- /Java/749. ContainVirus.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/749. ContainVirus.java -------------------------------------------------------------------------------- /Java/75.SortColors.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/75.SortColors.java -------------------------------------------------------------------------------- /Java/763. Partition Label.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/763. Partition Label.java -------------------------------------------------------------------------------- /Java/78. Subsets.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/78. Subsets.java -------------------------------------------------------------------------------- /Java/784.LetterCasePermutation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/784.LetterCasePermutation.java -------------------------------------------------------------------------------- /Java/79. WordSearch.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/79. WordSearch.java -------------------------------------------------------------------------------- /Java/797. AllPathsFromSourceToTarget.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/797. AllPathsFromSourceToTarget.java -------------------------------------------------------------------------------- /Java/829. ConsecutiveNumberSum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/829. ConsecutiveNumberSum.java -------------------------------------------------------------------------------- /Java/84. LargestRectangleInHistogram.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/84. LargestRectangleInHistogram.java -------------------------------------------------------------------------------- /Java/88. MergeSortedArrays.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/88. MergeSortedArrays.java -------------------------------------------------------------------------------- /Java/930. Binary Subarrays With Sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/930. Binary Subarrays With Sum.java -------------------------------------------------------------------------------- /Java/941. ValidMountainArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/941. ValidMountainArray.java -------------------------------------------------------------------------------- /Java/983. MinimumCostForTickets.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/983. MinimumCostForTickets.java -------------------------------------------------------------------------------- /Java/Top_K_Frequent_Elements.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Java/Top_K_Frequent_Elements.java -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/LICENSE -------------------------------------------------------------------------------- /Python/1.TwoSum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1.TwoSum.py -------------------------------------------------------------------------------- /Python/1007. MinimumDominoRotationsForEqualRow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1007. MinimumDominoRotationsForEqualRow.py -------------------------------------------------------------------------------- /Python/1013. PartitionArrayIntoThreePartsWithEqualSum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1013. PartitionArrayIntoThreePartsWithEqualSum.py -------------------------------------------------------------------------------- /Python/1119. RemoveVowelFromString.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1119. RemoveVowelFromString.py -------------------------------------------------------------------------------- /Python/1143. LongestCommonSubsequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1143. LongestCommonSubsequence.py -------------------------------------------------------------------------------- /Python/118. PascalsTriangle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/118. PascalsTriangle.py -------------------------------------------------------------------------------- /Python/1189. MaximumNumberOfBalloons.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1189. MaximumNumberOfBalloons.py -------------------------------------------------------------------------------- /Python/12. Integer to Roman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/12. Integer to Roman.py -------------------------------------------------------------------------------- /Python/122.BestTimeToBuyAndSellStock-II.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/122.BestTimeToBuyAndSellStock-II.py -------------------------------------------------------------------------------- /Python/1221. SplitAStringInBalancedStrings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1221. SplitAStringInBalancedStrings.py -------------------------------------------------------------------------------- /Python/1232.CheckIfItIsAStraightLine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1232.CheckIfItIsAStraightLine.py -------------------------------------------------------------------------------- /Python/1277. CountSquareSubmatricesWithAllOnes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1277. CountSquareSubmatricesWithAllOnes.py -------------------------------------------------------------------------------- /Python/1289.MatrixSpiral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1289.MatrixSpiral.py -------------------------------------------------------------------------------- /Python/13. RomanToInteger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/13. RomanToInteger.py -------------------------------------------------------------------------------- /Python/1342. NumberOfSteps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1342. NumberOfSteps.py -------------------------------------------------------------------------------- /Python/1351. CountNegativeNumbersInASortedMatrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1351. CountNegativeNumbersInASortedMatrix.py -------------------------------------------------------------------------------- /Python/1356.SortIntegersByNumberof1Bits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1356.SortIntegersByNumberof1Bits.py -------------------------------------------------------------------------------- /Python/136.SingleNumber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/136.SingleNumber.py -------------------------------------------------------------------------------- /Python/137. SingleNumberII.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/137. SingleNumberII.py -------------------------------------------------------------------------------- /Python/138. CopyListWithRandomPointer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/138. CopyListWithRandomPointer.py -------------------------------------------------------------------------------- /Python/1390. FourDivisors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1390. FourDivisors.py -------------------------------------------------------------------------------- /Python/14. LongestCommonPrefix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/14. LongestCommonPrefix.py -------------------------------------------------------------------------------- /Python/1436. DestinationCity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1436. DestinationCity.py -------------------------------------------------------------------------------- /Python/1450. NumberOfStudentsDoingHomeworkAtAGivenTime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1450. NumberOfStudentsDoingHomeworkAtAGivenTime.py -------------------------------------------------------------------------------- /Python/1470. ShuffleTheArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1470. ShuffleTheArray.py -------------------------------------------------------------------------------- /Python/148. SortList.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/148. SortList.py -------------------------------------------------------------------------------- /Python/1480. RunningSumof1DArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1480. RunningSumof1DArray.py -------------------------------------------------------------------------------- /Python/15. 3sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/15. 3sum.py -------------------------------------------------------------------------------- /Python/1502.CanMakeArithmeticProgressionFromSequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1502.CanMakeArithmeticProgressionFromSequence.py -------------------------------------------------------------------------------- /Python/1588. SumofAllOddLengthSubarrays.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/1588. SumofAllOddLengthSubarrays.py -------------------------------------------------------------------------------- /Python/16. 3SumClosest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/16. 3SumClosest.py -------------------------------------------------------------------------------- /Python/162.FindPeakElement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/162.FindPeakElement.py -------------------------------------------------------------------------------- /Python/169.MajorityNumber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/169.MajorityNumber.py -------------------------------------------------------------------------------- /Python/17. LetterCombinationsOfAPhoneNumber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/17. LetterCombinationsOfAPhoneNumber.py -------------------------------------------------------------------------------- /Python/172. FactorialTrailingZeroes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/172. FactorialTrailingZeroes.py -------------------------------------------------------------------------------- /Python/19. Remove Nth Node From End of List.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/19. Remove Nth Node From End of List.py -------------------------------------------------------------------------------- /Python/198. House Robber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/198. House Robber.py -------------------------------------------------------------------------------- /Python/2. AddTwoNumbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/2. AddTwoNumbers.py -------------------------------------------------------------------------------- /Python/20. ValidParentheses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/20. ValidParentheses.py -------------------------------------------------------------------------------- /Python/200. Number of Islands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/200. Number of Islands.py -------------------------------------------------------------------------------- /Python/204. CountPrimes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/204. CountPrimes.py -------------------------------------------------------------------------------- /Python/205.IsomorphicStrings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/205.IsomorphicStrings.py -------------------------------------------------------------------------------- /Python/208. ImplementTrie.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/208. ImplementTrie.py -------------------------------------------------------------------------------- /Python/21. Merge Two Sorted Lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/21. Merge Two Sorted Lists.py -------------------------------------------------------------------------------- /Python/21. MergeTwoSortedLists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/21. MergeTwoSortedLists.py -------------------------------------------------------------------------------- /Python/215.KthLargestElementInAnArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/215.KthLargestElementInAnArray.py -------------------------------------------------------------------------------- /Python/217.ContainsDuplicate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/217.ContainsDuplicate.py -------------------------------------------------------------------------------- /Python/221. MaximalSquare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/221. MaximalSquare.py -------------------------------------------------------------------------------- /Python/224. BasicCalculator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/224. BasicCalculator.py -------------------------------------------------------------------------------- /Python/225.ImplementStackUsingQueues.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/225.ImplementStackUsingQueues.py -------------------------------------------------------------------------------- /Python/226. InvertBinaryTree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/226. InvertBinaryTree.py -------------------------------------------------------------------------------- /Python/227. BasicCalculatorII.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/227. BasicCalculatorII.py -------------------------------------------------------------------------------- /Python/23. MergeKSortedList.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/23. MergeKSortedList.py -------------------------------------------------------------------------------- /Python/230.KthSmallestElementinaBST.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/230.KthSmallestElementinaBST.py -------------------------------------------------------------------------------- /Python/239. Sliding Window Maximum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/239. Sliding Window Maximum.py -------------------------------------------------------------------------------- /Python/24. Swap Nodes in Pairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/24. Swap Nodes in Pairs.py -------------------------------------------------------------------------------- /Python/25. ReverseNodesInK-Group.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/25. ReverseNodesInK-Group.py -------------------------------------------------------------------------------- /Python/26. Remove Duplicates from Sorted Array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/26. Remove Duplicates from Sorted Array.py -------------------------------------------------------------------------------- /Python/263.UglyNumbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/263.UglyNumbers.py -------------------------------------------------------------------------------- /Python/27. RemoveElement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/27. RemoveElement.py -------------------------------------------------------------------------------- /Python/28. Implement strStr().py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/28. Implement strStr().py -------------------------------------------------------------------------------- /Python/287. FindTheDuplicateNumber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/287. FindTheDuplicateNumber.py -------------------------------------------------------------------------------- /Python/295. FindMedianFromDataStream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/295. FindMedianFromDataStream.py -------------------------------------------------------------------------------- /Python/3. LongestSubstringWithoutRepeatingCharacters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/3. LongestSubstringWithoutRepeatingCharacters.py -------------------------------------------------------------------------------- /Python/33. Search in Rotated Sorted Array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/33. Search in Rotated Sorted Array.py -------------------------------------------------------------------------------- /Python/338. CountingBits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/338. CountingBits.py -------------------------------------------------------------------------------- /Python/344. ReverseString.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/344. ReverseString.py -------------------------------------------------------------------------------- /Python/347. TopKFrequentElements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/347. TopKFrequentElements.py -------------------------------------------------------------------------------- /Python/35. SearchInsertPosition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/35. SearchInsertPosition.py -------------------------------------------------------------------------------- /Python/367.ValidPerfectSquare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/367.ValidPerfectSquare.py -------------------------------------------------------------------------------- /Python/368. LargestDivisibleSubset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/368. LargestDivisibleSubset.py -------------------------------------------------------------------------------- /Python/37. SudokuSolver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/37. SudokuSolver.py -------------------------------------------------------------------------------- /Python/387.FirstUniqueCharInString.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/387.FirstUniqueCharInString.py -------------------------------------------------------------------------------- /Python/39. combinationSum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/39. combinationSum.py -------------------------------------------------------------------------------- /Python/4. MedianOfTwoSortedArrays.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/4. MedianOfTwoSortedArrays.py -------------------------------------------------------------------------------- /Python/41. FirstMissingPositive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/41. FirstMissingPositive.py -------------------------------------------------------------------------------- /Python/41. firstMissingPositive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/41. firstMissingPositive.py -------------------------------------------------------------------------------- /Python/416. PartitionEqualSubsetSum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/416. PartitionEqualSubsetSum.py -------------------------------------------------------------------------------- /Python/42.TrappingRainWater.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/42.TrappingRainWater.py -------------------------------------------------------------------------------- /Python/43. MultiplyStrings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/43. MultiplyStrings.py -------------------------------------------------------------------------------- /Python/44. WildcardMatching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/44. WildcardMatching.py -------------------------------------------------------------------------------- /Python/441. ArrangingCoins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/441. ArrangingCoins.py -------------------------------------------------------------------------------- /Python/448.FindAllNumbersDisappearedinanArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/448.FindAllNumbersDisappearedinanArray.py -------------------------------------------------------------------------------- /Python/455. AssignCookies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/455. AssignCookies.py -------------------------------------------------------------------------------- /Python/461.HammingDistance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/461.HammingDistance.py -------------------------------------------------------------------------------- /Python/485. MaxConsecutiveOnes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/485. MaxConsecutiveOnes.py -------------------------------------------------------------------------------- /Python/49. GroupAnagrams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/49. GroupAnagrams.py -------------------------------------------------------------------------------- /Python/5.LongestPalindromicSubstring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/5.LongestPalindromicSubstring.py -------------------------------------------------------------------------------- /Python/500.KeyboardRow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/500.KeyboardRow.py -------------------------------------------------------------------------------- /Python/504. Base7.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/504. Base7.py -------------------------------------------------------------------------------- /Python/51. N-Queens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/51. N-Queens.py -------------------------------------------------------------------------------- /Python/559. MaximumDepthOfN-aryTree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/559. MaximumDepthOfN-aryTree.py -------------------------------------------------------------------------------- /Python/572. SubtreeOfAnotherTree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/572. SubtreeOfAnotherTree.py -------------------------------------------------------------------------------- /Python/58. length_of_last_word.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/58. length_of_last_word.py -------------------------------------------------------------------------------- /Python/636. ExclusiveTimeOfFunctions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/636. ExclusiveTimeOfFunctions.py -------------------------------------------------------------------------------- /Python/64. MinPathSum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/64. MinPathSum.py -------------------------------------------------------------------------------- /Python/647. PalandromicSubstrings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/647. PalandromicSubstrings.py -------------------------------------------------------------------------------- /Python/66. PlusOne.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/66. PlusOne.py -------------------------------------------------------------------------------- /Python/7.ReverseInteger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/7.ReverseInteger.py -------------------------------------------------------------------------------- /Python/704. BinarySearch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/704. BinarySearch.py -------------------------------------------------------------------------------- /Python/728. SelfDividingNumbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/728. SelfDividingNumbers.py -------------------------------------------------------------------------------- /Python/73. SetMatrixZeroes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/73. SetMatrixZeroes.py -------------------------------------------------------------------------------- /Python/766. ToeplitzMatrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/766. ToeplitzMatrix.py -------------------------------------------------------------------------------- /Python/767. ReorganizeString.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/767. ReorganizeString.py -------------------------------------------------------------------------------- /Python/771. Jewels and Stone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/771. Jewels and Stone.py -------------------------------------------------------------------------------- /Python/785. IsGraphBipartite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/785. IsGraphBipartite.py -------------------------------------------------------------------------------- /Python/8.PalindromeChecker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/8.PalindromeChecker.py -------------------------------------------------------------------------------- /Python/838. Push Dominoes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/838. Push Dominoes.py -------------------------------------------------------------------------------- /Python/84. maximumAreaHistogram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/84. maximumAreaHistogram.py -------------------------------------------------------------------------------- /Python/88.MergeSortedArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/88.MergeSortedArray.py -------------------------------------------------------------------------------- /Python/9.Palindrome Number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/9.Palindrome Number.py -------------------------------------------------------------------------------- /Python/905.SortArrayByParity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/905.SortArrayByParity.py -------------------------------------------------------------------------------- /Python/938. RangeSumofBST.Py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/938. RangeSumofBST.Py -------------------------------------------------------------------------------- /Python/941. ValidMountainArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/941. ValidMountainArray.py -------------------------------------------------------------------------------- /Python/953. VerifyingAnAlienDictionary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/953. VerifyingAnAlienDictionary.py -------------------------------------------------------------------------------- /Python/977.SquaresOfASortedArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/977.SquaresOfASortedArray.py -------------------------------------------------------------------------------- /Python/985. Sum of Even Numbers After Queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/985. Sum of Even Numbers After Queries.py -------------------------------------------------------------------------------- /Python/findMinFibonacciNumbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/findMinFibonacciNumbers.py -------------------------------------------------------------------------------- /Python/longestMountatinSubarray..py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/Python/longestMountatinSubarray..py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/README.md -------------------------------------------------------------------------------- /SQL/175. CombineTwoTables.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/175. CombineTwoTables.sql -------------------------------------------------------------------------------- /SQL/176. SecondHighestSalary.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/176. SecondHighestSalary.sql -------------------------------------------------------------------------------- /SQL/180. ConsectiveNumbers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/180. ConsectiveNumbers.sql -------------------------------------------------------------------------------- /SQL/181. EmployeesEarningMoreThanTheirManagers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/181. EmployeesEarningMoreThanTheirManagers.sql -------------------------------------------------------------------------------- /SQL/182. DuplicateEmails.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/182. DuplicateEmails.sql -------------------------------------------------------------------------------- /SQL/183. CustomersWhoNeverOrder.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/183. CustomersWhoNeverOrder.sql -------------------------------------------------------------------------------- /SQL/196. DeleteDuplicateEmails.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/196. DeleteDuplicateEmails.sql -------------------------------------------------------------------------------- /SQL/595. Big Countries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/595. Big Countries.sql -------------------------------------------------------------------------------- /SQL/601. HumanTrafficOfStadium.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/601. HumanTrafficOfStadium.sql -------------------------------------------------------------------------------- /SQL/601. Human_Traffic_of_Stadium.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/601. Human_Traffic_of_Stadium.sql -------------------------------------------------------------------------------- /SQL/626. ExchangeSeats.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/626. ExchangeSeats.sql -------------------------------------------------------------------------------- /SQL/627. SwapSalary.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/627. SwapSalary.sql -------------------------------------------------------------------------------- /SQL/628. AvgFemSalGreThanMaleSal.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SHY-Corp/LeetCode-Solutions/HEAD/SQL/628. AvgFemSalGreThanMaleSal.sql --------------------------------------------------------------------------------