+ 4
you face it?
7th Jan 2018, 4:34 PM
Kunal Kumar
Kunal Kumar - avatar
+ 2
If I understand this correctly, this appears to be more challenging than selecting the nearest smallest value. If on your first move you go right, it's a trap: 5 2 7 3 8 9 4 6 1 5+2+7+9+1 = 24 5+3+4+6+1 = 19
15th Jan 2018, 6:50 PM
Kirk Schafer
Kirk Schafer - avatar
0
It's not too difficult, as I understand. You should move right or down only looking which of these numbers is less than other one. And when you reach right or bottom of the matrix, then you should move only down or right.
7th Jan 2018, 5:01 PM
Petr Leliaev
Petr Leliaev - avatar