https://leetcode.com/problems/minimum-obstacle-removal-to-reach-corner/description/
Min removals to travel first-last in 2D grid #hard #bfs #dijkstra
Min removals to travel first-last in 2D grid #hard #bfs #dijkstra
👍2
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/minimum-number-of-operations-to-sort-a-binary-tree-by-level/description/
Min swaps to sort tree layers #medium #cycle-sort #bfs
Min swaps to sort tree layers #medium #cycle-sort #bfs
👍3
https://leetcode.com/problems/minimum-cost-to-make-at-least-one-valid-path-in-a-grid/description/
Min undirected jumps to reach the end in grid #hard #bfs
Min undirected jumps to reach the end in grid #hard #bfs
👍3
https://leetcode.com/problems/trapping-rain-water-ii/description/
Trap the water in 2D height matrix #hard #bfs
Trap the water in 2D height matrix #hard #bfs
👍3
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/divide-nodes-into-the-maximum-number-of-groups/description/
Max count of bipartitions in a graph #hard #bfs #graph
Max count of bipartitions in a graph #hard #bfs #graph
👍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
Running queries of increasing BFS #hard #bfs #heap
https://leetcode.com/problems/maximum-number-of-points-from-grid-queries/description/
https://leetcode.com/problems/maximum-number-of-points-from-grid-queries/description/
👍1
https://leetcode.com/problems/find-minimum-time-to-reach-last-room-i/description
Fastest path in graph #medium #bfs
Fastest path in graph #medium #bfs
👍2
https://leetcode.com/problems/find-minimum-time-to-reach-last-room-ii/description/
Fastest travel in graph, alternating dt=1,2 #medium #bfs
Fastest travel in graph, alternating dt=1,2 #medium #bfs
👍3
https://leetcode.com/problems/find-closest-node-to-given-two-nodes/description
Closest common node #medium #bfs
Closest common node #medium #bfs
👍3
https://leetcode.com/problems/snakes-and-ladders/description/
Shortest path bottom-top in zig-zag matrix with jumps #medium #bfs
Shortest path bottom-top in zig-zag matrix with jumps #medium #bfs
👍1🔥1