Problem 586. All Humans are Created Equal - Pareto Equality
Solution Stats
Problem Comments
-
7 Comments
I've solved it, but I am not sure it is right. Solutions to this problem seem to be case-oriented and probably not what the author expected. I believe the last case is wrong, for instance, but it depends on the criteria used (what is the preference of each set? is it to be ordered?). Moreover, the Wikipedia article displays a weighted sum. Still, the author doesn't mention weights or how they should be added, anyway...good luck to future challengers.
Could someone (Dyuman?) please fix the test suite so that y_correct is set for the first assertion and not commented out?
To whoever did it: thanks!
Solution Comments
Show commentsProblem Recent Solvers11
Suggested Problems
-
553 Solvers
-
304 Solvers
-
1036 Solvers
-
Return the first and last characters of a character array
10447 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
399 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!