It would be beneficial for the problem if zeros were added to test cases, for example [...,1,2,0,-1,-2,...], [...,1,2,3,0,2,3,...], [...1,2,3,0,0,0,1,2,...], [...,1,2,0,0,-1,-2,...], etc.
Additional test cases have been added and the description slightly modified.
284 Solvers
Project Euler: Problem 3, Largest prime factor
379 Solvers
Vectorize the digits of an Integer
269 Solvers
669 Solvers
Write a code that will follow the equation y = x * (x + x) * x.
209 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!