Problem 595. Reduce - Map-Reduce
Solution Stats
Problem Comments
-
3 Comments
@bmtran (Bryant Tran)
on 17 Apr 2012
could you separate your asserts into multiple cells so you can see which test case is failing?
@bmtran (Bryant Tran)
on 17 Apr 2012
also, how do you define the n-ary behavior since max only takes up to 2 non-empty arguments?
Muthu Annamalai
on 17 Apr 2012
I mean, n-ary operators are also supported, but I use max as a binary op.
Problem Recent Solvers16
Suggested Problems
-
3081 Solvers
-
Pythagorean perfect squares: find the square of the hypotenuse and the length of the other side
49 Solvers
-
Find the stride of the longest skip sequence
134 Solvers
-
67 Solvers
-
Multiples of a Number in a Given Range
491 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!