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/all-ancestors-of-a-node-in-a-directed-acyclic-graph/description/
List of ancestors in a DAG #medium #dfs #toposort
List of ancestors in a DAG #medium #dfs #toposort
👍3
https://leetcode.com/problems/count-sub-islands/description/
Count islands intersecting in both 2D grids #medium #dfs
Count islands intersecting in both 2D grids #medium #dfs
👍2
https://leetcode.com/problems/lexicographical-numbers/description/
Lexicographical ordered numbers
Lexicographical ordered numbers
1..n
#medium #dfs👍3
https://leetcode.com/problems/flip-equivalent-binary-trees/description/
Are trees flip-equal #medium #recursion #dfs
Are trees flip-equal #medium #recursion #dfs
👍3
https://leetcode.com/problems/height-of-binary-tree-after-subtree-removal-queries/description/
n
new heights by cutting nodes in a Tree #hard #dfs👍3
https://leetcode.com/problems/reverse-odd-levels-of-binary-tree/description/
Odd-levels reversal in a perfect tree #medium #dfs #bfs #tree
Odd-levels reversal in a perfect tree #medium #dfs #bfs #tree
👍2
https://leetcode.com/problems/find-eventual-safe-states/description/
Nodes without cycles #medium #dfs #toposort
Nodes without cycles #medium #dfs #toposort
👍2
https://leetcode.com/problems/maximum-employees-to-be-invited-to-a-meeting/description/
Max connected siblings in graph #hard #dfs #toposort
Max connected siblings in graph #hard #dfs #toposort
👍4
https://leetcode.com/problems/course-schedule-iv/description/
All innodes for each query in graph #medium #dfs #toposort #floyd_warshall
All innodes for each query in graph #medium #dfs #toposort #floyd_warshall
👍2
https://leetcode.com/problems/maximum-number-of-fish-in-a-grid/description/
Largest region in 2D grid #medium #bfs #dfs
Largest region in 2D grid #medium #bfs #dfs
👍3
https://leetcode.com/problems/making-a-large-island/description/
Max area after filling one empty 2D grid cell #hard #dfs #union_find
Max area after filling one empty 2D grid cell #hard #dfs #union_find
👍2🔥1
https://leetcode.com/problems/find-elements-in-a-contaminated-binary-tree/description/
Is number in a tree 2*v+(1L, 2R)? #medium #bfs #dfs
Is number in a tree 2*v+(1L, 2R)? #medium #bfs #dfs
👍1🔥1
https://leetcode.com/problems/most-profitable-path-in-a-tree/description/
Max Alice path down, Bob up in tree #medium #dfs
Max Alice path down, Bob up in tree #medium #dfs
👍2🔥1
Valid recipes from supplies #medium #dfs #dp
https://leetcode.com/problems/find-all-possible-recipes-from-given-supplies/description/
https://leetcode.com/problems/find-all-possible-recipes-from-given-supplies/description/
👍1🔥1
https://leetcode.com/problems/maximize-the-number-of-target-nodes-after-connecting-trees-i/description/
Max k-reacheable nodes of merged trees #medium #dfs
Max k-reacheable nodes of merged trees #medium #dfs
👍2