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.
I've made it obvious that they don't need to return after delivery, and also that it's looking for the shortest possible delivery time.
I've fixed this now by making it more clear.
None of the inputs is the main road - what do you mean?
Kotlin Translation
From this line of code, there can be spaces at the beginning and end of the string:
return ''.join(choice("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ") for i in range(n))
I have made a translation for kotlin, so you know.
Good point, I will add this.
No, testing works for me, the only thing I have done is rename the function that the user creates from
deliveryTime
todelivery_time
for conventional sake. If renaming the function does not work for you, please inform me.Ah no, I belive it does add to 95. The worker must go to the road, service the houses (each taking 1 minute) and return. Therefore the calculation should be (12 + 13 + 12) + (13 + 3 + 13) + (19 + 10), which I believe somes to 95 (brackets for clarity).
I have reduced the size of the testsets, as I do agree there is no reason for them to be so large and they were slow. However, I believe that using strings uses another skill of people completing the challenge, so for now that feature will stay. The strings also in a way provide extra realism.
According to the documentation, it is. https://docs.codewars.com/languages/python/codewars-test/#equality-tests
Fixed.
Hi, after researching, I have found out that you are correct. However, I was told by another user that the way I am now using them is correct, so you know why this is in this format. I have fixed this issue.
Ok, I have fixed all of these issues that I can (1, 2 and 4), and I can't fix number 3, however I will take the advice on board for my next kata. Thank you.
I believe I have fixed these three issues.
Loading more items...