Skiing in Singapore - a coding diversion
the map looks like the number grid below.
4 4
4 8 7 3
2 5 9 3
6 3 2 5
4 4 1 6
This Console App finds the longest (and then steepest) path down the mountain represented by data.txt.
It’s 1000x1000 in size, and all the numbers on it are between 0 and 1500.