Add day 10

This commit is contained in:
Dimitrios Kaltzidis
2024-12-10 14:37:56 +02:00
parent 7c2d8dea69
commit 51a7f1ba1b

View File

@@ -29,6 +29,7 @@ int Part2(int[,] mapInput, List<(int, int)> directions)
return totalRating; return totalRating;
} }
// Could reuse the trailHead method with minor edits
int FindDistinctTrails(int r, int c, int[,] mapInput, List<(int, int)> directions) int FindDistinctTrails(int r, int c, int[,] mapInput, List<(int, int)> directions)
{ {
var stack = new Stack<List<(int, int)>>(); var stack = new Stack<List<(int, int)>>();