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.
Weird grading for something this easy. I've had 5kyu that were harder (eg. the prime ant )
I agree my solution may not be "advanced Python talk" but still...
Here I thought I was gonna be a 'smart' cookie by doing quick jumps to queued positions, to make it faster.
(the distance can be up to tens or hundreds of "steps" from the lowest position)
My solution passes 1 out of 5 times, depending on the inputs.
Think i'll skip the "insane" version, looking at the other solutions i feel a python noob hahaha.
Great Kata though!
" ...it also means '00000' is definitely a short (in-character) pause, and '000000' is a long (between-characters) pause."
Yet in the "Hey Jude" example I see both 5 and 6 zero's being used "in-character"...?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
in all seriousness, I agree. (the ranking and the "bad joke" :) )
3kyu are usually more difficult (for me).
I guess everything looks like a 5kyu if you're a "x dan" (compliment disguised as joke) ;-)
Great Kata!
@HKMT's one liner for compressing the grid makes me feel like a dunce... :)
(not just that but this one killed me , haha)
not the "python" way (that "compression" routine is embarracing , compared with HKMT's 1-liner) but it works...
prettyresult -> bad clean up, used for debugging...
(Python) Great Kata, but I got a feeling there's not enough random tests and hence I think my code isn't entirely full proof. (comments welcome!)
This comment is hidden because it contains spoiler information about the solution
Damnit, I'm almost there. (works but times out)
I just need a formula to calculate how many combinations (wether true or false doesn't matter)
I can make of a (remaining) part of the equation, to speed up things...
I get weird numbers when I do it with the solver:
for x times True and (x-1) times & :
on the 4, 8 and 16 times True I get odd results. The rest are even.
(I only went to 16, next would have taken 10 minutes or so)
What college degree math theory am I missing here? (math noob here)
Oh well, E for Effort , I suppose ... :)
Ah no, not by a long shot,haha... i just wondered what the notation would have been.
but i do hope to make a cleaner one for what did pass, later...
Loading more items...