I think that this ends up a little cleaner, you don’t have to deal with the subtraction and indexing:
char[] alphabet = "abcdefghijklmnopqrstuvwxyz".toCharArray();
I think that this ends up a little cleaner, you don’t have to deal with the subtraction and indexing:
char[] alphabet = "abcdefghijklmnopqrstuvwxyz".toCharArray();