45
bryukh
16 32 48
15857/ 17173
Valentin Bryukhanov http://bryukh.com/
Last seen 2 years ago
Member for 11 years, 7 months, 17 days
Difficulty Normal
Developer, engineer and taskMaker.

Best reviews / Newest reviews
First-rmidyanyy 1
It's Depth-first search, right? Interesting using of "for...else.." construction. But it's bad practice to change input list. More
First-onii
Sometime you use whitespace around operators, sometime -- not. More
First-mdreid
It's not DRY (Don't Repeat Yorself). You can merge four block for moving in one loop or function. And "return" without anything is not good -- it's little confuse. Good comments. More
Dijkstra-Short-Miaou
Reduced Dijkstra is nice :) Good comments, but too long lines. More
First-scturtle
> THE ANSWERS TO EVERY QUESTION IN THE KNOWN UNIVERSE IS NOT 42 BUT YOGURT THEY hide the Truth and 42 is a false track :-) More
Second-Bibiche
Hard to read long lines. For unsolvable puzzle, you can check solvability (count inversions). More
Сombinatorics-bryukh 1
it's not fast -- i know, i can cached some variants for speed. But sometime i am lazy :) More
Recursive Generators-AndriusMk
Great solution. Simple for understanding. I agree with Kvas about Fraction -- slow thing. But this solution easy modified to float. So it's not important. Thank you for interesting solution. More
Trolling :)-AndriusMk
:) Thanks for this solution. It's funny, really. Crazy blind adventurer :) More
First-andy_s
Nice. I like these docstrings. More
(Parentheses)-veky 1
How are think, 12 steps is enough or too much? More
First-jcg
Be careful with recursive for bigger data. You can look at dynamic programming method for this task. More
Divide and conquer-papernode
> # ...try to get by with as little damage as possible: :-) More
First-htamas
"lru_cache" -- Thanks. It's something new for me. More
First-htamas 1
As idea, you can easily rework it to generator. More
First-suwanditan
Interesting whitespaces style :) Nice generator. More
Second-AlexeyIvchenko
key = lambda x: x[1] * 1000 - ord(x[0]) Hm, it looks weird imho. What is it? More
First-htamas
I think you can place it in the "Speedy" category. More
First-Amachua 1
It's almost "clear" solution. Short and simple, but please don't use long lines -- it's hard for reading. :-) The new PEP8 allows 100 characters per line. More
First-htamas 1
Tricky :) It can be placed in the "Speedy" category. More
1 2 3
4
5 6 7 8