You are viewing a single comment's thread. Return to all comments →
Converts a char (where a= ascii97) to a zero based integer. This way First[0] will be used for 'a', First[1] will be used for 'b', etc.
This makes the array smaller rather than having to use 123 positions, you can use just 26.
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Anagrams
You are viewing a single comment's thread. Return to all comments →
Converts a char (where a= ascii97) to a zero based integer. This way First[0] will be used for 'a', First[1] will be used for 'b', etc.
This makes the array smaller rather than having to use 123 positions, you can use just 26.