Example #1
0
        public void SolvePartTwo()
        {
            Console.WriteLine("Part two:");
            var trees = Solve2(PuzzleInput.FetchGrid(3));

            Console.WriteLine($"Answer is: {trees}");
            Console.WriteLine();
        }
Example #2
0
        public void SolvePartOne()
        {
            Console.WriteLine("Part one:");
            var trees = Solve(PuzzleInput.FetchGrid(3), 3, 1);

            Console.WriteLine($"Answer is: {trees}");
            Console.WriteLine();
        }