예제 #1
0
 public int SolvePart2(IEnumerable <string> input) => Records.Collate(input, " ").Select(CountCommonCharsInEachSequence).Sum();
예제 #2
0
 public int SolvePart1(IEnumerable <string> input) => Records.Collate(input, " ").Select(CountUniqueCharsExcludingSpaces).Sum();