Beyond Limits interview question

2nd interview question was LeetCode's word ladder question.