https://github.com/anoopraju31/competitive-coding
Repo for competitive coding solutions
https://github.com/anoopraju31/competitive-coding
Last synced: 2 months ago
JSON representation
Repo for competitive coding solutions
- Host: GitHub
- URL: https://github.com/anoopraju31/competitive-coding
- Owner: anoopraju31
- Created: 2023-10-26T15:06:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-22T18:50:32.000Z (12 months ago)
- Last Synced: 2025-02-04T14:46:10.298Z (4 months ago)
- Language: JavaScript
- Size: 1.73 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# competitive-coding
### CodeChef
1. [Chef and Happy String](https://www.codechef.com/practice/course/strings/STRINGS/problems/HAPPYSTR) : [solution](codechef/ChefAndHappyString/)### GFG
1. [Check if array is sorted](https://www.geeksforgeeks.org/problems/check-if-an-array-is-sorted0701/1) : [solution](gfg/CheckIfArrayIsSorted/)
2. [Find the smallest and second smallest element in an array](https://www.geeksforgeeks.org/problems/find-the-smallest-and-second-smallest-element-in-an-array3226/1) : [solution](gfg/FindTheSmallestAndSecondSmallestElementInAnArray/)
3. [Subset Sum Problem](https://www.geeksforgeeks.org/problems/subset-sum-problem-1611555638/1?itm_source=geeksforgeeks&itm_medium=article&itm_campaign=bottom_sticky_on_article) : [solution](gfg/SubsetSumProblem/)### Leetcode
1. [Two Sum](https://leetcode.com/problems/two-sum/) : [solution](leetcode/1_TwoSum)
2. [Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters/) : [solution](leetcode/3_LongestSubstringWithoutRepeatingCharacters)
3. [Longest Palindromic Substring](https://leetcode.com/problems/longest-palindromic-substring/) : [solution](leetcode/5_LongestPalindromicSubstring)
4. [Container With Most Water](https://leetcode.com/problems/container-with-most-water/) : [solution](leetcode/11_ContainerWithMostWater)
5. [Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix) : [solution](leetcode/14_LongestCommonPrefix)
6. [Three Sum](https://leetcode.com/problems/3sum/) : [solution](leetcode/15_3Sum)
7. [Valid Parentheses](https://leetcode.com/problems/valid-parentheses/) : [solution](leetcode/20_ValidParenthese)
8. [Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists/) : [solution](leetcode/21_MergeTwoSortedLists/)
9. [Group Anagrams](https://leetcode.com/problems/group-anagrams/) : [solution](leetcode/49_groupAnagram)
10. [Length of Last Word](https://leetcode.com/problems/length-of-last-word/) : [solution](leetcode/58_LengthOfLastWord)
11. [Minimum Window Substring](https://leetcode.com/problems/minimum-window-substring/) : [solution](leetcode/76_Minimum%20WindowSubstring)
12. [Remove Duplicates from Sorted List](https://leetcode.com/problems/remove-duplicates-from-sorted-list/) : [solution](leetcode/83_RemoveDuplicatesFromSortedList/)
13. [Pascal's Triangle](https://leetcode.com/problems/pascals-triangle/) : [solution](leetcode/118_PascalsTriangle)
14. [Best Time to Buy and Sell Stock II](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/) : [solution](leetcode/122_BestTimeToBuyAndSellStockII)
15. [Valid Palindrome](https://leetcode.com/problems/valid-palindrome/) : [solution](leetcode/125_ValidPalindrome)
16. [Single Number](https://leetcode.com/problems/single-number/) : [solution](leetcode/136_SingleNumber)
17. [Linked List Cycle](https://leetcode.com/problems/linked-list-cycle/) : [solution](leetcode/141_LinkedListCycle/)
18. [Majority Element](https://leetcode.com/problems/majority-element) : [solution](leetcode/169_MajorityElement)
19. [Happy Number](https://leetcode.com/problems/happy-number/) : [solution](leetcode/202_HappyNumber)
20. [Remove Linked List Elements](https://leetcode.com/problems/remove-linked-list-elements/) : [solution](leetcode/203_RemoveLinkedListElements/)
21. [Reverse Linked List](https://leetcode.com/problems/reverse-linked-list/) : [solution](leetcode/206_ReverseLinkedList/)
22. [Contains Duplicate](https://leetcode.com/problems/contains-duplicate/) : [solution](leetcode/2126_DestroyingAsteroids/)
23. [Product of Array Except Self](https://leetcode.com/problems/product-of-array-except-self/) : [solution](leetcode/238_ProductOfArrayExceptSelf/)
24. [Valid Anagram](https://leetcode.com/problems/valid-anagram/) : [solution](leetcode/242_ValidAnagram/)
25. [Move Zeroes](https://leetcode.com/problems/move-zeroes) : [solution](leetcode/283_MoveZeroes)
26. [Reverse String](https://leetcode.com/problems/reverse-string/) : [solution](leetcode/344_ReverseString)
27. [Reverse Vowels Of A String](https://leetcode.com/problems/reverse-vowels-of-a-string) : [solution](leetcode/345_ReverseVowelsOfAString)
28. [Top K Frequent Elements](https://leetcode.com/problems/top-k-frequent-elements/) : [solution](leetcode/347_TopKFrequentElements/)
29. [Longest Palindrome](https://leetcode.com/problems/longest-palindrome/) : [solution](leetcode/409_LongestPalindrome/)
30. [Reverse String II](https://leetcode.com/problems/reverse-string-ii/) : [solution](leetcode/541_ReverseStringII)
31. [Palindromic Substrings](https://leetcode.com/problems/palindromic-substrings) : [solution](leetcode/647_PalindromicSubstrings)
32. [Middle of the Linked List](https://leetcode.com/problems/middle-of-the-linked-list/) : [solution](leetcode//876_MiddleOfTheLinkedList/)
33. [Monotonic Array](https://leetcode.com/problems/monotonic-array/) : [solution](leetcode/896_MonotonicArray)
34. [Maximum 69 Number](https://leetcode.com/problems/maximum-69-number/) : [solution](leetcode/1323_Maximum69Number/)
35. [Number of Good Pairs](https://leetcode.com/problems/number-of-good-pairs/) : [solution](leetcode/1512_NumberOfGoodPairs/)
36. [Merge In Between Linked Lists](https://leetcode.com/problems/merge-in-between-linked-lists/) : [solution](leetcode/1669_MergeInBetweenLinkedLists/)
37. [Destroying Asteroids](https://leetcode.com/problems/destroying-asteroids/) : [solution](leetcode/2126_DestroyingAsteroids/)
38. [Number of Employees Who Met the Target](https://leetcode.com/problems/number-of-employees-who-met-the-target/) : [solution](leetcode/2798_NumberOfEmployeesWhoMetTheTarget/)
39. [Number of Changing Keys](https://leetcode.com/problems/number-of-changing-keys/) : [solution](leetcode/3019_NumberOfChangingKeys/)
40. [Split the Array](https://leetcode.com/problems/split-the-array/) : [solution](leetcode/3046_SplitTheArray/)
41. [Apple Redistribution into Boxes](https://leetcode.com/problems/apple-redistribution-into-boxes/) : [solution](leetcode/3074_AppleRedistributionIntoBoxes/)
42. [Minimum Path Sum](https://leetcode.com/problems/minimum-path-sum/) : [solution](leetcode/64_MinimumPathSum/)
43. [House Robber](https://leetcode.com/problems/house-robber/) : [solution](leetcode/198_HouseRobber/)
44. [Is Subsequence](https://leetcode.com/problems/is-subsequence/) : [solution](leetcode/392_IsSubsequence/)
45. [N-th Tribonacci Number](https://leetcode.com/problems/n-th-tribonacci-number/) : [solution](leetcode/1137_N-thTribonacciNumber/)
46. [Palindrome Linked List](https://leetcode.com/problems/palindrome-linked-list/) : [solution](leetcode/234_PalindromeLinkedList/)
47. [Intersection of Two Linked Lists](https://leetcode.com/problems/intersection-of-two-linked-lists/) : [solution](leetcode/160_IntersectionOfTwoLinkedLists/)
48. [Existence of a Substring in a String and Its Reverse](https://leetcode.com/problems/existence-of-a-substring-in-a-string-and-its-reverse/) : [solution](leetcode/3083_ExistenceOfASubstringInAStringAndItsReverse/)
49. [Count Substrings Starting and Ending with Given Character](https://leetcode.com/problems/count-substrings-starting-and-ending-with-given-character/) : [solution](leetcode/3084_CountSubstringsStartingAndEndingWithGivenCharacter/)
50. [Find the Duplicate Number](https://leetcode.com/problems/find-the-duplicate-number/) : [solution](leetcode/287_FindTheDuplicateNumber/)
51. [Reorder List](https://leetcode.com/problems/reorder-list/) : [solution](leetcode/143_ReorderList/)
52. [Add Two Numbers](https://leetcode.com/problems/add-two-numbers/) : [solution](leetcode/2_AddTwoNumbers/)
53. [Find All Duplicates in an Array](https://leetcode.com/problems/find-all-duplicates-in-an-array/) : [solution](leetcode/442_FindAllDuplicatesInAnArray/)
54. [Arranging Coins](https://leetcode.com/problems/arranging-coins/): [Solution](leetcode/441_ArrangingCoins/)
55. [Find All Numbers Disappeared in an Array](https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/) : [solution](leetcode/448_FindAllNumbersDisappearedInAnArray/)
56. [Find the Index of the First Occurrence in a String](https://leetcode.com/problems/find-the-index-of-the-first-occurrence-in-a-string/) : [solution](leetcode/28_FindTheIndexOfTheFirstOccurrenceInAString/)
57. [Two Sum II - Input Array Is Sorted](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/) : [solution](leetcode/167_TwoSum_II_InputArrayIsSorted/)
58. [First Missing Positive](https://leetcode.com/problems/first-missing-positive/) : [solution](leetcode/41_FirstMissingPositive/)
59. [Trapping Rain Water](https://leetcode.com/problems/trapping-rain-water/) : [solution](leetcode/42_TrappingRainWater/)
60. [Subarray Product Less Than K](https://leetcode.com/problems/subarray-product-less-than-k) : [solution](leetcode/713_SubarrayProductLessThanK/)
61. [Remove All Adjacent Duplicates in String II](https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii/) : [solution](leetcode/1209_RemoveAllAdjacentDuplicatesInStringII/)
62. [Length of Longest Subarray With at Most K Frequency](https://leetcode.com/problems/length-of-longest-subarray-with-at-most-k-frequency) : [solution](leetcode/2958_LengthOfLongestSubarrayWithAtMostKFrequency/)
63. [Zigzag Conversion](https://leetcode.com/problems/zigzag-conversion/) : [solution](leetcode/6_ZigzagConversion)
64. [Baseball Game](https://leetcode.com/problems/baseball-game/) : [solution](leetcode/682_BaseballGame/)
65. [Symmetric Tree](https://leetcode.com/problems/symmetric-tree) : [solution](leetcode/101_SymmetricTree/)
66. [Evaluate Reverse Polish Notation](https://leetcode.com/problems/evaluate-reverse-polish-notation/) : [solution](leetcode/150_EvaluateReversePolishNotation/)
67. [Daily Temperatures](https://leetcode.com/problems/daily-temperatures/) : [solution](leetcode/739_DailyTemperatures/)
68. [Rotate Array](https://leetcode.com/problems/rotate-array/description) : [solution](leetcode/189_RotateArray)
69. [Detect Capital](https://leetcode.com/problems/detect-capital/) : [solution](leetcode/520_DetectCapital/)
70. [Minimum Size Subarray Sum](https://leetcode.com/problems/minimum-size-subarray-sum/) : [solution](leetcode/209_MinimiumSizeSubarraySum/)
71. [Contains Duplicate II](https://leetcode.com/problems/contains-duplicate-ii/) : [solution](leetcode/219_ContainsDuplicateII/)
72. [Minimum Common Value](https://leetcode.com/problems/minimum-common-value/) : [solution](leetcode/2540_MinimiumCommonValue/)
73. [Find Minimum in Rotated Sorted Array](https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/) : [solution](leetcode/153_FindMinimiumInRotatedSortedArray/)
74. [Count Subarrays With Fixed Bounds](https://leetcode.com/problems/count-subarrays-with-fixed-bounds/) : [solution](leetcode/2444_CountSubarraysWithFixedBounds/)
75. [Subarrays with K Different Integers](https://leetcode.com/problems/subarrays-with-k-different-integers) : [solution](leetcode/992_SubarraysWithKDifferentIntegers/)
76. [Shortest Subarray With OR at Least K I]() : [solution](leetcode/3095_ShortestSubarrayWithORAtLeastKI/)
77. [Reverse Integer](https://leetcode.com/problems/reverse-integer/) : [solution](leetcode/7_ReverseInteger/)
78. [String to Integer (atoi)](https://leetcode.com/problems/string-to-integer-atoi/) : [solution](leetcode/8_StringToInteger(atoi)/)
79. [3Sum Closest](https://leetcode.com/problems/3sum-closest/) : [solution](leetcode/16_3SumClosest/)
80. [Remove Nth Node From End of List](https://leetcode.com/problems/remove-nth-node-from-end-of-list/) : [solution](leetcode/19_RemoveNthNodeFromEndOfList/)
81. [Maximum Strong Pair XOR I](https://leetcode.com/problems/maximum-strong-pair-xor-i/) : [solution](leetcode/2932_MaximumStrongPairXOR_I/)
82. [Next Greater Element I](https://leetcode.com/problems/next-greater-element-i/) : [solution](leetcode/496_NextGreaterElementI/)
83. [Isomorphic Strings](https://leetcode.com/problems/isomorphic-strings/) : [solution](leetcode/205_IsomorphicStrings/)
84. [Word Pattern](https://leetcode.com/problems/word-pattern/) : [solution](leetcode/290_WordPattern/)
85. [Swap Nodes in Pairs](https://leetcode.com/problems/swap-nodes-in-pairs/) : [solution](leetcode/24_SwapNodesInPairs/)
86. [Binary Tree Inorder Traversal](https://leetcode.com/problems/binary-tree-inorder-traversal/) : [solution](leetcode/94_BinaryTreeInorderTraversal/)
87. [Binary Search](https://leetcode.com/problems/binary-search/) : [solution](leetcode/704_BinarySearch/)
88. [Search in Rotated Sorted Array](https://leetcode.com/problems/search-in-rotated-sorted-array/) : [solution](leetcode/33_SearchInRotatedSortedArray/)
89. [Word Search](https://leetcode.com/problems/word-search) : [solution](leetcode/79_WordSearch/)
90. [Maximum Nesting Depth of the Parentheses](https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/) : [solution](leetcode/1614_MaximumNestingDepthOfTheParentheses/)
91. [Longest Harmonious Subsequence](https://leetcode.com/problems/longest-harmonious-subsequence/) : [solution](leetcode/594_LongestHarmoniousSubsequence/)
92. [Maximum Product Subarray](https://leetcode.com/problems/maximum-product-subarray/) : [solution](leetcode/152_MaximumProductSubarray/)
93. [Reverse Words in a String](https://leetcode.com/problems/reverse-words-in-a-string) : [solution](leetcode/151_ReverseWordsInAString/)
94. [Pow(x, n)](https://leetcode.com/problems/powx-n/) : [solution](leetcode/50_Pow(x,%20n)/)
95. [Binary Tree Preorder Traversal](https://leetcode.com/problems/binary-tree-preorder-traversal/) : [solution](leetcode/144_BinaryTreePreorderTraversal/)
96. [Binary Tree Postorder Traversal](https://leetcode.com/problems/binary-tree-postorder-traversal/) : [solution](leetcode/145_BinaryTreePostorderTraversal/)
97. [Find First and Last Position of Element in Sorted Array](https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/) : [solution](leetcode/34_FindFirstAndLastPositionOfElementInSortedArray/)
98. [Make The String Great](https://leetcode.com/problems/make-the-string-great/) : [solution](leetcode/1544_MakeTheStringGreat)
99. [Three Consecutive Odds](https://leetcode.com/problems/three-consecutive-odds/) : [solution](leetcode/1550_ThreeConsecutiveOdds/)
100. [Thousand Separator](https://leetcode.com/problems/thousand-separator) : [solution](leetcode/1556_ThousandSeparator/)
101. [Count Complete Tree Nodes](https://leetcode.com/problems/count-complete-tree-nodes/) : [solution](leetcode/222_CountCompleteTreeNodes/)
102. [Remove Element](https://leetcode.com/problems/remove-element/) : [solution](leetcode/27_RemoveElement/)
103. [Remove Duplicates from Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array) : [solution](leetcode/26_RemoveDuplicatesFromSortedArray/)
104. [Rotate List](https://leetcode.com/problems/rotate-list/) : [solution](leetcode/61_RotateList/)
105. [Remove Duplicates from Sorted Array II](https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii) : [solution](leetcode/80_RemoveDuplicatesFromSortedArrayII/)
106. [Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock) : [solution](leetcode/121_BestTimeToBuyAndSellStock/)
107. [Minimum Remove to Make Valid Parentheses](https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses) : [solution](leetcode/1249_MinimumRemoveToMakeValidParentheses/)
108. [Merge Strings Alternately](https://leetcode.com/problems/merge-strings-alternately) : [solution](leetcode/1768_MergeStringsAlternately/)
109. [Can Place Flowers](https://leetcode.com/problems/can-place-flowers) : [solution](leetcode/605_CanPlaceFlowers/)
110. [Search Insert Position](https://leetcode.com/problems/search-insert-position/) : [solution](leetcode/35_SearchInsertPosition/)
111. [Find Smallest Letter Greater Than Target](https://leetcode.com/problems/find-smallest-letter-greater-than-target/) : [solution](leetcode/744_FindSmallestLetterGreaterThanTarget/)
112. [Count Negative Numbers in a Sorted Matrix](https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix) : [solution](leetcode/1351_CountNegativeNumbersInASortedMatrix/)
113. [Kids With the Greatest Number of Candies](https://leetcode.com/problems/kids-with-the-greatest-number-of-candies) : [solution](leetcode/1431_KidsWithTheGreatestNumberOfCandies/)
114. [Greatest Common Divisor of Strings](https://leetcode.com/problems/greatest-common-divisor-of-strings/) : [solution](leetcode/1071_GreatestCommonDivisorOfStrings/)
115. [Increasing Triplet Subsequence](https://leetcode.com/problems/increasing-triplet-subsequence) : [solution](leetcode/334_IncreasingTripletSubsequence/)
116. [String Compression](https://leetcode.com/problems/string-compression/description) : [solution](leetcode/443_StringCompression/)
117. [Guess Number Higher or Lower](https://leetcode.com/problems/guess-number-higher-or-lower) : [solution](leetcode/374_GuessNumberHigherOrLower/)
118. [Ransom Note](https://leetcode.com/problems/ransom-note) : [solution](leetcode/383_RansomNote/)
119. [Valid Parenthesis String](https://leetcode.com/problems/valid-parenthesis-string/) : [solution](leetcode/678_ValidParenthesisString/)
120. [Number of Students Unable to Eat Lunch](https://leetcode.com/problems/number-of-students-unable-to-eat-lunch) : [solution](leetcode/1700_NumberOfStudentsUnableToEatLunch/)
121. [Max Number of K-Sum Pairs](https://leetcode.com/problems/max-number-of-k-sum-pairs) : [solution](leetcode/1679_MaxNumberOfK-SumPairs/)
122. [Time Needed to Buy Tickets](https://leetcode.com/problems/time-needed-to-buy-tickets) : [solution](leetcode/2073_TimeNeededToBuyTickets/)
123. [Maximum Average Subarray I](https://leetcode.com/problems/maximum-average-subarray-i) : [solution](leetcode/643_MaximumAverageSubarrayI/)
124. [Maximum Number of Vowels in a Substring of Given Length](https://leetcode.com/problems/maximum-number-of-vowels-in-a-substring-of-given-length) : [solution](leetcode/1456_MaximumNumberOfVowelsInASubstringOfGivenLength/)
125. [Reveal Cards In Increasing Order](https://leetcode.com/problems/reveal-cards-in-increasing-order/) : [solution](leetcode/950_RevealCardsInIncreasingOrder/)
126. [First Bad Version](https://leetcode.com/problems/first-bad-version) : [solution](leetcode/278_FirstBadVersion/)
127. [ Jump Game II](https://leetcode.com/problems/jump-game-ii/description/) : [solution](leetcode/45_JumpGameII/)
128. [Valid Perfect Square](https://leetcode.com/problems/valid-perfect-square) : [solution](leetcode/367_ValidPerfectSquare/)
129. [Remove K Digits](https://leetcode.com/problems/remove-k-digits) : [solution](leetcode/402_RemoveKDigits/)
130. [Minimum Numbers of Function Calls to Make Target Array](https://leetcode.com/problems/minimum-numbers-of-function-calls-to-make-target-array) : [solution](/leetcode/1558_MinimumNumbersOfFunctionCallsToMakeTargetArray/)
131. [Reformat Date](https://leetcode.com/problems/reformat-date/description/) : [solution](leetcode/1507_ReformatDate/)
132. [Divide Two Integers](https://leetcode.com/problems/divide-two-integers/) : [solution](leetcode/29_DivideTwoIntegers/)
133. [Sort List](https://leetcode.com/problems/sort-list) : [solution](leetcode/148_SortList/)
134. [Left and Right Sum Differences](https://leetcode.com/problems/left-and-right-sum-differences/) : [solution](leetcode/2574_LeftAndRightSumDifferences/)
135. [Minimum Additions to Make Valid String](https://leetcode.com/problems/minimum-additions-to-make-valid-string) : [solution](leetcode/2645_MinimumAdditionsToMakeValidString/)
136. [Count Primes](https://leetcode.com/problems/count-primes) : [solution](leetcode/204_CountPrimes/)
137. [Ugly Number](https://leetcode.com/problems/ugly-number/) : [solution](leetcode/263_UglyNumber/)
138. [Partition List](https://leetcode.com/problems/partition-list/) : [solution](leetcode/86_PartitionList/)
139. [Substrings of Size Three with Distinct Characters](https://leetcode.com/problems/substrings-of-size-three-with-distinct-characters) : [solution](leetcode/1876_SubstringsOfSizeThreeWithDistinctCharacters/)
140. [Reverse Nodes in k-Group](https://leetcode.com/problems/reverse-nodes-in-k-group) : [solution](leetcode/25_ReverseNodesInK-Group/)
141. [Maximal Square](https://leetcode.com/problems/maximal-square) : [solution](leetcode/221_MaximalSquare/)
142. [Maximal Rectangle](https://leetcode.com/problems/maximal-rectangle) : [solution](leetcode/85_MaximalRectangle/)
143. [Find Pivot Index](https://leetcode.com/problems/find-pivot-index) : [solution](leetcode/724_FindPivotIndex/)
144. [Find the Middle Index in Array](https://leetcode.com/problems/find-the-middle-index-in-array/) : [solution](leetcode/1991_FindTheMiddleIndexInArray/)
145. [Maximum Subarray](https://leetcode.com/problems/maximum-subarray/) : [solution](leetcode/53_MaximumSubarray/)
146. [Longest Consecutive Sequence](https://leetcode.com/problems/longest-consecutive-sequence) : [solution](leetcode/128_LongestConsecutiveSequence/)
147. [Delete the Middle Node of a Linked List](https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list) : [solution](leetcode/2095_DeleteTheMiddleNodeOfALinkedList/)
148. [Find the Highest Altitude](https://leetcode.com/problems/find-the-highest-altitude) : [solution](leetcode/1732_FindTheHighestAltitude/)
149. [Sum of Left Leaves](https://leetcode.com/problems/sum-of-left-leaves) : [solution](leetcode/404_SumOfLeftLeaves/)
150. [Sum Root to Leaf Numbers](https://leetcode.com/problems/sum-root-to-leaf-numbers) : [solution](leetcode/129_SumRootToLeafNumbers/)
151. [Maximum Number of Balls in a Box](https://leetcode.com/problems/maximum-number-of-balls-in-a-box/) : [solution](leetcode/1742_MaximumNumberOfBallsInABox/)
152. [Median of Two Sorted Arrays](https://leetcode.com/problems/median-of-two-sorted-arrays/) : [solution](leetcode/4_MedianOfTwoSortedArrays/)
153. [Palindrome Number](https://leetcode.com/problems/palindrome-number) : [solution](leetcode/9_PalindromeNumber/)
154. [Max Consecutive Ones](https://leetcode.com/problems/max-consecutive-ones/) : [solution](leetcode/485_MaxConsecutiveOnes/)
155. [Max Consecutive Ones III](https://leetcode.com/problems/max-consecutive-ones-iii) : [solution](leetcode/1004_MaxConsecutiveOnesIII/)
156. [Add One Row to Tree](https://leetcode.com/problems/add-one-row-to-tree) : [solution](leetcode/623_AddOneRowToTree/)
157. [Smallest String Starting From Leaf](https://leetcode.com/problems/smallest-string-starting-from-leaf) : [solution](leetcode/988_SmallestStringStartingFromLeaf/)
158. [Find the Difference of Two Arrays](https://leetcode.com/problems/find-the-difference-of-two-arrays/) : [solution](leetcode/2215_FindTheDifferenceOfTwoArrays/)
159. [Unique Number of Occurrences](https://leetcode.com/problems/unique-number-of-occurrences) : [solution](leetcode/1207_UniqueNumberOfOccurrences/)
160. [Removing Stars From a String](https://leetcode.com/problems/removing-stars-from-a-string) : [solution](leetcode/2390_RemovingStarsFromAString/)
161. [Asteroid Collision](https://leetcode.com/problems/asteroid-collision) : [solution](leetcode/735_AsteroidCollision/)
162. [Longest Subarray of 1's After Deleting One Element](https://leetcode.com/problems/longest-subarray-of-1s-after-deleting-one-element) : [solution](leetcode/1493_LongestSubarrayOf1sAfterDeletingOneElement/)
163. [Island Perimeter](https://leetcode.com/problems/island-perimeter/description) : [solution](leetcode/463_IslandPerimeter)
164. [Find Right Interval](https://leetcode.com/problems/find-right-interval) : [solution](leetcode/436_FindRightInterval)
165. [Prime Subtraction Operation](https://leetcode.com/problems/prime-subtraction-operation) : [solution](leetcode/2601_PrimeSubtractionOperation)
166. [Number of Islands](https://leetcode.com/problems/number-of-islands) : [solution](leetcode/200_NumberOfIslands/)
167. [Find All Groups of Farmland](https://leetcode.com/problems/find-all-groups-of-farmland) : [solution](leetcode/1992_FindAllGroupsOfFarmland)
168. [Count Sub Islands](https://leetcode.com/problems/count-sub-islands) : [solution](leetcode/1905_CountSubIslands)
169. [Count the Number of Special Characters I](https://leetcode.com/problems/count-the-number-of-special-characters-i) : [solution](leetcode/3120_CountTheNumberOfSpecialCharactersI)
170. [Count the Number of Special Characters II](https://leetcode.com/problems/count-the-number-of-special-characters-ii) : [solution](leetcode/3121_CountTheNumberOfSpecialCharactersII)
171. [Find if Path Exists in Graph](https://leetcode.com/problems/find-if-path-exists-in-graph) : [solution](leetcode/1971_FindIfPathExistsInGraph)
172. [Minimum Number of Operations to Satisfy Conditions](https://leetcode.com/problems/minimum-number-of-operations-to-satisfy-conditions) : [solution](leetcode/3122_MinimumNumberOfOperationsToSatisfyConditions)
173. [Maximum Population Year](https://leetcode.com/problems/maximum-population-year/) : [solution](leetcode/1854_MaximumPopulationYear)
174. [Open the Lock]() : [solution](leetcode/752_OpenTheLock)
175. [Binary Tree Level Order Traversal](https://leetcode.com/problems/binary-tree-level-order-traversal) : [solution](leetcode/102_BinaryTreeLevelOrderTraversal)
176. [Binary Tree Level Order Traversal II](https://leetcode.com/problems/binary-tree-level-order-traversal-ii) : [solution](leetcode/107_BinaryTreeLevelOrderTraversalII)
177. [Average of Levels in Binary Tree]() : [solution](leetcode/637_AverageOfLevelsInBinaryTree)
178. [Clone Graph](https://leetcode.com/problems/clone-graph) : [solution](leetcode/133_CloneGraph)
179. [Minimum Height Trees](https://leetcode.com/problems/minimum-height-trees) : [solution](leetcode/310_MinimumHeightTrees)
180. [Longest Ideal Subsequence](https://leetcode.com/problems/longest-ideal-subsequence) : [solution](leetcode/2370_LongestIdealSubsequence)
181. [Minimum Falling Path Sum](https://leetcode.com/problems/minimum-falling-path-sum/) : [solution](leetcode/931_MinimumFallingPathSum)
182. [Minimum Falling Path Sum II](https://leetcode.com/problems/minimum-falling-path-sum-ii) :[solution](leetcode/1289_MinimumFallingPathSumII/)
183. [Freedom Trail](https://leetcode.com/problems/freedom-trail) : [solution](leetcode/514_FreedomTrail)
184. [Sum of Distances in Tree](https://leetcode.com/problems/sum-of-distances-in-tree/) : [solution](leetcode/834_SumOfDistancesInTree)
185. [Largest Positive Integer That Exists With Its Negative](https://leetcode.com/problems/largest-positive-integer-that-exists-with-its-negative) : [solution](leetcode/2441_LargestPositiveIntegerThatExistsWithItsNegative)
186. [Reverse Prefix of Word](https://leetcode.com/problems/reverse-prefix-of-word) : [solution](leetcode/2000_ReversePrefixOfWord)
187. [Number of Wonderful Substrings](https://leetcode.com/problems/number-of-wonderful-substrings) : [solution](leetcode/1915_NumberOfWonderfulSubstrings)
188. [Minimum Number of Operations to Make Array XOR Equal to K](https://leetcode.com/problems/minimum-number-of-operations-to-make-array-xor-equal-to-k) : [solution](leetcode/2997_MinimumNumberOfOperationsToMakeArrayXOREqualToK)
189. [Compare Version Numbers](https://leetcode.com/problems/compare-version-numbers) : [solution](leetcode/165_CompareVersionNumbers)
190. [Boats to Save People](https://leetcode.com/problems/boats-to-save-people) : [solution](leetcode/881_BoatsToSavePeople)
191. [Find the Integer Added to Array I](https://leetcode.com/problems/find-the-integer-added-to-array-i) : [solution](leetcode/3131_FindTheIntegerAddedToArrayI)
192. [Delete Node in a Linked List](https://leetcode.com/problems/delete-node-in-a-linked-list) : [solution](leetcode/237_DeleteNodeInALinkedList)
193. [Remove Nodes From Linked List](https://leetcode.com/problems/remove-nodes-from-linked-list) : [solution](leetcode/2487_RemoveNodesFromLinkedList)
194. [Double a Number Represented as a Linked List](https://leetcode.com/problems/double-a-number-represented-as-a-linked-list) : [solution](leetcode/2816_DoubleANumberRepresentedAsALinkedList)
195. [Relative Ranks](https://leetcode.com/problems/relative-ranks) : [solution](leetcode/506_RelativeRanks)
196. [Maximize Happiness of Selected Children](https://leetcode.com/problems/maximize-happiness-of-selected-children) : [solution](leetcode/3075_MaximizeHappinessOfSelectedChildren)
197. [K-th Smallest Prime Fraction](https://leetcode.com/problems/k-th-smallest-prime-fraction) : [solution](leetcode/786_K-thSmallestPrimeFraction)
198. [Minimum Cost to Hire K Workers](https://leetcode.com/problems/minimum-cost-to-hire-k-workers) : [solution](leetcode/857_MinimumCostToHireKWorkers)
199. [Largest Local Values in a Matrix](https://leetcode.com/problems/largest-local-values-in-a-matrix) : [solution](leetcode/2373_LargestLocalValuesInAMatrix)
200. [Score After Flipping Matrix](https://leetcode.com/problems/score-after-flipping-matrix) : [solution](leetcode/861_ScoreAfterFlippingMatrix)
201. [Path with Maximum Gold](https://leetcode.com/problems/path-with-maximum-gold) : [solution](leetcode/1219_PathWithMaximumGold)
202. [Find the Safest Path in a Grid](https://leetcode.com/problems/find-the-safest-path-in-a-grid/) [solution](leetcode/2812_FindTheSafestPathInAGrid)
203. [Evaluate Boolean Binary Tree](https://leetcode.com/problems/evaluate-boolean-binary-tree) : [solution](leetcode/2331_EvaluateBooleanBinaryTree)
204. [Delete Leaves With a Given Value](https://leetcode.com/problems/delete-leaves-with-a-given-value) : [solution](leetcode/1325_DeleteLeavesWithAGivenValue)
205. [Distribute Coins in Binary Tree](https://leetcode.com/problems/distribute-coins-in-binary-tree) : [solution](leetcode/979_DistributeCoinsInBinaryTree)
206. [Find the Maximum Sum of Node Values](https://leetcode.com/problems/find-the-maximum-sum-of-node-values) : [solution](leetcode/3068_FindTheMaximumSumOfNodeValues)
207. [Special Array I](https://leetcode.com/problems/special-array-i) : [solution](leetcode/3151_SpecialArrayI)
208. [Special Array II](https://leetcode.com/problems/special-array-ii/) : [solution](leetcode/3152_SpecialArrayII)
209. [Subsets](https://leetcode.com/problems/subsets) : [solution](leetcode/78_Subsets)
210. [Sum of All Subset XOR Totals](https://leetcode.com/problems/sum-of-all-subset-xor-totals) : [solution](leetcode/1863_SumOfAllSubsetXORTotals)
211. [Add Digits](https://leetcode.com/problems/add-digits) : [solution](leetcode/258_AddDigits)
212. [Base 7](https://leetcode.com/problems/base-7) : [solution](leetcode/504_Base7)
213. [Palindrome Partitioning](https://leetcode.com/problems/palindrome-partitioning) : [solution](leetcode/131_PalindromePartitioning)
214. [The Number of Beautiful Subsets](https://leetcode.com/problems/the-number-of-beautiful-subsets) : [solution](leetcode/2597_TheNumberOfBeautifulSubsets)
215. [Maximum Score Words Formed by Letters](https://leetcode.com/problems/maximum-score-words-formed-by-letters) : [solution](leetcode/1255_MaximumScoreWordsFormedbyLetters)
216. [Student Attendance Record II](https://leetcode.com/problems/student-attendance-record-ii) : [solution](leetcode/552_StudentAttendanceRecordII)
217. [Special Array With X Elements Greater Than or Equal X](https://leetcode.com/problems/special-array-with-x-elements-greater-than-or-equal-x) : [solution](leetcode/1608_SpecialArrayWithXElementsGreaterThanOrEqualX)
218. [Get Equal Substrings Within Budget](https://leetcode.com/problems/get-equal-substrings-within-budget) : [solution](leetcode/1208_GetEqualSubstringsWithinBudget)
219. [Word Break II](https://leetcode.com/problems/word-break-ii) : [solution](leetcode/140_WordBreakII)
220. [Find the XOR of Numbers Which Appear Twice](https://leetcode.com/problems/find-the-xor-of-numbers-which-appear-twice) : [solution](leetcode/3158_FindIheXOROfNumbersWhichAppearTwice)
221. [Find Occurrences of an Element in an Array](https://leetcode.com/problems/find-occurrences-of-an-element-in-an-array) : [solution](leetcode/3159_FindOccurrencesOfAnElementInAnArray)
222. [Number of Steps to Reduce a Number in Binary Representation to One](https://leetcode.com/problems/number-of-steps-to-reduce-a-number-in-binary-representation-to-one) : [solution](leetcode/1404_NumberOfStepsToReduceANumberInBinaryRepresentationToOne)
223. [Count Triplets That Can Form Two Arrays of Equal XOR](https://leetcode.com/problems/count-triplets-that-can-form-two-arrays-of-equal-xor) : [solution](leetcode/1442_CountTripletsThatCanFormTwoArraysOfEqualXOR)
224. [Append Characters to String to Make Subsequence](https://leetcode.com/problems/append-characters-to-string-to-make-subsequence) : [solution](leetcode/2486_AppendCharactersToStringToMakeSubsequence)
225. [Find Common Characters](https://leetcode.com/problems/find-common-characters) : [Solution](leetcode/1002_FindCommonCharacters)
226. [Hand of Straights](https://leetcode.com/problems/hand-of-straights) : [solution](leetcode/846_HandOfStraights)
227. [Replace Words](https://leetcode.com/problems/replace-words) : [solution](leetcode/648_ReplaceWords)
228. [Continuous Subarray Sum](https://leetcode.com/problems/continuous-subarray-sum) : [solution](leetcode/523_ContinuousSubarraySum)
229. [Subarray Sums Divisible by K](https://leetcode.com/problems/subarray-sums-divisible-by-k) : [solution](leetcode/974_SubarraySumsDivisibleByK)
230. [Height Checker](https://leetcode.com/problems/height-checker) : [solution](leetcode/1051_HeightChecker)
231. [Relative Sort Array](https://leetcode.com/problems/relative-sort-array) : [solution](leetcode/1122_RelativeSortArray)
232. [Count Pairs Whose Sum is Less than Target](https://leetcode.com/problems/count-pairs-whose-sum-is-less-than-target) : [solution](leetcode/2824_CountPairsWhoseSumIsLessThanTarget)
233. [Sort Colors](https://leetcode.com/problems/sort-colors) : [solution](leetcode/75_SortColors)
234. [Minimum Number of Moves to Seat Everyone](https://leetcode.com/problems/minimum-number-of-moves-to-seat-everyone) : [solution](leetcode/2037_MinimumNumberOfMovesToSeatEveryone)
235. [Minimum Increment to Make Array Unique](https://leetcode.com/problems/minimum-increment-to-make-array-unique) : [solution](leetcode/945_MinimumIncrementToMakeArrayUnique)
236. [Sum of Square Numbers](https://leetcode.com/problems/sum-of-square-numbers) : [leetcode/633_SumOfSquareNumbers]
237. [IPO](https://leetcode.com/problems/ipo) : [solution](leetcode/502_IPO)
238. [Patching Array](https://leetcode.com/problems/patching-array) : [solution](leetcode/330_PatchingArray)
239. [Most Profit Assigning Work](https://leetcode.com/problems/most-profit-assigning-work) : [solution](leetcode/826_MostProfitAssigningWork)
240. [Minimum Number of Days to Make m Bouquets](https://leetcode.com/problems/minimum-number-of-days-to-make-m-bouquets) : [solution](leetcode/1482_MinimumNumberOfDaysToMakeMBouquets)
241. [Magnetic Force Between Two Balls](https://leetcode.com/problems/magnetic-force-between-two-balls) : [solution](leetcode/1552_MagneticForceBetweenTwoBalls)
242. [Count Number of Nice Subarrays](https://leetcode.com/problems/count-number-of-nice-subarrays) : [solution](leetcode/1248_CountNumberOfNiceSubarrays)
243. [Grumpy Bookstore Owner](https://leetcode.com/problems/grumpy-bookstore-owner) : [solution](leetcode/1052_GrumpyBookstoreOwner)