Matt Wolinsky

7263
Rank
2
Badges
460
Score
1 – 50 of 80

Matt Wolinskysubmitted aCommenttoSolution 498139

I still don't understand the scoring system I guess. Seems odd to me that the commented solution had size 43 ... but doing extra computation reduced this solution to size 33. (unless JIT is at the level to implicitly convert?)

on 10 Sep 2014

Matt WolinskyreceivedCommenterbadge forProblem 109. Check if sorted

on 10 Sep 2014

Matt Wolinskysubmitted aCommenttoProblem 109. Check if sorted

I agree it's not clear ... but y = ~var(nonzeros(sign(diff(x)))); works for both ascending/descending cases. (The test suite clarifies that ascending is the intended case)

on 10 Sep 2014

1 – 50 of 80