public static void SolvePartOne() { const string colourToFind = "shiny gold"; var allMultiLevelLuggage = LuggageRuleAdjacencyMatrixUtility.FindMultiLevelLuggageContainingColour(colourToFind, AdjacencyMatrix); Console.WriteLine(allMultiLevelLuggage.Count); }
public static void SolvePartTwo() { const string colourToFind = "shiny gold"; var numberOfLuggage = LuggageRuleAdjacencyMatrixUtility.CountNumberOfBugsInsideALuggageOfGivenColour(colourToFind, AdjacencyMatrix); Console.WriteLine(numberOfLuggage); }