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.
Reversing each word and the sentence is the same as basically reversing the string. Maybe you could ask to reverse the sentence and every other word?
The prompt can be clearer.
This is a bit too easy.
Try to make is a little harder. For example, you can pass in strings with digits as arguments instead of the numbers, so that we need to at least transform string to numbers.
The function might also receive an unknown number of arguments.
Maybe the characters of the string input could be separate by spaces, so at least you should clean the spaces before checking if the array includes the string.
Try to add something to it.
For example, return the string with every other character to uppercase.
You could try to make it a little harder.
For example, you could say that input may contain non alphanumeric characters, and that the function should remove these in order to return the correct output.
But it's a funny Kata!
Try to make it a little harder. For example, you can say that inputs may contain digits or non alphanumeric characters, so that the function also needs to get rid of these in order to return the correct output.