Ad
  • Custom User Avatar

    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?

  • Custom User Avatar

    The prompt can be clearer.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Custom User Avatar

    Try to add something to it.
    For example, return the string with every other character to uppercase.

  • Custom User Avatar

    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!

  • Custom User Avatar

    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.