Ad
  • Custom User Avatar

    I'm sure you've solved this by now, but just in case...

    You know that there can't be more WUBs than the length of the given title / 3 (because WUB takes up three characters). Can you replace the groups of WUBs with a single space if you know how many there are?

  • Custom User Avatar

    One way would be to use a recursive function, easy to do and it won't be limited like a hard coded fix.

  • Custom User Avatar

    don't worry about one-liner solutions, keep solving katas and you will spit one-liners too! I experienced that

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution