It's "their starting position" not "there starting position"...
Great!
Great!
no fancy function, no eccentric useage, and problem was swiftly solved. Excellent code!
GREAT!!! :-)
Would of never guessed it!
This actually has a minor bug -- it may fail on inputs containing negative numbers, e.g. x=[1 -1], however this is simply fixable by taking abs(x).
wonderful solution
it never gets tired to watch this kinda code.
Project Euler: Problem 8, Find largest product in a large string of numbers
328 Solvers
Create matrix of replicated elements
325 Solvers
228 Solvers
371 Solvers
1229 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!