This problem was fun. I was able to find a better way to solve beat my own solution. Not the best way though. But lot better.
Find the two most distant points
1628 Solvers
584 Solvers
Find a subset that divides the vector into equal halves
332 Solvers
262 Solvers
1172 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!