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.
Of course it's not.
Exponential function is e^x
I'd be very surprised if Python was the only tool to have a frame inspector in its librairies.
You're welcome to write the translations :)
Why not?
The intended two-pass solution is O(N). (You can take this as a hint at how it works.)
The description did say
"... the centre of the biggest solid region of that colour"
implying that there might be other, smaller, regions of the same colour.
Having said that though, there are some tests in which two or more regions have maximum-depth pixels. To try to cover this, I've changed "region" to region(s)" in the description.
try this, if you think that the current one is "too much heavy"... x)
isn't the description is clear enough already? anyway, if you rotate the imaginary paper like you describe, you'd be staring at the other side of the paper, where no number is written... and even if the paper was transparent, you'd not get
1961
, you'd be looking at left-to-right reversed-image numbers which don't existError 137 is segfault.
The example in the kata description is already an odd length string. I don't see the difficulty in the string being odd or par length. Could you elaborate?