Goldman Sachs interview question

Word ladder problem was asked