Add solution for "Day 6: Trash Compactor", part 2
This commit is contained in:
@@ -48,6 +48,8 @@ From the input data, we construct a [`MultiInterval`](src/common/interval.rs), w
|
||||
|
||||
:mag_right: Puzzle: <https://adventofcode.com/2025/day/6>, :white_check_mark: Solver: [`TrashCompactor`](src/solvers/trash_compactor.rs)
|
||||
|
||||
We implement two different ways to collect numbers from the input. For part 1, numbers separated by space are read line by line, stored in a two-dimensional array and then aggregated in columns. While for part 2, each column of characters in the input data represents a number, and empty columns are interpreted as the separators between blocks for aggregation.
|
||||
|
||||
### Day 8: Playground
|
||||
|
||||
:mag_right: Puzzle: <https://adventofcode.com/2025/day/8>, :white_check_mark: Solver: [`Playground`](src/solvers/playground.rs)
|
||||
|
||||
Reference in New Issue
Block a user