Add day 10
This commit is contained in:
@@ -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)>>();
|
||||||
|
|||||||
Reference in New Issue
Block a user