If input must ber an integer n>=3, why in the test suite there are n=1 and n=2 cases?
test case for x=5 is wrong: swap 17 and 18.
757 Solvers
Back to basics 12 - Input Arguments
525 Solvers
How many trades represent all the profit?
520 Solvers
299 Solvers
Sum the elements in either diagonal of a square matrix
178 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!