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'd recommend using initializer instead of global variables.
You should avoid using global variables.
.
same issue. the correct output should be [1,2,3,4] not [1,0]
edit: (javascript)
I have the same issue, is there a way to overcome
No problem :).
There is a bug in your code. I improved the test feedback to give more of an idea why the solution can fail. Try again and hopefully the feedback will be useful!
This comment is hidden because it contains spoiler information about the solution
That's odd, can you post how you build the board in a spoiler comment? I don't see anything that stands out in the tests that should be marking that as incorrect.
I have the same problem, it happens in JavaScript.
It's exactly the same string.
Expected: □ ■ □ ■ ■ □ ■ □ □ ■ □ ■ ■ □ ■ □, instead got: □ ■ □ ■ ■ □ ■ □ □ ■ □ ■ ■ □ ■ □
I have, none that I can find. I even copied the expected/received output to my text editor and double checked.
Have you checked that you're not including extra whitespace?
great kata, thanks! Not sure if I'm missing something, but I appear to be getting the correct output and the test is failing (javascript):
Expected: □ ■ □ ■
■ □ ■ □
□ ■ □ ■
■ □ ■ □, instead got: □ ■ □ ■
■ □ ■ □
□ ■ □ ■
■ □ ■ □
I can't identify any difference between the expected and received outputs. I'm sure I messed up somewhere, but wanted to post this in case I found a bug. Any suggestions or feedback would be great :)
Same here
+1. Same problem. No a whitespace at the end. Checked error message in sublime and received equal values.
I've the same problem and I don't understand what Digikid13's solution to it is. Andddddd I had a whitespace at the end of my answer.
Loading more items...