diff --git a/AoC_2026/Day06.cs b/AoC_2026/Day06.cs index caf02ed..bd1b63e 100644 --- a/AoC_2026/Day06.cs +++ b/AoC_2026/Day06.cs @@ -36,7 +36,7 @@ public class Day06 : IPuzzleSolver HashSet value) where TKey : notnull { if(dictionary.TryGetValue(key, out var existing)) - dictionary[key].UnionWith(value); + existing.UnionWith(value); else dictionary[key] = value; }