8
dsethlewis
2 4 18
315/ 345
Last seen 3 years ago
Member for 8 years, 9 months, 27 days
Difficulty Normal
Best reviews / Newest reviews
Do not repeat yourself-Borim7
Nice idea, setting all the functions equal to __eq__ More
Solution for anything Class-based.-diegueus9 1
Is checkio = Anything() the same as def checkio(anything): return Anything() ? More
First-samulih
Ooooh, I tried to go recursive but couldn't hack it. Well done! More
First-makoto_yamagata
This works?! It looks like this breaks every ring but one. Can you explain the algorithm intuitively? More
First-e.volgon 1
I used the same algorithm, but this is beautifully written. Is it better (pythonic?) to have fewer, longer lines of code than more, shorter lines? More
First-tihenko
Nice way to clear for next test case. More
First-zero_loss
It looks so obvious in retrospect... More
Refactor me!-balamut108
I'll be honest - I'm having trouble reading your code. But it does look like you have a lot of loops... More
Recursive try four directions-FlorisLambrechts
Recursion! It came out a little more complicated than my iterative solution, but I always love to see a recursive solution. More
First-Ra_don
Nice use of the transitive property in chek(). More
First-aminami1127 1
You're clearly technically proficient, but try to think a little creatively about "what are my obstacles" and "what information do I need to have to overcome those obstacles"? More
X and O by Iv.Virtue-iv.virtue
Don't use breaks if you can avoid it. More
verbose but simple-johnhaines
Nice idea unpacking the 2D array. It works here because there's a finite size to the matrix, but it wouldn't work if the game board size were arbitrary. Way to make those loops work for you! More
1
2