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.
Отличный ката. Огромное спасибо автору.
it becomes easy when u nderstand how to fill 2 dimentional array
Great kata, thank you. Definitely helped having done Snail first (https://www.codewars.com/kata/521c2db8ddc89b9b7a0000c1/javascript).
Great challenge! I recommend checking a similar, but easier kata at first: https://www.codewars.com/kata/536a155256eb459b8700077e
That would give you a good basis for solving this one.
In JavaScript, I ran into the following error when attempting to test:
"assertSimilar is deprecated, use assert.deepEqual"
Nice easy kata for matrix comprehension.
I think there is something wrong with Golang random tests. My solution passes all "Larger tests" (from 5 to 50 and 100), but somehow fails on all random. I thought my code was bad, but after few more clicks on "Attempt" it becomes green. :)
Try few more times and sometimes it passed and sometimes it failed without any code changes.
resolved by fork of someone
If you have ever written an algorithm that solves the towers of hanoi, you can fairly easily come up with the oneliner formula.
Granted, if you have never written a solver for the towers of hanoi before, this task becomes harder, as you now also have to solve the game, rather than merely determining the number of steps your solver takes.
Should be fixed. Please verify.
RISC-V: only the first row is checked and solutions writing past the end pass as well.
Approved
I'm seeing a lot of people suggesting this kata is too easy to be 6-kyu.
I suggest to those people to solve this with your own algorithm, without using the known 1-line formula.
Amazing kata! Well done!
Loading more items...