DIY: Word Ladder II

Solve the interview question "Word Ladder II" in this lesson.

Problem statement

In this scenario, you are given a list of words, a startingWord, and an endingWord. The problem requires you to find all shortest transformation sequences’ from startingWord to endingWord. There are a few conditions for this problem:

  • All the words should be the same ...