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.
Hello, original author here. I didn't write the Java version, another contributor apparently added it while this kata was in beta. I don't know why it has tests for special characters or punctuation, as those were not in the tests in the original languages (which is why the description specifically says to ignore them.) Is there a way I can give you edit permissions to fix the problematic Java tests? Apologies I haven't used this site in 6+ years.
Great idea @Freywar, I added this.
Approved! Thanks so much.
Thanks Dvoreth! I updated the description with that sentence exactly.
This comment is hidden because it contains spoiler information about the solution
Thanks. Function signature updated, and error "todo" made starting point.
The provided example test cases intentionally leave out the case of testing with numbers to encourage the student to add their own tests. (The internal solution validation does test for this and should report a failure with error message explaining.)
Whoops, yes, thank you for the catch. Fixed!
The description has been updated to reflect ignoring upper vs lowercase.
Numeric input is explicitly mentioned in the example in the description (the sample is
"WHERE DO YOU WANT 2 MEET L8R"
). It is intentionally left out of the example test cases to give the student something to identify and add to their own test cases after reading and understanding the problem statement.Whoops, I must have cut that from my original description. I've updated with something that should make that simplification more clear.