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.
.
You're misunderstanding what a rotation is if you say there are 23 of them. Have you read the wikipedia link?
There are 23 rotations of string 'bsjq'. Array ["bsjq", "qbsj", "sjqb", "twZNsslC", "jqbs"], wich contain only 5 elements can't include all 23 rotations. I can't anderstand why this case return true.
This comment is hidden because it contains spoiler information about the solution
Check my code for a more optimized version of your def get_sum
Ah should have looked at the test cases a bit more thoroughly. Thank you
Which is smaller?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yes of course you need to know the color of the field :D
1
is black and0
is white.In the example QRCode, it goes from black -> black -> white..
Also, dont you need to know the color of the field to determine if it will be a 0 or 1? If field is black and x+y%2 is 0 -> add 0. If not, add 1. z
I took a example QRCode. The field will be always different, you only have to understand the way you go through the field. (Like the red arrow)
Hello, can someone help me understand the question a bit better..
How do you know if the field is white or black?
Right, no problem with that. The parameter init is what it is. Nobody said it should be a[0].
Loading more items...