https://leetcode.com/problems/palindrome-partitioning/description/
All palindrome partitions #medium #dfs #dynamic_programming
All palindrome partitions #medium #dfs #dynamic_programming
👍2🥰1
https://leetcode.com/problems/word-break-ii/description/
All string splits with dictionary #hard #dfs #dynamic_programming
All string splits with dictionary #hard #dfs #dynamic_programming
🔥3👍2
https://leetcode.com/problems/student-attendance-record-ii/description/
N times: A -> LP, L -> AP, P -> AL, at most one A, no LLL #hard #dynamic_programming
N times: A -> LP, L -> AP, P -> AL, at most one A, no LLL #hard #dynamic_programming
👍3🔥1
https://leetcode.com/problems/minimum-difference-between-largest-and-smallest-value-in-three-moves/description/
Min difference after 3 changes in array #medium #sliding_window #dynamic_programming
Min difference after 3 changes in array #medium #sliding_window #dynamic_programming
👍2
https://leetcode.com/problems/filling-bookcase-shelves/description/
Min total height to split
Min total height to split
[[w,h]]
array by shelfWidth
#medium #dynamic_programming👍2
https://leetcode.com/problems/maximum-number-of-points-with-cost/description/
Max top-down path sum with column diff in 2D matrix #medium #dynamic_programming
Max top-down path sum with column diff in 2D matrix #medium #dynamic_programming
👍2
https://leetcode.com/problems/2-keys-keyboard/description/
Min copy-pastes to make
Min copy-pastes to make
n
A
's from one #medium #dynamic_programming #math👍2
https://leetcode.com/problems/stone-game-ii/description/
Max Alice price taking 1..2m piles optimally with Bob #medium #dynamic_programming
Max Alice price taking 1..2m piles optimally with Bob #medium #dynamic_programming
👍2
https://leetcode.com/problems/strange-printer/description/
Minimum continuous replacements to make a string #hard #dynamic_programming
Minimum continuous replacements to make a string #hard #dynamic_programming
👍2
https://leetcode.com/problems/different-ways-to-add-parentheses/description/
Eval all possible parenthesis placements #medium #dynamic_programming
Eval all possible parenthesis placements #medium #dynamic_programming
👍3
https://leetcode.com/problems/extra-characters-in-a-string/description/
Min extra chars to form an
Min extra chars to form an
s
from dictionary
#medium #dynamic_programming👍3
https://leetcode.com/problems/count-square-submatrices-with-all-ones/description/
Count
Count
1
-filled squares in 2D matrix #medium #dynamic_programming👍4
https://leetcode.com/problems/maximum-number-of-moves-in-a-grid/description/
Max increasing path from left to right in 2D matrix #medium #dynamic_programming
Max increasing path from left to right in 2D matrix #medium #dynamic_programming
👍2
https://leetcode.com/problems/minimum-number-of-removals-to-make-mountain-array/description/
Min removes to make a mountain #hard #dynamic_programming #binary_search #lis
Min removes to make a mountain #hard #dynamic_programming #binary_search #lis
👍2
https://leetcode.com/problems/minimum-total-distance-traveled/description/
Min robots[x] travel to factories[x,capacity] #hard #dynamic_programming #sorting
Min robots[x] travel to factories[x,capacity] #hard #dynamic_programming #sorting
👍2
https://leetcode.com/problems/target-sum/description/
Count signs permutations to sum equal target #medium #dynamic_programming
Count signs permutations to sum equal target #medium #dynamic_programming
👍1
https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays/description/
3 max non-intersecting intervals #hard #dynamic_programming #sliding_window
3 max non-intersecting intervals #hard #dynamic_programming #sliding_window
👍2
https://leetcode.com/problems/number-of-ways-to-form-a-target-string-given-a-dictionary/description/
Ways to make target with increasing positions in words #hard #dynamic_programming
Ways to make target with increasing positions in words #hard #dynamic_programming
👍2
https://leetcode.com/problems/count-ways-to-build-good-strings/description/
Ways to make
Ways to make
01
-string length of low..high
#medium #dynamic_programming👍2
https://leetcode.com/problems/length-of-longest-fibonacci-subsequence/description/
Longest sequence a, b, a + b #medium #dynamic_programming
Longest sequence a, b, a + b #medium #dynamic_programming
👍1