You are viewing a single comment's thread. Return to all comments →
Strings that should cause a 0 output:
aaaabbbbcccc
aaaabababbbb
cccccccccccc
If the string does not have some pair of letters that alternate with each other when you ignore all other letters in the string, it should output 0.
Seems like cookies are disabled on this browser, please enable them to open this website
Two Characters
You are viewing a single comment's thread. Return to all comments →
Strings that should cause a 0 output:
aaaabbbbcccc
aaaabababbbb
cccccccccccc
If the string does not have some pair of letters that alternate with each other when you ignore all other letters in the string, it should output 0.