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.
Approved
You should use fold instead of reduce. Because if the array is empty then reduce method will give error.
This is very clean
Too late to introduce such changes due to amount of language and solutions submitted as of now!
Rejected as it will invalidate all existing solutions (maybe use backward compatability for consideration in approval)
Probably if you are aiming to use java streams, you should have a method that checks it. I see some solutions using the for loop
this solution made me scroll so much xDD
Thanks to god you don't have to take in count special characters or special letters like "ñ" or "ç" 😂
Dart translation edited (better naming and String type)
Dart Translation Fork
the purpose of this use was to beautify the appearance of the code
of course using the array was wrong :'(
I didnt see now i am trying to solve the duplicated
Why do you publish a translation to a kata retired for being duplicate?
Translated to Dart: https://www.codewars.com/kumite/622f875fcdd705001530e829?sel=622f875fcdd705001530e829
Why did you create an array to make just a sum?
Loading more items...