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.
According to the rules laid out in the description, 3 riders would be required. The first rider starts at station 1 and rides the 6 miles to station 2. This rider then attempts to ride the 43 miles to station 3, but never makes it, since that is station x. The second rider would then travel the 43 miles from station 3 to station 2, rescuing the first rider along the way. After arriving at station 2, the second rider rides the 43 miles back to station 3, for a total of 86 miles. There are still 38 miles to the final station, which would exceed the 100 mile limit for the second rider, so then a third rider would carry the mail bag to the final station.
Terrible cata. Fix the description. Add output schema, please
Will you give any context to your comment?
Will you explain in details what you thnk is wrong, and why you think it is wrong?
Remember, 76 people already solved this so...
[50, 51] 3
2 should equal 4
Random test #2 stations=[6, 43, 38] x=3 => 3 riders needed
Really?
I think that only 2 riders can do the job.
I am sorry, I am not that fluent in JS, but using proper formatting for your code might help others to read it and give some advice.
Thanks for answer ) can you check my code ?I have no ideas for this )
Having numbers 1234567908 and 1234567980, which of these two comes next after 1234567890? Isn't it that
1234567890 < 1234567908 < 1234567980?
This comment is hidden because it contains spoiler information about the solution
Not a kata issue, 738 IS the next bigger number with those digits.
Hello, I'm having this issue using Python :
-Testing for 387
---It should work for random inputs too: 837 should equal 738
I don't understand the result should be 837 and not 738.
I'm having similar issues using Python
This comment is hidden because it contains spoiler information about the solution
Realy great kata. Thank you. Algoritm is easy and straightforward.
This comment is hidden because it contains spoiler information about the solution
Loading more items...