chore: setup for day 8

This commit is contained in:
Stevan Freeborn
2024-12-08 00:27:17 -06:00
parent 8f7f617182
commit 174c8dd48e
6 changed files with 81 additions and 6 deletions
-6
View File
@@ -19,12 +19,6 @@ class Map
_input = input;
}
// TODO: This can be optimized I think.
// Right now I'm basically doing a flood fill...I think
// I'm finding all the places on the map where I can
// place the obstruction, placing, and then seeing if
// a loop is created when guard patrols map.
// IDEA: Only check places on the guard's path
public int IdentifyNumberOfPlacementsForNewObstruction()
{
var count = 0;