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.
Maybe it shoud be done other way around? Check for valid numbers insead of checking if its false?
Very bad description. You shoud mention that we need to check if both values are equal and add one iteration. Please change the description that it mentions the above. I have to check for discourse to find that hint.
Very fun kata, maybe its too easy to be classified as 6kyu task
Please add in description note about distance units. You did not mentioned that distance was in miles not in KM. I think its fair to say that.
Furthermore the kata was good practise for my beginner skills :)
Good point. I was wondering what this function shoud return...
Please change description
Lol xD
This comment is hidden because it contains spoiler information about the solution
Bro, thank You so much! The description is awful AF. Without You I would skip this kata...
Please, somebody delete this kata or rewrite the description.
I have problem, why input array is diffrent from output result array?
In this case :
[ -24, -33, 40, -7, -7, 3, 40, -33, -30, 8, 5, 14, 48 ] <= input array
[ -24, -33, 40, -7, 3, 5, 40, 41, -30, 8, 47, 14, 48 ] <= output result
I dont see 41 in given array, so why result includes it?
Perhaps I dont understand details about this kata.
Thanks for it :D