15
ljy95135
11 20
1019/ 1195
Last seen 7 years ago
Member for 8 years, 1 month, 27 days
Difficulty Normal
Best reviews / Newest reviews
First-Hanna_Hofman
return will stop the function, nice job. More
Max Min-bryukh
My code is the same as you. I think it what the one way to do it. :) More
operators-Cjkjvfnby
nice,use function like an object. More
First-mr.floppy
methods in built-ins are just so powerful. :) More
Convert and Iterate-bryukh
Use twice int can save some lines, so there are many choices. And there is the charm of coding. :) More
First-gyahun_dash
Yes, it's fastest way to code. More
Double loop-bryukh
w1.endswith(w2) or w2.endswith(w1) using w1.endswith(w2) is also ok i think. More
simpler-mr.floppy
Yes, abs for timedelta is interesting, in this case is the same but can be helpful in others. More
First-dagger126
operator overload is useful there. More
Hinted-veky 1
I used to think we must use the original parameter to get passed. It gives me new knowledge, brilliant. :) More
First-ciel
I also solve it by recursive function, good idea! More
First-gyahun_dash
So elegant, I learn a lot of more ways to solve problems in a easy way! More
slice forward-blabaster
It‘s a nice way to split! CLear and succinct. More
named group-gyahun_dash
It's great, I use more than 50 lines to solve it. Thx for sharing! More
Flood Fill-PositronicLlama
Flood fill function is good, reduce the code redundancy. I should fix my code now. More
__-Cjkjvfnby
permutations is always a good tool, as well as other functions in itertools. I hope I can have the idea to use them at first time when I saw the problem. More
O(n) :-P-veky 1
awesome,using dict but now find Counter which can save the order More
Counter-gyahun_dash
Great,never thought that it can be so easy. More
First-ryosms
Interesing!It does expand my mind to solve problem. Should be in creative i guess. More
max-count-bryukh
I use 20 lines to solve the same problem. It's terrific to see such brilliant way. More
1
2
3