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.
As I understand we neet to find rectangle
[ 9,2] -> 11
[-4,1] -> -3 = 15
[-1,8] -> 7
Task just poorly described.
I don't think without "return" you can send any output with this method.
If we're going to engage in pedantry, the correct use would be "Hello, Name. How are you?" :)
That's not an issue, more of a "I don't like this kata's format".
Besides, there are already many such katas: https://www.codewars.com/kata/multi-line-task-plus-plus-hello-world and https://www.codewars.com/kata/multi-line-task-hello-world
Closure, basic JS language feature.
I am very sorry that I don't have your smartness and great quality of explanation but I don't regret not to be a native speaker.
You will be fortunate if your clients give you clear rules...
Regards.
lmao
Thank you for your time and kind feedback :)
Check the author's comment at the bottom. But a valid solution only pass with luck, so I think the tests are somewhat very prone to timeout.
Thanks! I remember doing this challenge but honestly don't remember how it works lol
That's already there. And I don't know if I've been clear enough, but I'll give you some examples of valid decrement sequences:
And these aren't valid given the instructions:
Let me know if your code worked when you adjust that.
Yes, that's what I meant, the instructions talk about digits, not numbers. And yes, I think a decrementing sequence can't end with 9.
Otherwise it'll contradict that. A decrementing sequence not necessarily should end with 0 or 1, but there is a limit for the sequence pattern as I said. After a 0 you can't put a 9.
1 is greater than 0 but 0 is not greater than 9. Why do you say 109 is a sequence? 10 are two digits, I don't think you can use that to make it 10 and 9.
109 is not a decrementing sequence. Neither it is 2109. They don't start again from the other end.