Amazon Interview Question

Leetcode 126: Word Ladder II