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.
🤷
That last 1 is in contact with another part of the snake.
You said 3,1 but I think you meant 3,3 there.
Shouldn't for 6 * 6 . Solution should be the below array [ending in 3,2 , rather than ending in 3,1]. I am trying to understand why 1 is not allowed in 3,2 is it becuase the row below it (2,2) is 1 .If this is the reason then why 1 is allowed in 3,3 when row below it i.e 2,3 has a one.Please help me understand .
1 1 1 1 1 1
0 0 0 0 0 1
1 1 1 1 0 1
1 0 1 1 0 1
1 0 0 0 0 1
1 1 1 1 1 1
Yes you are right , i checked the scenarios again and solved it. Thanks
yes, it should expect false... and it does, actually. => if you get a fail in the random tests expecting something to be "true", that's not the input that is making your solution to fail.
Shouldn't this array be an invalid arrangment beacuse 2 ships edges are in contact as shown below, my solution is failing because of this scenario, please let me know if I am missing anything-
Getting similar issues...
hmm
This comment is hidden because it contains spoiler information about the solution
I am sorry, I am not that fluent in JS, but using proper formatting for your code might help others to read it and give some advice.
Thanks for answer ) can you check my code ?I have no ideas for this )
Having numbers 1234567908 and 1234567980, which of these two comes next after 1234567890? Isn't it that
1234567890 < 1234567908 < 1234567980?
This comment is hidden because it contains spoiler information about the solution
Not a kata issue, 738 IS the next bigger number with those digits.
Hello, I'm having this issue using Python :
-Testing for 387
---It should work for random inputs too: 837 should equal 738
I don't understand the result should be 837 and not 738.
Loading more items...