chore: setup for day 8

This commit is contained in:
Stevan Freeborn committed 2024-12-08 00:27:17 -06:00
1 parent 8f7f617182
commit 174c8dd48e
6 files changed
+81 -6

No files matched your search

-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;