4 ms·
It couldn't average in the middle, right? You're guaranteed one in the first 27(alphabet+1) characters, so just do it on that substring
by idunno246 15y ago
It couldn't average in the middle, right? You're guaranteed one in the first 27(alphabet+1) characters, so just do it on that substring
- kenjackson 15y agoWhat if most of the strings look like: "abcabcabcabc....abcabcxabcabcabcabc...abcabc"
- idunno246 15y agobleh, missread the non part