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.
hah! thanks, you have given me a big hint, somehow.
I'll go write that silly solution now...
That's ridiculous. But it also makes sense.
Swift Translation
Raku Translation
Perl Translation
Julia Translation
Pascal Translation
R Translation
Elixir Translation
Oh, that is actually not a problem because you figure out that has nothing to do with the solution...
BTW I sup anyone would have expected the "distance" to be the shorter of the two.
The conditions are confusing.
I have spent some time to find the correct logic in the order of patients seats. But then i red conditions one more time carefuly and understood that the solution is inside the condition.
Its like to ask - two crocodiles flew up. first one to the north, second one to the soulth. Your task is to find weight of 1 kg of meat...
In any case, this kata is teaching to read conditions carefully
Thank you, now I understand the requirements for this task
may be you right but test result expect just the same string that it recieved in func return.
The kata is very kind but the test.... If you say that your cade is pass it then i'll try to sove it once again latter.
Thanx for your response
Yes, you were right after all :)
The test has passed, the kata is awsome. Now i know better how to read test rejections
Yes, im agree. The code is okey and all conditions are included.
You don't give any element to prove what you say. This kata has been solved more than 1200 times in JS and nobody pointed out any issue. I've just tried my old code and it works with no problem. You must do something bad. Maybe this can help you: Troubleshooting Your Solution.
JS random test does not works correct. I kindly ask you to fix the "random test" or remove this kata... thx...