Comments on: Minimum path sum in a matrix https://demo.ritambhara.in/minimum-path-sum-in-a-matrix/ Coding / System Design Interviews Tue, 06 Jan 2015 05:50:37 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: inavamsi be https://demo.ritambhara.in/minimum-path-sum-in-a-matrix/#comment-1710 Tue, 06 Jan 2015 05:50:37 +0000 http://www.ritambhara.in/?p=278#comment-1710 What if the shortest path is a snake that ca go in all 8 directions?
1 1 1 1 1 1 1 1 9 9 9 9 9 9
0 0 0 0 0 0 0 1 0 0 0 0 0 9
1 1 1 1 1 1 0 1 0 0 0 0 0 9
1 0 0 0 0 1 0 1 0 0 0 0 0 9
1 0 0 1 1 1 0 1 0 0 0 0 0 9
1 0 0 1 0 0 0 1 0 0 0 0 0 9
1 0 0 1 1 1 1 1 0 0 0 0 0 9
1 0 0 0 0 0 0 0 0 0 0 0 0 9
1 1 1 1 1 1 1 1 1 1 1 1 1 1
your prgm will show only the 9 patn but not the ones path
could you pls update the correct prgm bcos i really wanted it and google search got me here
thank you.

]]>