Advent of Code 2022

Day 7

Day 7

Part 1

Here is day seven, not a very efficient implementation but it works. Again I've split the code in two steps. Step 1 is parsing the input, step 2 is collecting data from it.

You can view the source on GitHub

Spoiler: sollution
[
  2104783,
  5883165
]