Problem 42938. Project Euler: Problem 18, Maximum path sum I
Solution Stats
Problem Comments
-
1 Comment
Dyuman Joshi
on 21 Mar 2022
I am having trouble understanding the concept, for e.g - tril(magic(10)), what I understand is 92+98+81+87+93+76+89+97+78+84=875, which is incorrect acc to the test suite
Solution Comments
-
1 Comment
Peng Liu
on 31 Aug 2016
This solution together with the solution of James' (or mine) exhibits a nice duality between the "top-down" and "bottom-up" approaches.
-
2 Comments
Problem Recent Solvers76
Suggested Problems
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
435 Solvers
-
Find nearest prime number less than input number
458 Solvers
-
407 Solvers
-
Generate binary combinations for a given number of bit(s)
90 Solvers
-
Convert from Fahrenheit to Celsius
16970 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!