LinkedIn interview question

Word ladder problem