https://leetcode.com/problems/largest-local-values-in-a-matrix/description/
Max pooling by
Max pooling by
3x3
matrix #easy👍2
https://leetcode.com/problems/score-after-flipping-matrix/description/
Max binary-row sum after toggling rows and columns #medium
Max binary-row sum after toggling rows and columns #medium
👍1
https://leetcode.com/problems/path-with-maximum-gold/description/
Max one-way path in matrix #medium #dfs
Max one-way path in matrix #medium #dfs
👍1
https://leetcode.com/problems/find-the-safest-path-in-a-grid/description/
Safest path in a grid with thiefs #medium #bfs #heap
Safest path in a grid with thiefs #medium #bfs #heap
👍1
https://leetcode.com/problems/evaluate-boolean-binary-tree/description/
Evaluate tree where
Evaluate tree where
0/1
is false/true
and 2/3
is or/and
#easy #tree #dfs👍1🔥1
https://leetcode.com/problems/delete-leaves-with-a-given-value/description/
Recursively remove
Recursively remove
target
leafs from the tree #easy #dfs #tree👍1🔥1
https://leetcode.com/problems/distribute-coins-in-binary-tree/description/
Min moves to spread the coins across the tree #medium #dfs #tree
Min moves to spread the coins across the tree #medium #dfs #tree
👍1🔥1
https://leetcode.com/problems/find-the-maximum-sum-of-node-values/description/
Max sum after
Max sum after
xor k
any edges in a tree #hard #math👍2🔥1
https://leetcode.com/problems/sum-of-all-subset-xor-totals/description/
Sum of subsets xors #easy #dfs #backtracking
Sum of subsets xors #easy #dfs #backtracking
👍1🔥1
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/the-number-of-beautiful-subsets/description/
Count subsets without
Count subsets without
k
difference in them #medium #dfs #backtracking👍1🔥1
https://leetcode.com/problems/maximum-score-words-formed-by-letters/description/
Max score of words subset from letters #hard #backtracking #dfs
Max score of words subset from letters #hard #backtracking #dfs
👍1🔥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/special-array-with-x-elements-greater-than-or-equal-x/description/
Count of more or equal nums[i] equal itself #easy
Count of more or equal nums[i] equal itself #easy
👍3🔥1