Word Ladder — Graphs: BFS/DFS

Count the words in the shortest chain of single-letter edits that turns one lowercase name into another, using only listed names.

Graphs: BFS/DFS · Hard

More in Graphs: BFS/DFS

All algorithm problems