LinkedIn Interview Question

word ladder from Leetcode