It appears that Alfonso took 7 minutes to solve this challenge.
very clever simplifications (constant term in linear model is irrelevant, and optimal slope can only take a discrete set of values)
Tobias took at least 2 minutes to solve this challenge with Matlab. An elegant usage of a function and a Matlab optimization function. This solution also crushed the GJam BigDataset in 1.2 seconds.
1223 Solvers
606 Solvers
Find the peak 3n+1 sequence value
1108 Solvers
47 Solvers
mathematics , probability problem
46 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!