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.
There is actually a question at the end. Your code does not account for the "case-insensitive" part.
Just checked and this is written in the initial setup:
Do you think this should be made more clear?
The description is shared across all languages. SQL setup is mostly like this that you have to write a
SELECT
query.Normally this is stated in the solution setup. If it is not then indeed this should be added.
You should look where in your code you add the space and why it is not added in the
"hello hello"
case." double spaced words "
)"
like e.g.test("Test \"hello hello\"", () { ...
Added random tests to C#.
Your solution changes the order of characters and white space which it is not supposed to do. Not a kata issue.
You should consult the Python docs if you want to know why this happens.
Test case generation was updated now to only generate space-separated words without other whitespace.
Approved.
very clever indeed
Please add fixed/sample tests with leading/trainling white space.
Is it actually a requirement that all kinds of white space should be supported? I only read that spaces (0x20) should be retained and not trimmed/collapsed (like it would be with naive Haskell/Python solutions).
It is stated that
1--1
is valid and that an unary minus is not separated by a whitespace before parentheses. Your example follow these rules.Loading more items...