more test cases needed
unless I am misunderstanding, y_correct should be 2 for test #2 (e.g. path 1-2-1)
Yes. I corrected it. Thanks :)
Project Euler: Problem 6, Natural numbers, squares and sums.
1019 Solvers
190 Solvers
401 Solvers
07 - Common functions and indexing 1
338 Solvers
Is this number Munchhausen Narcissistic?
142 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!