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.
description should be language-agnostic.
python new test framewprks
"...how long a horse will have traveled after a given time."
"long" should be replaced with "far", as we are talking about distance, not time.
C Translation (author inactive).
Description should be language-agnostic
JS node 18 should be enabled
Function name should use
camelCase
D translation
This comment is hidden because it contains spoiler information about the solution
I think the Python one needs tuning again. These close-to-the-borderline performance tests need regular retesting to make sure they're still reasonable, given the server's decreasing performance of late. If you're going to make efficiency a critical component of the solution, you can't afford to submit these and forget about them.
Is it me or does djikstra work on java, but times out on python?
Why is Y a row of the matrix and X a column ? this is logical for the XOY coordinate grid,
but not logical for other tasks where X == row and Y == col.
It would be nice to write this in the description.
Thanks for this kata!
I've got a random test case that is broken.
It says that the final score should be 182, but
sum
of all given elements issum([3, 18, 6, 6, 14, 12, 8, 5, 12, 13, 19, 9, 12, 4, 4]) == 145
This comment is hidden because it contains spoiler information about the solution
I think changing the description as follow is better. Because in this way, parameter x and y are nolonger needed. Which makes this kata more concise.
"Your job is to calculate the minimum total cost when moving from the upper left corner to the lower right corner".
Btw, I wonder why is this kata 5kyu since "Pyramid Slide Down" is 4kyu. Obviously this one is a little more difficult.
https://www.codewars.com/kata/pyramid-slide-down/python