Ad
  • Default User Avatar

    Well, honestly, I think that kata is not exactly the same. As JohanWiltink says, there are different ways to solve it.

    Talking about mine, and having just one solution, I don't see it as a problem. From my point of view, the purpose of Codewars and many easy katas is to learn things you don't know. If you find yourself looking for algorithms, structures, or just basic things of any language, then the kata has been useful. This is a fundamentals easy kata, so people can search and learn about a very specific thing they may don't know of javascript, I think it has its audience that can learn a lot of it.