AdventOfCode/2020/elixir/day21
2022-08-11 16:22:22 +09:00
..
day21part1.exs Move 2020 elixir solutions to 2020/elixir in prep for zig 2022-08-11 16:22:22 +09:00
day21part2.exs Move 2020 elixir solutions to 2020/elixir in prep for zig 2022-08-11 16:22:22 +09:00
input Move 2020 elixir solutions to 2020/elixir in prep for zig 2022-08-11 16:22:22 +09:00
README Move 2020 elixir solutions to 2020/elixir in prep for zig 2022-08-11 16:22:22 +09:00

Day 21 Notes

+--------+
| Part 1 |
+--------+

$ elixir day21part1.exs
1829

+--------+
| Part 2 |
+--------+

$ elixir day21part2.exs
sp contains peanuts
gkcqxs contains fish
krjn contains shellfish
bpbdlmg contains soy
mxkh contains dairy
bvh contains nuts
rgc contains sesame
tdbcfb contains wheat
mxkh,gkcqxs,bvh,sp,rgc,krjn,bpbdlmg,tdbcfb


+------------------+
| Overall Thoughts |
+------------------+

Not much to say about this problem. I didn't really enjoy it much.
I mostly just fiddled about with the data until it reduced down to the
required information.

The process of elimination - identifying the allergen with just 1 ingredient
and using that to decude the other options, was very similar identifying the tickets
in Day 16.