This should not work in general. It returns false-positive for consecutive 1 5 7 :-)
Maximum running product for a string of numbers
1151 Solvers
886 Solvers
192 Solvers
255 Solvers
245 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!