diff --git a/dsa-problems/leetcode-problems/2100-2199.md b/dsa-problems/leetcode-problems/2100-2199.md index e69de29bb..a055c0992 100644 --- a/dsa-problems/leetcode-problems/2100-2199.md +++ b/dsa-problems/leetcode-problems/2100-2199.md @@ -0,0 +1,622 @@ +--- +id: 2100-2199 +title: LeetCode Problems 2100 - 2199 +sidebar_label: 2100 - 2199 +keywords: + - LeetCode + - LeetCode Problems + - LeetCode Problems 2100 - 2199 + - DSA problems +--- + +export const problems = [ + { + "problemName": "2100. Find Good Days to Rob the Bank", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/find-good-days-to-rob-the-bank", + "solutionLink": "#" + }, + { + "problemName": "2101. Detonate the Maximum Bombs", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/detonate-the-maximum-bombs", + "solutionLink": "#" + }, + { + "problemName": "2102. Sequentially Ordinal Rank Tracker", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/sequentially-ordinal-rank-tracker", + "solutionLink": "#" + }, + { + "problemName": "2103. Rings and Rods", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/rings-and-rods", + "solutionLink": "#" + }, + { + "problemName": "2104. Sum of Subarray Ranges", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/sum-of-subarray-ranges", + "solutionLink": "#" + }, + { + "problemName": "2105. Watering Plants II", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/watering-plants-ii", + "solutionLink": "#" + }, + { + "problemName": "2106. Maximum Fruits Harvested After at Most K Steps", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/maximum-fruits-harvested-after-at-most-k-steps", + "solutionLink": "#" + }, + { + "problemName": "2107. Number of Unique Flavors After Sharing K Candies", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/number-of-unique-flavors-after-sharing-k-candies", + "solutionLink": "#" + }, + { + "problemName": "2108. Find First Palindromic String in the Array", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/find-first-palindromic-string-in-the-array", + "solutionLink": "#" + }, + { + "problemName": "2109. Adding Spaces to a String", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/adding-spaces-to-a-string", + "solutionLink": "#" + }, + { + "problemName": "2110. Number of Smooth Descent Periods of a Stock", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/number-of-smooth-descent-periods-of-a-stock", + "solutionLink": "#" + }, + { + "problemName": "2111. Minimum Operations to Make the Array K-Increasing", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/minimum-operations-to-make-the-array-k-increasing", + "solutionLink": "#" + }, + { + "problemName": "2112. The Airport With the Most Traffic", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/the-airport-with-the-most-traffic", + "solutionLink": "#" + }, + { + "problemName": "2113. Elements in Array After Removing and Replacing Elements", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/elements-in-array-after-removing-and-replacing-elements", + "solutionLink": "#" + }, + { + "problemName": "2114. Maximum Number of Words Found in Sentences", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/maximum-number-of-words-found-in-sentences", + "solutionLink": "#" + }, + { + "problemName": "2115. Find All Possible Recipes from Given Supplies", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/find-all-possible-recipes-from-given-supplies", + "solutionLink": "#" + }, + { + "problemName": "2116. Check if a Parentheses String Can Be Valid", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/check-if-a-parentheses-string-can-be-valid", + "solutionLink": "#" + }, + { + "problemName": "2117. Abbreviating the Product of a Range", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/abbreviating-the-product-of-a-range", + "solutionLink": "#" + }, + { + "problemName": "2118. Build the Equation", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/build-the-equation", + "solutionLink": "#" + }, + { + "problemName": "2119. A Number After a Double Reversal", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/a-number-after-a-double-reversal", + "solutionLink": "#" + }, + { + "problemName": "2120. Execution of All Suffix Instructions Staying in a Grid", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/execution-of-all-suffix-instructions-staying-in-a-grid", + "solutionLink": "#" + }, + { + "problemName": "2121. Intervals Between Identical Elements", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/intervals-between-identical-elements", + "solutionLink": "#" + }, + { + "problemName": "2122. Recover the Original Array", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/recover-the-original-array", + "solutionLink": "#" + }, + { + "problemName": "2123. Minimum Operations to Remove Adjacent Ones in Matrix", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/minimum-operations-to-remove-adjacent-ones-in-matrix", + "solutionLink": "#" + }, + { + "problemName": "2124. Check if All A's Appears Before All B's", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/check-if-all-as-appears-before-all-bs", + "solutionLink": "#" + }, + { + "problemName": "2125. Number of Laser Beams in a Bank", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/number-of-laser-beams-in-a-bank", + "solutionLink": "#" + }, + { + "problemName": "2126. Destroying Asteroids", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/destroying-asteroids", + "solutionLink": "#" + }, + { + "problemName": "2127. Maximum Employees to Be Invited to a Meeting", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/maximum-employees-to-be-invited-to-a-meeting", + "solutionLink": "#" + }, + { + "problemName": "2128. Remove All Ones With Row and Column Flips", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/remove-all-ones-with-row-and-column-flips", + "solutionLink": "#" + }, + { + "problemName": "2129. Capitalize the Title", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/capitalize-the-title", + "solutionLink": "#" + }, + { + "problemName": "2130. Maximum Twin Sum of a Linked List", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/maximum-twin-sum-of-a-linked-list", + "solutionLink": "#" + }, + { + "problemName": "2131. Longest Palindrome by Concatenating Two Letter Words", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/longest-palindrome-by-concatenating-two-letter-words", + "solutionLink": "#" + }, + { + "problemName": "2132. Stamping the Grid", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/stamping-the-grid", + "solutionLink": "#" + }, + { + "problemName": "2133. Check if Every Row and Column Contains All Numbers", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/check-if-every-row-and-column-contains-all-numbers", + "solutionLink": "#" + }, + { + "problemName": "2134. Minimum Swaps to Group All 1's Together II", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/minimum-swaps-to-group-all-1s-together-ii", + "solutionLink": "#" + }, + { + "problemName": "2135. Count Words Obtained After Adding a Letter", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/count-words-obtained-after-adding-a-letter", + "solutionLink": "#" + }, + { + "problemName": "2136. Earliest Possible Day of Full Bloom", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/earliest-possible-day-of-full-bloom", + "solutionLink": "#" + }, + { + "problemName": "2137. Pour Water Between Buckets to Make Water Levels Equal", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/pour-water-between-buckets-to-make-water-levels-equal", + "solutionLink": "#" + }, + { + "problemName": "2138. Divide a String Into Groups of Size k", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/divide-a-string-into-groups-of-size-k", + "solutionLink": "#" + }, + { + "problemName": "2139. Minimum Moves to Reach Target Score", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/minimum-moves-to-reach-target-score", + "solutionLink": "#" + }, + { + "problemName": "2140. Solving Questions With Brainpower", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/solving-questions-with-brainpower", + "solutionLink": "#" + }, + { + "problemName": "2141. Maximum Running Time of N Computers", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/maximum-running-time-of-n-computers", + "solutionLink": "#" + }, + { + "problemName": "2142. The Number of Passengers in Each Bus I", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/the-number-of-passengers-in-each-bus-i", + "solutionLink": "#" + }, + { + "problemName": "2143. Choose Numbers From Two Arrays in Range", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/choose-numbers-from-two-arrays-in-range", + "solutionLink": "#" + }, + { + "problemName": "2144. Minimum Cost of Buying Candies With Discount", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/minimum-cost-of-buying-candies-with-discount", + "solutionLink": "#" + }, + { + "problemName": "2145. Count the Hidden Sequences", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/count-the-hidden-sequences", + "solutionLink": "#" + }, + { + "problemName": "2146. K Highest Ranked Items Within a Price Range", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/k-highest-ranked-items-within-a-price-range", + "solutionLink": "#" + }, + { + "problemName": "2147. Number of Ways to Divide a Long Corridor", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/number-of-ways-to-divide-a-long-corridor", + "solutionLink": "#" + }, + { + "problemName": "2148. Count Elements With Strictly Smaller and Greater Elements", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/count-elements-with-strictly-smaller-and-greater-elements", + "solutionLink": "#" + }, + { + "problemName": "2149. Rearrange Array Elements by Sign", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/rearrange-array-elements-by-sign", + "solutionLink": "#" + }, + { + "problemName": "2150. Find All Lonely Numbers in the Array", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/find-all-lonely-numbers-in-the-array", + "solutionLink": "#" + }, + { + "problemName": "2151. Maximum Good People Based on Statements", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/maximum-good-people-based-on-statements", + "solutionLink": "#" + }, + { + "problemName": "2152. Minimum Number of Lines to Cover Points", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/minimum-number-of-lines-to-cover-points", + "solutionLink": "#" + }, + { + "problemName": "2153. The Number of Passengers in Each Bus II", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/the-number-of-passengers-in-each-bus-ii", + "solutionLink": "#" + }, + { + "problemName": "2154. Keep Multiplying Found Values by Two", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/keep-multiplying-found-values-by-two", + "solutionLink": "#" + }, + { + "problemName": "2155. All Divisions With the Highest Score of a Binary Array", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/all-divisions-with-the-highest-score-of-a-binary-array", + "solutionLink": "#" + }, + { + "problemName": "2156. Find Substring With Given Hash Value", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/find-substring-with-given-hash-value", + "solutionLink": "#" + }, + { + "problemName": "2157. Groups of Strings", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/groups-of-strings", + "solutionLink": "#" + }, + { + "problemName": "2158. Amount of New Area Painted Each Day", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/amount-of-new-area-painted-each-day", + "solutionLink": "#" + }, + { + "problemName": "2159. Order Two Columns Independently", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/order-two-columns-independently", + "solutionLink": "#" + }, + { + "problemName": "2160. Minimum Sum of Four Digit Number After Splitting Digits", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/minimum-sum-of-four-digit-number-after-splitting-digits", + "solutionLink": "#" + }, + { + "problemName": "2161. Partition Array According to Given Pivot", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/partition-array-according-to-given-pivot", + "solutionLink": "#" + }, + { + "problemName": "2162. Minimum Cost to Set Cooking Time", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/minimum-cost-to-set-cooking-time", + "solutionLink": "#" + }, + { + "problemName": "2163. Minimum Difference in Sums After Removal of Elements", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/minimum-difference-in-sums-after-removal-of-elements", + "solutionLink": "#" + }, + { + "problemName": "2164. Sort Even and Odd Indices Independently", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/sort-even-and-odd-indices-independently", + "solutionLink": "#" + }, + { + "problemName": "2165. Smallest Value of the Rearranged Number", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/smallest-value-of-the-rearranged-number", + "solutionLink": "#" + }, + { + "problemName": "2166. Design Bitset", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/design-bitset", + "solutionLink": "#" + }, + { + "problemName": "2167. Minimum Time to Remove All Cars Containing Illegal Goods", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/minimum-time-to-remove-all-cars-containing-illegal-goods", + "solutionLink": "#" + }, + { + "problemName": "2168. Unique Substrings With Equal Digit Frequency", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/unique-substrings-with-equal-digit-frequency", + "solutionLink": "#" + }, + { + "problemName": "2169. Count Operations to Obtain Zero", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/count-operations-to-obtain-zero", + "solutionLink": "#" + }, + { + "problemName": "2170. Minimum Operations to Make the Array Alternating", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/minimum-operations-to-make-the-array-alternating", + "solutionLink": "#" + }, + { + "problemName": "2171. Removing Minimum Number of Magic Beans", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/removing-minimum-number-of-magic-beans", + "solutionLink": "#" + }, + { + "problemName": "2172. Maximum AND Sum of Array", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/maximum-and-sum-of-array", + "solutionLink": "#" + }, + { + "problemName": "2173. Longest Winning Streak", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/longest-winning-streak", + "solutionLink": "#" + }, + { + "problemName": "2174. Remove All Ones With Row and Column Flips II", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/remove-all-ones-with-row-and-column-flips-ii", + "solutionLink": "#" + }, + { + "problemName": "2175. The Change in Global Rankings", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/the-change-in-global-rankings", + "solutionLink": "#" + }, + { + "problemName": "2176. Count Equal and Divisible Pairs in an Array", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/count-equal-and-divisible-pairs-in-an-array", + "solutionLink": "#" + }, + { + "problemName": "2177. Find Three Consecutive Integers That Sum to a Given Number", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/find-three-consecutive-integers-that-sum-to-a-given-number", + "solutionLink": "#" + }, + { + "problemName": "2178. Maximum Split of Positive Even Integers", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/maximum-split-of-positive-even-integers", + "solutionLink": "#" + }, + { + "problemName": "2179. Count Good Triplets in an Array", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/count-good-triplets-in-an-array", + "solutionLink": "#" + }, + { + "problemName": "2180. Count Integers With Even Digit Sum", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/count-integers-with-even-digit-sum", + "solutionLink": "#" + }, + { + "problemName": "2181. Merge Nodes in Between Zeros", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/merge-nodes-in-between-zeros", + "solutionLink": "#" + }, + { + "problemName": "2182. Construct String With Repeat Limit", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/construct-string-with-repeat-limit", + "solutionLink": "#" + }, + { + "problemName": "2183. Count Array Pairs Divisible by K", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/count-array-pairs-divisible-by-k", + "solutionLink": "#" + }, + { + "problemName": "2184. Number of Ways to Build Sturdy Brick Wall", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/number-of-ways-to-build-sturdy-brick-wall", + "solutionLink": "#" + }, + { + "problemName": "2185. Counting Words With a Given Prefix", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/counting-words-with-a-given-prefix", + "solutionLink": "#" + }, + { + "problemName": "2186. Minimum Number of Steps to Make Two Strings Anagram II", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram-ii", + "solutionLink": "#" + }, + { + "problemName": "2187. Minimum Time to Complete Trips", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/minimum-time-to-complete-trips", + "solutionLink": "#" + }, + { + "problemName": "2188. Minimum Time to Finish the Race", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/minimum-time-to-finish-the-race", + "solutionLink": "#" + }, + { + "problemName": "2189. Number of Ways to Build House of Cards", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/number-of-ways-to-build-house-of-cards", + "solutionLink": "#" + }, + { + "problemName": "2190. Most Frequent Number Following Key In an Array", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/most-frequent-number-following-key-in-an-array", + "solutionLink": "#" + }, + { + "problemName": "2191. Sort the Jumbled Numbers", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/sort-the-jumbled-numbers", + "solutionLink": "#" + }, + { + "problemName": "2192. All Ancestors of a Node in a Directed Acyclic Graph", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/all-ancestors-of-a-node-in-a-directed-acyclic-graph", + "solutionLink": "#" + }, + { + "problemName": "2193. Minimum Number of Moves to Make Palindrome", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/minimum-number-of-moves-to-make-palindrome", + "solutionLink": "#" + }, + { + "problemName": "2194. Cells in a Range on an Excel Sheet", + "difficulty": "Easy", + "leetCodeLink": "https://leetcode.com/problems/cells-in-a-range-on-an-excel-sheet", + "solutionLink": "#" + }, + { + "problemName": "2195. Append K Integers With Minimal Sum", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/append-k-integers-with-minimal-sum", + "solutionLink": "#" + }, + { + "problemName": "2196. Create Binary Tree From Descriptions", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/create-binary-tree-from-descriptions", + "solutionLink": "#" + }, + { + "problemName": "2197. Replace Non-Coprime Numbers in Array", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/replace-non-coprime-numbers-in-array", + "solutionLink": "#" + }, + { + "problemName": "2198. Number of Single Divisor Triplets", + "difficulty": "Medium", + "leetCodeLink": "https://leetcode.com/problems/number-of-single-divisor-triplets", + "solutionLink": "#" + }, + { + "problemName": "2199. Finding the Topic of Each Post", + "difficulty": "Hard", + "leetCodeLink": "https://leetcode.com/problems/finding-the-topic-of-each-post", + "solutionLink": "#" + } +]; + +