public void Solve2() { var input = DataHelper.GetAllRows(21); var solver = new Day21(); var result = solver.Solve2(input); Output.WriteLine(result); }
public void Part2() { var input = @" mxmxvkd kfcds sqjhc nhms (contains dairy, fish) trh fvjkl sbzzf mxmxvkd (contains dairy) sqjhc fvjkl (contains soy) sqjhc mxmxvkd sbzzf (contains fish)".ChopToList(); var solver = new Day21(); var result = solver.Solve2(input); result.ShouldBe("mxmxvkd,sqjhc,fvjkl"); }