Solution: Word Ladder
Let's solve the Word Ladder problem using the Tree Breadth-first Search pattern.
We'll cover the following...
Statement
Given two words, src
and dest
, and a list, words
, return the number of words in the shortest transformation sequence from src
to dest
. If no such sequence could be formed, return .
A transformation sequence is a sequence of words src
...
Access this course and 1400+ top-rated courses and projects.