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
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
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
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
First-zero_loss
It looks so obvious in retrospect... More
First-MMM_AAA_NNN 1 1
I tried to implement this, but I didn't know how to pull off your code in line 5. Creative! More
First-tihenko
Nice way to clear for next test case. 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-makoto_yamagata
This works?! It looks like this breaks every ring but one. Can you explain the algorithm intuitively? More
First-samulih
Ooooh, I tried to go recursive but couldn't hack it. Well done! More
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 - Min and Max-AQiccl135
Beautiful! Simple, clear, quick. More
First-JulianNicholls
Ah, a while loop in a for loop! Nice idea. I put my for loop in my while loop, leading to some unnecessary iteration. More
romans_map-viktor.pecheniuk
I had the same solution, but with two arrays instead of a 2D tuple. I like this a lot, though! More
First-makstheimba
You had the right idea with making tuples for numbers and letters, but then did the subtractive values by hand! Oy! You could have saved yourself some effort there. Nice use of string formatting! More
First-Elpicsida 1 1
Use another array for values and you can simplify the whole process. Also, think in terms of Roman Numerals, rather than decimal, to find a quicker solution. More
Roman numerals-stuqs
Think in terms of Roman Numerals instead of in decimal and you can find a simpler solution. Also, only use break/continue as a check for preconditions. Leaving them around like that can be dangerous for more complex programs. This is pretty good, though. Well done! Nice use of a dictionary! More
Simulated-PositronicLlama 1
I gotta learn how to use itertools. This is the code I wanted to write when I made the mess I actually wrote. More
first with comment-yassai
You stuck to the basic simulation - well done! More
First-bryanandrade
Oooh, a whole new class. I thought about doing it since that's how I've done graph searches in the past, but it seemed like overkill. Would've saved me time, in retrospect. I basically used the same algorithm but built it from scratch inside the main method instead of doing it the smart way. Props! More
1
2