Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Ugly
The line 13 is equivalent to
return false;
You're right, it's about intent! My goal is fundamentals, where other's might be purely to improve practical coding experience.
Valid question, and I don't have an answer. I personally use Stream API to train myself at it, as it would be easier for me to use normal iterations.
"There will always be only one integer that appears an odd number of times."
I believe it should be reformulated to "one and only one integer", otherwise I am not sure if there will be any, and the return type does not allow me to return null. Otherwise, the return type should be changed to Integer.
The test should contain repeating long words (longer than 4 characters). Some warriors tend to replace ALL words in the input sentence with the same but reversed word. For example, "Some words are repeating, these words will be reversed twice" would produce in this case (incorrectly): "Some sdrow are gnitaeper, eseht words will be desrever eciwt".