Skip to content

Commit 688a384

Browse files
committed
fix travis-ci
1 parent a2bdbb7 commit 688a384

File tree

1,318 files changed

+9
-21
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,318 files changed

+9
-21
lines changed
File renamed without changes.
File renamed without changes.

Algorithms/0127. Word Ladder/127. Word Ladder.go renamed to Algorithms/0127.Word-Ladder/127. Word Ladder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func getCandidates(word string) []string {
4040
for i := 0; i < 26; i++ {
4141
for j := 0; j < len(word); j++ {
4242
if word[j] != byte(int('a')+i) {
43-
res = append(res, word[:j]+string(int('a')+i)+word[j+1:])
43+
res = append(res, word[:j]+string(rune(int('a')+i))+word[j+1:])
4444
}
4545
}
4646
}

0 commit comments

Comments
 (0)