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.
This helped me to find a small bug in my code, thank you! :)
RRDRRRRRURRRRDRDRDLDRU
My code is passing 109 test of 110.
Array of a failing test is:
[ '1111000000000000000',
'1B11111001111111100',
'1111111111110001110',
'0000111111000001100',
'0000111111000001111',
'00000110000000001X1',
'0000011000000111111',
'0000011000001111110',
'0001111000111110000',
'0001111100111100000',
'0000111111111000000',
'0000011111111100000',
'0000000000011100000' ]
answer: RRDRDDDDDRDRRRUURRURRRU
Reason of a failing is that my answer is too long, it is 23 and correct should be 22.
I starting to belive that there is something wrong with this test because I can't find manually how this route can be under 23. Can some one show me route under 23? Thanks.
This kata is too hard for 5kyu, should be 3kyu.
I like this kata. Took a while to complete it. Specially joins gave me a headache.
There is no way to continue in this situation. This is one of the random cases.
MY ANSWER GET STUCK TO (mines 35/38):
0 0 0 0 0 0 0 0 0 0 0 0 1 ? ? ?
0 0 0 0 0 0 0 0 0 0 0 1 2 ? ? ?
0 0 1 1 1 0 0 0 0 0 0 1 x 3 ? ?
0 0 1 x 1 0 0 0 1 1 1 1 2 3 ? ?
1 1 1 1 1 1 1 1 1 x 1 0 1 x 2 1
x 1 0 0 0 1 x 2 2 1 2 2 3 2 1 0
1 1 0 0 0 1 2 x 1 0 2 x x 2 0 0
1 1 1 0 0 0 1 1 1 0 2 x x 2 0 0
1 x 1 1 1 1 0 0 0 0 2 3 3 1 0 0
1 1 1 1 x 1 1 1 1 0 2 x 2 0 0 0
0 0 0 1 1 1 1 x 1 0 2 x 2 0 0 0
0 0 0 0 0 0 1 1 1 0 1 1 1 0 0 0
0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
0 2 x 2 0 1 1 1 0 0 0 0 0 0 0 0
0 2 x 2 0 1 x 1 0 1 1 2 2 2 1 0
1 3 3 2 0 1 1 1 0 1 x 2 x x 1 0
1 x x 1 0 0 0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