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.
If you submitted your solution after passing tests, it's already uploaded to the solutions page. If it's similar enough to other solutions, it will be grouped with them. You can look at the solutions page and filter for "mine" on the left hand side of the page to just see your solution.
how to uppload your solution🥀🥀🥀✌🏿
nice
super wrong. are you joking? put my code in any browser and you get the output as expected.
I got it. I have > instead of -.
Thanks
your code is super wrong and failed the tests. what is there to fix?
What's wrong with this kata. I have the same output in codepen, jsbin, in console, but codewars output is something strange. Please fix the tests
Fork approved by someone, so closing this issue
Came to the comments to say the same. "subtract the total of the string integers" reads like "subtract the count" not "subtract the sum", should be rewritten to be clear. Especially since many katas are "do X with this portion of the data and Y with that portion of the data".
there is a problem in c++ tests
sweet little kata :3
perfect for 6 kyu
хороший и простой ката
Fixed translation here, need someone to approve.
Also edited the description from
40+ = back
to41-60 = back
and some edge tests in sample test, to make it more clear.40
expectedMiddle
is right, as the description says21-40 = middle, 40+ = back
.I submitted a solution using == for object comparison, and it was accepted even for Strings. This works due to the current test cases but may fail in other scenarios where Strings are dynamically created. I think the test cases should be updated to cover such cases. While this kata is beginner-friendly, it's important for beginners to learn proper object equality checking using .equals().
Approved
Loading more items...