-
3 Comments
David Verrelli
on 19 Oct 2017
Not a general solution.
Thomas Steffen
on 21 Dec 2017
Seems like a general approach to me, but the boundaries are not correct. I found it easier to calculate the three options, and then pick the worst.
David Verrelli
on 27 Jun 2019
Fair point.
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
455 Solvers
-
First non-zero element in each column
870 Solvers
-
Find best placement for ordered dominoes (harder)
315 Solvers
-
1391 Solvers
-
Pernicious Anniversary Problem
823 Solvers
More from this Author44
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!