LeetCode The Hard Way

2100 - 2199

Solutions categorised by Problem IDs

2140 - Solving Questions With Brainpower (Medium)Author: @wkw | https://leetcode.com/problems/solving-questions-with-brainpower/2108 - Find First Palindromic String in the Array (Easy)Author: @wkw | https://leetcode.com/problems/find-first-palindromic-string-in-the-array/2109 - Adding Spaces to a String (Medium)Author: @wkw | https://leetcode.com/problems/adding-spaces-to-a-string/2110 - Number of Smooth Descent Periods of a Stock (Medium)Author: @wkw | https://leetcode.com/problems/number-of-smooth-descent-periods-of-a-stock/2111 - Minimum Operations to Make the Array K-Increasing (Hard)Author: @wkw | https://leetcode.com/problems/minimum-operations-to-make-the-array-k-increasing/2119 - A Number After a Double Reversal (Easy)Author: @wkw | https://leetcode.com/problems/a-number-after-a-double-reversal/2120 - Execution of All Suffix Instructions Staying in a Grid (Medium)Author: @wkw | https://leetcode.com/problems/execution-of-all-suffix-instructions-staying-in-a-grid/2121 - Intervals Between Identical Elements (Medium)Author: @wkw | https://leetcode.com/problems/intervals-between-identical-elements/2122 - Recover the Original Array (Hard)Author: @wkw | https://leetcode.com/problems/recover-the-original-array/2127 - Maximum Employees to Be Invited to a Meeting (Hard)Author: @wkw | https://leetcode.com/problems/maximum-employees-to-be-invited-to-a-meeting/2131 - Longest Palindrome by Concatenating Two Letter Words (Medium)Author: @wkw | https://leetcode.com/problems/longest-palindrome-by-concatenating-two-letter-words/2144 - Minimum Cost of Buying Candies With Discount (Easy)Author: @wkw | https://leetcode.com/problems/minimum-cost-of-buying-candies-with-discount/2145 - Count the Hidden Sequences (Medium)Author: @wkw | https://leetcode.com/problems/count-the-hidden-sequences/2146 - K Highest Ranked Items Within a Price Range (Medium)Author: @wkw | https://leetcode.com/problems/k-highest-ranked-items-within-a-price-range/2147 - Number of Ways to Divide a Long Corridor (Hard)Author: @wkw | https://leetcode.com/problems/number-of-ways-to-divide-a-long-corridor/2148 - Count Elements With Strictly Smaller and Greater Elements (Easy)Author: @wkw | https://leetcode.com/problems/count-elements-with-strictly-smaller-and-greater-elements/2149 - Rearrange Array Elements by Sign (Medium)Author: @wkw | https://leetcode.com/problems/rearrange-array-elements-by-sign/2150 - Find All Lonely Numbers in the Array (Medium)Author: @wkw | https://leetcode.com/problems/find-all-lonely-numbers-in-the-array/2151 - Maximum Good People Based on Statements (Hard)Author: @wkw | https://leetcode.com/problems/maximum-good-people-based-on-statements/2154 - Keep Multiplying Found Values by Two (Easy)Author: @wkw | https://leetcode.com/problems/keep-multiplying-found-values-by-two/2155 - All Divisions With the Highest Score of a Binary Array (Medium)Author: @wkw | https://leetcode.com/problems/all-divisions-with-the-highest-score-of-a-binary-array/2156 - Find Substring With Given Hash Value (Medium)Author: @wkw | https://leetcode.com/problems/find-substring-with-given-hash-value/2160 - Minimum Sum of Four Digit Number After Splitting Digits (Easy)Author: @wkw | https://leetcode.com/problems/minimum-sum-of-four-digit-number-after-splitting-digits/2161 - Partition Array According to Given Pivot (Medium)Author: @wkw, @ganajayant | https://leetcode.com/problems/partition-array-according-to-given-pivot/2162 - Minimum Cost to Set Cooking Time (Medium)Author: @wkw | https://leetcode.com/problems/minimum-cost-to-set-cooking-time/2163 - Minimum Difference in Sums After Removal of Elements (Hard)Author: @wkw | https://leetcode.com/problems/minimum-difference-in-sums-after-removal-of-elements/2164 - Sort Even and Odd Indices Independently (Easy)Author: @heiheihang | https://leetcode.com/problems/sort-even-and-odd-indices-independently/2165 - Smallest Value of the Rearranged Number (Medium)Authors: @heiheihang, @wkw | https://leetcode.com/problems/smallest-value-of-the-rearranged-number/2166 - Design Bitset (Medium)Author: @heiheihang | https://leetcode.com/problems/design-bitset/2167 - Minimum Time to Remove All Cars Containing Illegal Goods (Hard)Authors: @heiheihang, @wkw | https://leetcode.com/problems/minimum-time-to-remove-all-cars-containing-illegal-goods/2169 - Count Operations to Obtain Zero (Easy)Author: @wkw | https://leetcode.com/problems/count-operations-to-obtain-zero/2170 - Minimum Operations to Make the Array Alternating (Medium)Author: @heiheihang | https://leetcode.com/problems/minimum-operations-to-make-the-array-alternating/2171 - Removing Minimum Number of Magic Beans (Medium)Author: @wkw | https://leetcode.com/problems/removing-minimum-number-of-magic-beans/2172 - Maximum AND Sum of Array (Hard)Author: @heiheihang, @wkw | https://leetcode.com/problems/maximum-and-sum-of-array/2176 - Count Equal and Divisible Pairs in an Array (Easy)Author: @wkw | https://leetcode.com/problems/count-equal-and-divisible-pairs-in-an-array/2177 - Find Three Consecutive Integers That Sum to a Given Number (Medium)Author: @wkw | https://leetcode.com/problems/find-three-consecutive-integers-that-sum-to-a-given-number/2178 - Maximum Split of Positive Even Integers (Medium)Author: @wkw | https://leetcode.com/problems/maximum-split-of-positive-even-integers/2179 - Count Good Triplets in an Array (Hard)Author: @wkw | https://leetcode.com/problems/count-good-triplets-in-an-array/2180 - Count Integers With Even Digit Sum (Easy)Author: @wkw | https://leetcode.com/problems/count-integers-with-even-digit-sum/2183 - Count Array Pairs Divisible by K (Hard)Author: @TBC | https://leetcode.com/problems/count-array-pairs-divisible-by-k/2185 - Counting Words With a Given Prefix (Easy)Author: @heiheihang, @wkw | https://leetcode.com/problems/counting-words-with-a-given-prefix/2186 - Minimum Number of Steps to Make Two Strings Anagram II (Medium)Author: @heiheihang, @wkw | https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram-ii/2187 - Minimum Time to Complete Trips (Medium)Author: @heiheihang, @wkw | https://leetcode.com/problems/minimum-time-to-complete-trips/2188 - Minimum Time to Finish the Race (Hard)Author: @heiheihang | https://leetcode.com/problems/minimum-time-to-finish-the-race/2190 - Most Frequent Number Following Key In an Array (Easy)Author: @wkw | https://leetcode.com/problems/most-frequent-number-following-key-in-an-array/2191 - Sort the Jumbled Numbers (Medium)Author: @wkw | https://leetcode.com/problems/sort-the-jumbled-numbers/2192 - All Ancestors of a Node in a Directed Acyclic Graph (Medium)Author: @heiheihang, @wkw | https://leetcode.com/problems/all-ancestors-of-a-node-in-a-directed-acyclic-graph/2193 - Minimum Number of Moves to Make Palindrome (Hard)Author: @heiheihang | https://leetcode.com/problems/minimum-number-of-moves-to-make-palindrome/2194 - Cells in a Range on an Excel Sheet (Easy)Author: @wkw | https://leetcode.com/problems/cells-in-a-range-on-an-excel-sheet/2195 - Append K Integers With Minimal Sum (Medium)Author: @wkw | https://leetcode.com/problems/append-k-integers-with-minimal-sum/2196 - Create Binary Tree From Descriptions (Medium)Author: @wkw | https://leetcode.com/problems/create-binary-tree-from-descriptions/2197 - Replace Non-Coprime Numbers in Array (Hard)Author: @wkw | https://leetcode.com/problems/replace-non-coprime-numbers-in-array/2200 - Find All K-Distant Indices in an Array (Easy)Author: @wkw | https://leetcode.com/problems/find-all-k-distant-indices-in-an-array/2201 - Count Artifacts That Can Be Extracted (Medium)Author: @wkw | https://leetcode.com/problems/count-artifacts-that-can-be-extracted/2202 - Maximize the Topmost Element After K Moves (Medium)Author: @wkw | https://leetcode.com/problems/maximize-the-topmost-element-after-k-moves/2203 - Minimum Weighted Subgraph With the Required Paths (Hard)Author: @wkw | https://leetcode.com/problems/minimum-weighted-subgraph-with-the-required-paths/2206 - Divide Array Into Equal Pairs (Easy)Author: @wkw | https://leetcode.com/problems/divide-array-into-equal-pairs/2207 - Maximize Number of Subsequences in a String (Medium)Author: @wkw | https://leetcode.com/problems/maximize-number-of-subsequences-in-a-string/