Ways to fill 2xn board with I,L shapes #medium #dp
https://leetcode.com/problems/domino-and-tromino-tiling/description/
https://leetcode.com/problems/domino-and-tromino-tiling/description/
👍3
Permutations of even-odd position sums equal #hard #dp #math
https://leetcode.com/problems/count-number-of-balanced-permutations/description/
https://leetcode.com/problems/count-number-of-balanced-permutations/description/
👍2
String length after t shifts c=c+1,
https://leetcode.com/problems/total-characters-in-string-after-transformations-i/description
z
=ab
#medium #dphttps://leetcode.com/problems/total-characters-in-string-after-transformations-i/description
👍2
t
steps to convert char into next nums[c] chars #hard #dp #mathhttps://leetcode.com/problems/total-characters-in-string-after-transformations-ii/description
👍2
https://leetcode.com/problems/longest-unequal-adjacent-groups-subsequence-ii/description
Longest subsequence humming distance 1, alterating groups #medium #dp
Longest subsequence humming distance 1, alterating groups #medium #dp
👍2
https://leetcode.com/problems/painting-a-grid-with-three-different-colors/description
Ways to 3-color m*n grid, no adjucents #hard #dp #matrix
Ways to 3-color m*n grid, no adjucents #hard #dp #matrix
👍3
https://leetcode.com/problems/find-the-maximum-sum-of-node-values/description/
Max sum by k-xoring edges #hard #tree #dp
Max sum by k-xoring edges #hard #tree #dp
👍2
https://leetcode.com/problems/largest-color-value-in-a-directed-graph/description/
Max color freq path #hard #dp #toposort
Max color freq path #hard #dp #toposort
👍2🔥1
# 2.07.2025
[3333. Find the Original Typed String II](https://leetcode.com/problems/find-the-original-typed-string-ii/description/) hard
ways to remove duplicates, preserve length at least k #hard #dp
[3333. Find the Original Typed String II](https://leetcode.com/problems/find-the-original-typed-string-ii/description/) hard
ways to remove duplicates, preserve length at least k #hard #dp
👍1
# 8.07.2025
[1751. Maximum Number of Events That Can Be Attended II](https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended-ii/description) hard
Max top k valued intervals #hard #binary_search #dp
[1751. Maximum Number of Events That Can Be Attended II](https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended-ii/description) hard
Max top k valued intervals #hard #binary_search #dp
👍2
# 17.07.2025
[3202. Find the Maximum Length of Valid Subsequence II](https://leetcode.com/problems/find-the-maximum-length-of-valid-subsequence-ii/description) medium
Longest same-pair-k-parity subsequence #medium #dp
[3202. Find the Maximum Length of Valid Subsequence II](https://leetcode.com/problems/find-the-maximum-length-of-valid-subsequence-ii/description) medium
Longest same-pair-k-parity subsequence #medium #dp
👍2
# 31.07.2025
[898. Bitwise ORs of Subarrays](https://leetcode.com/problems/bitwise-ors-of-subarrays/description) medium
Uniq OR-subarrays #medium #dp #bits
[898. Bitwise ORs of Subarrays](https://leetcode.com/problems/bitwise-ors-of-subarrays/description) medium
Uniq OR-subarrays #medium #dp #bits
👍2
# 8.08.2025
[808. Soup Servings](https://leetcode.com/problems/soup-servings/description/) medium
Probability A empty first plus both empty /2 #medium #dp #probability
[808. Soup Servings](https://leetcode.com/problems/soup-servings/description/) medium
Probability A empty first plus both empty /2 #medium #dp #probability
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
# 12.08.2025
[2787. Ways to Express an Integer as Sum of Powers](https://leetcode.com/problems/ways-to-express-an-integer-as-sum-of-powers/description/) medium
Ways to make n by sum of a^x+b^x+... #medium #dp
[2787. Ways to Express an Integer as Sum of Powers](https://leetcode.com/problems/ways-to-express-an-integer-as-sum-of-powers/description/) medium
Ways to make n by sum of a^x+b^x+... #medium #dp
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
# 20.08.2025
[1277. Count Square Submatrices with All Ones](https://leetcode.com/problems/count-square-submatrices-with-all-ones/description/) medium
Count square islands of 1 #medium #dp
[1277. Count Square Submatrices with All Ones](https://leetcode.com/problems/count-square-submatrices-with-all-ones/description/) medium
Count square islands of 1 #medium #dp
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
# 21.08.2025
[1504. Count Submatrices With All Ones](https://leetcode.com/problems/count-submatrices-with-all-ones/description) medium
Count islands of 1 #medium #dp
[1504. Count Submatrices With All Ones](https://leetcode.com/problems/count-submatrices-with-all-ones/description) medium
Count islands of 1 #medium #dp
👍2
# 27.08.2025
[3459. Length of Longest V-Shaped Diagonal Segment](https://leetcode.com/problems/length-of-longest-v-shaped-diagonal-segment/description) hard
Max length of 1-2-0-2.. diagonal sequence, on cw rotation #hard #dp
[3459. Length of Longest V-Shaped Diagonal Segment](https://leetcode.com/problems/length-of-longest-v-shaped-diagonal-segment/description) hard
Max length of 1-2-0-2.. diagonal sequence, on cw rotation #hard #dp
👍3