Example #1
0
        public override string Part1(string input)
        {
            var puzzleSolver = new PuzzleSolver();

            puzzleSolver.ParseInput(input);

            if (Debugger.IsAttached)
            {
                puzzleSolver.WriteDebugChecksums();
            }

            puzzleSolver.FindMatchingTiles();

            return(puzzleSolver.CalculateProductOfCornerTileIDs().ToString());
        }