• amandel's Activity

Longest common prefix of the elements of the list.
Commented a forum post "Wrong test" created by amandel
Aw, shucks, I failed to read that. Apologies.
Created a forum post "Wrong test"
This is wrong: assert count_discs((6, 5, 4, 3, 2, 1)) == 6 The correct value is clearly 1.
Liked a comment created by przemyslaw.daniel for forum post "Wrong test?"
right side is bottom of the flask
Commented a forum post "Wrong test?" created by amandel
Of course! I didn't read the specification correctly. Thanks!
Commented a forum post "Wrong test?" created by amandel
As I said, I am pouring from the right.
Commented a forum post "Wrong test?" created by amandel
'abcc' I am pouring from the right
Commented a forum post "Wrong test?" created by amandel
You are reading it wrong, maybe because of the reordering. start: ["abcc", "abca", "bcab", "", ""] f
Created a forum post "Wrong test?"
Look at this test: assert water_sort(["abcc", "abca", "bcab", "", ""]) == 10 Now,
Commented a forum post "What if it can't?" created by amandel
You mean that the test cases you provided afford solutions. Perhaps that should be specified as a p
Created a forum post "What if it can't?"
It is not hard to produce data for this problem so that there is no solution. For instance, if the
Commented a forum post "Non-commutative operations" created by amandel
I realized it, after failing a test with the other interpretation. It is the wrong choice, and compl
Liked a comment created by Phil15 for forum post "Non-commutative operations"
`a op b` apparently
Created a forum post "Non-commutative operations"
Suppose the stack ends as [....,a,b] and the next symbol read is op (either '-', or '/'). Is the op
Created a forum post "Missing test"
I had an initial solution that passed all tests. return end//n-start//n+(start==0) Then,
Commented a forum post "Underspecified" created by amandel
You are wrong. Comparing left to right: 46-tie, 34-tie, 9 v. 17, 17 is bigger. Actually, just let p
Liked a comment created by Phil15 for forum post "Underspecified"
    cookie_monster([11, 26, 37, 44, 49, 52, 68, 75, 87, 102])
    Yours: [37, 31, 15, 12, 7, 4]
    
Commented a forum post "Underspecified" created by amandel
Ditto!
Commented a forum post "Underspecified" created by amandel
I don't know how the proposer solved the problem, but I think the statement needs to be fixed, and p