Ooh, that's a nice one! :]
Without that rule, I agree this is not a duplicate of that.
replace method never call regex engine this always replace substrings or chars...
#replaceAll and #replaceFirst methods in String class will call regex engine under hood.
Very similar. Almost the same. I didn't know that kata before.
However it has one rule which my task has not: "You cannot copy your opponent's previous move, likewise they cannot copy yours."
Is Protein a class? Did Voile mean HashMap or HashSet?
Check how HashMap handles the lookup and its potential pitfalls ;-)
the percentage of 8kyu is starting from 1, instead of 0. like 7kyu's range: 91-180, 8kyu's range is 1-90. For example, 91 points is 7kyu 0%, so 1 point is 8kyu 0%. base on this, 5 points is (5-1)/90=4%
Hell yeah, I'm agree with smile67!
This comment is hidden because it contains spoiler information about the solution
Addeded thank you.
Your personal opinion of a single kata, the average was 5 and 6... so be happy for some easy points;-)...