33
Kurush
11 29 56 Leader of the month
6445/ 6695
Kurush Kurushich
Last seen 6 days ago
Member for 11 years, 2 months, 12 days
Difficulty Normal
Best reviews / Newest reviews
First-brispol19
There is an error in your solution. You can consider the following additional test case: "assert river_crossing(0, 4, 1, 2) == 7, 'many goats'". More
First-Bibiche
Your solution is very clear and straightforward. Good job! More
First-Kurush
I didn't compare this solution with others. But alpha-beta pruning wasn't fast enough for this task. So speed optimization was required for this task. That's why I have chosen the speedy category for my solution. More
Second-mscislaw
The list can be omitted. Nice work! More
First-irubashvili
Very subtle approach! Nice job! More
First-kazuki.h
My solution is the same as yours. More
all the same-saklar13
The best possible solution for this task. More
First-defensor
Good approach. But it can be reduced to "return len(set(elements)) < 2". More
First-irubashvili
Good approach. But it can be significantly reduced to " return len(set(elements)) <= 1" or " return len(set(elements)) < 2". More
Backward String-myshkarus
I have used the same idea as you. Another approach to make a one-liner is to use slices: return val[::-1] More
test if mod 2 is 0 or not-leggewie
My solution is almost identical (the different spacing). More
First-ChromeBrainer
The best possible solution for this task. More
Acceptable Password I-myshkarus
The best possible solution for this task. More
Number Length-myshkarus
My solution is identical to yours. More
First-johnreasky
The best possible solution for this task. More
int(max(str(number)))-tkachuk.constantine
This is the best possible solution for this task. More
First-Hanna_Hofman
I have used similar one-liner "return num % 2 == 0". More
best_stock = lambda d: max(d,key=d.get)-alterGNU
I used the same one-liner but inside the function. More
1 2 3
4
5