Ad
  • Custom User Avatar

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

  • Default User Avatar

    You could write "apple" and it would still work

  • Custom User Avatar

    A category would be nice. There are some kata which push the limits on what you can do on the max time limit that is available on CW (7 - 11 seconds, depending on the language).

    Something to keep in mind with code performance is that its not constant, in terms of run time. The host machine that is running the code may be doing any number of things that affects how much attention the code is given on each run. Check out big O notation to understand more about how to improve your algorithm complexity.