Pergunta de entrevista da empresa Goldman Sachs

Word ladder problem was asked