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.
^^
Oh my God! Now I got it! Thank you so much! That description is so BADLY WRITTEN! It made no sense what I was supposed to do...
thank you. I could not have done it without your explanation
God bless you. I came here to see if someone explained the exercise in a more understandable way. I would have never in a million years understood it from the original description.
Same issue was raised above with its sourse found/explained. Closing this one.
wut!?? x/
So confusing. Please, update the description.
The second point isn't true, because when you add three numbers, the number of operations is two.
I realized that after making the suggestion, sorry.
I have more questions about the description now that we have random tests, though. How do you expect cases such as 912 or 127 to be treated? What is the expected output when the second digit value is lower than the first, or when the third digit is greater than the difference between digits 1 and 2? Maybe adding more examples would help.
I agree, I'm definitely not at the point of being able to solve a 5kyu kata under 10 minutes. :-) It must be a quite old one based on a) the number of solutions, and b) the fact that most upvoted JavaScript solutions do not employ the padString() function introduced in ECMAScript 2017.
You are right.
Thanks for the feed, appreciated!
And if you look at the full test cases, you might find an url I suggest you to consider ;)