Deep Dive
Word Ladder (BFS)
127. Word Ladder · Graph search · 59 of 78
1/16
hit to cog
In this lessonStep 1 of 16 · ← → keys
The question
Turn one word into another by changing one letter at a time, using only words from a list. Find the shortest chain. The words form a hidden graph, and BFS finds the shortest path in it.