LeetCode 126: Word Ladder II
Direct character iteration
                for (int letter = 0; letter &lt; 26; letter++) {
                    word[chari] = 'a' + letter;

does not need to use integers. Instead,
for (char letter = 'a'; letter &lt;= 'z'; letter++) {
    word[chari] = letter;