LeetCode 882: Reachable Nodes In Subdivided Graph
A clear explanation of counting reachable original and subdivided nodes using Dijkstra's shortest path algorithm.
9 notes
A clear explanation of counting reachable original and subdivided nodes using Dijkstra's shortest path algorithm.
A clear explanation of finding the minimum moves to collect all keys in a grid using BFS with key bitmasks.
A clear explanation of finding the minimum number of swaps needed to transform one anagram string into another using BFS.
A clear explanation of finding the cheapest flight route with at most k stops using bounded Bellman-Ford relaxation.
A clear explanation of solving the 2 x 3 sliding puzzle using breadth-first search over board states.
Find the time needed for a signal to reach all nodes in a directed weighted graph using Dijkstra's algorithm.
A clear explanation of finding the shortest rolling distance in a maze using Dijkstra’s algorithm.
A clear explanation of finding the shortest rolling-ball path to the hole using Dijkstra with lexicographic tie-breaking.
Find the minimum number of valid one-character gene mutations using breadth-first search.