Skip to content

Add my solutions & link to day 17 writeup #758

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/2024/puzzles/day01.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ end part2
- [Solution](https://github.com/rolandtritsch/scala3-aoc-2024/blob/trunk/src/aoc2024/Day01.scala) by [Roland Tritsch](https://github.com/rolandtritsch)
- [Solution](https://github.com/profunctor-optics/advent-2024/blob/main/src/main/scala/advent2024/Day01.scala) by [Georgi Krastev](https://github.com/joroKr21)
- [Solution](https://github.com/jportway/advent2024/blob/master/src/main/scala/Day1.scala) by [Joshua Portway](https://github.com/jportway)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/day1.sc) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
1 change: 1 addition & 0 deletions docs/2024/puzzles/day02.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def part2(input: String): Int = parse(input).count(_.isDampenedSafe)
- [Solution](https://github.com/rolandtritsch/scala3-aoc-2024/blob/trunk/src/aoc2024/Day02.scala) by [Roland Tritsch](https://github.com/rolandtritsch)
- [Solution](https://github.com/profunctor-optics/advent-2024/blob/main/src/main/scala/advent2024/Day02.scala) by [Georgi Krastev](https://github.com/joroKr21)
- [Solution](https://github.com/jportway/advent2024/blob/master/src/main/scala/Day2.scala) by [Joshua Portway](https://github.com/jportway)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/day2.sc) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
1 change: 1 addition & 0 deletions docs/2024/puzzles/day03.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ object DayThree:
- [Solution](https://github.com/rolandtritsch/scala3-aoc-2024/blob/trunk/src/aoc2024/Day03.scala) by [Roland Tritsch](https://github.com/rolandtritsch)
- [Solution](https://github.com/profunctor-optics/advent-2024/blob/main/src/main/scala/advent2024/Day03.scala) by [Georgi Krastev](https://github.com/joroKr21)
- [Solution](https://github.com/jportway/advent2024/blob/master/src/main/scala/Day3.scala) by [Joshua Portway](https://github.com/jportway)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/day3.sc) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
3 changes: 2 additions & 1 deletion docs/2024/puzzles/day04.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ def totalMAS(grid: Grid): Int =
- [Solution](https://github.com/Jannyboy11/AdventOfCode2024/blob/master/src/main/scala/day04/Day04.scala) of [Jan Boerman](https://x.com/JanBoerman95)
- [Solution](https://github.com/profunctor-optics/advent-2024/blob/main/src/main/scala/advent2024/Day04.scala) by [Georgi Krastev](https://github.com/joroKr21)
- [Solution](https://github.com/jportway/advent2024/blob/master/src/main/scala/Day4.scala) by [Joshua Portway](https://github.com/jportway)
-
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/day4.sc) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
1 change: 1 addition & 0 deletions docs/2024/puzzles/day05.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def part2(input: String) =
- [Solution](https://github.com/Jannyboy11/AdventOfCode2024/blob/master/src/main/scala/day05/Day05.scala) of [Jan Boerman](https://x.com/JanBoerman95)
- [Solution](https://github.com/profunctor-optics/advent-2024/blob/main/src/main/scala/advent2024/Day05.scala) by [Georgi Krastev](https://github.com/joroKr21)
- [Solution](https://github.com/jportway/advent2024/blob/master/src/main/scala/Day5.scala) by [Joshua Portway](https://github.com/jportway)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/day5.sc) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
1 change: 1 addition & 0 deletions docs/2024/puzzles/day06.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ https://adventofcode.com/2024/day/6
- [Solution](https://github.com/profunctor-optics/advent-2024/blob/main/src/main/scala/advent2024/Day06.scala) by [Georgi Krastev](https://github.com/joroKr21)
- [Solution](https://github.com/jportway/advent2024/blob/master/src/main/scala/Day6.scala) by [Joshua Portway](https://github.com/jportway)
- [Solution](https://github.com/Philippus/adventofcode/blob/main/src/main/scala/adventofcode2024/Day06.scala) by [Philippus Baalman](https://github.com/philippus)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/day6.sc) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
1 change: 1 addition & 0 deletions docs/2024/puzzles/day07.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ end part2
- [Solution](https://github.com/nichobi/advent-of-code-2024/blob/main/07/solution.scala) by [nichobi](https://github.com/nichobi)
- [Solution](https://github.com/profunctor-optics/advent-2024/blob/main/src/main/scala/advent2024/Day07.scala) by [Georgi Krastev](https://github.com/joroKr21)
- [Solution](https://github.com/jportway/advent2024/blob/master/src/main/scala/Day7.scala) by [Joshua Portway](https://github.com/jportway)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/day7.sc) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
1 change: 1 addition & 0 deletions docs/2024/puzzles/day08.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ end part2
- [Solution](https://github.com/rolandtritsch/scala3-aoc-2024/blob/trunk/src/aoc2024/Day08.scala) by [Roland Tritsch](https://github.com/rolandtritsch)
- [Solution](https://github.com/merlinorg/aoc2024/blob/main/src/main/scala/Day8.scala) by [merlinorg](https://github.com/merlinorg)
- [Solution](https://github.com/Philippus/adventofcode/blob/main/src/main/scala/adventofcode2024/Day08.scala) by [Philippus Baalman](https://github.com/philippus)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/day8.sc) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
3 changes: 2 additions & 1 deletion docs/2024/puzzles/day09.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,5 +320,6 @@ def part2(input: String): Long =
- [Solution](https://github.com/rmarbeck/advent2024/blob/main/day9/src/main/scala/Solution.scala) by [Raphaël Marbeck](https://github.com/rmarbeck)
- [Solution](https://github.com/jportway/advent2024/blob/master/src/main/scala/Day9.scala) by [Joshua Portway](https://github.com/jportway)
- [Solution](https://github.com/rolandtritsch/scala3-aoc-2024/blob/trunk/src/aoc2024/Day09.scala) by [Roland Tritsch](https://github.com/rolandtritsch)

- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/day9.sc) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
1 change: 1 addition & 0 deletions docs/2024/puzzles/day10.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ throw away duplicate counts.
- [Solution](https://github.com/aamiguet/advent-2024/blob/main/src/main/scala/ch/aamiguet/advent2024/Day10.scala) by [Antoine Amiguet](https://github.com/aamiguet)
- [Solution](https://github.com/jportway/advent2024/blob/master/src/main/scala/Day10.scala) by [Joshua Portway](https://github.com/jportway)
- [Solution](https://github.com/scarf005/aoc-scala/blob/main/2024/day10.scala) by [scarf](https://github.com/scarf005)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/day10.sc) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
1 change: 1 addition & 0 deletions docs/2024/puzzles/day11.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ extension (stones: Map[Long, Long])
- [Solution](https://github.com/makingthematrix/AdventOfCode2024/blob/main/src/main/scala/io/github/makingthematrix/AdventofCode2024/DayEleven.scala) by [Maciej Gorywoda](https://github.com/makingthematrix)
- [Solution](https://github.com/aamiguet/advent-2024/blob/main/src/main/scala/ch/aamiguet/advent2024/Day11.scala) by [Antoine Amiguet](https://github.com/aamiguet)
- [Solution](https://github.com/Philippus/adventofcode/blob/main/src/main/scala/adventofcode2024/Day11.scala) by [Philippus Baalman](https://github.com/philippus)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/day11.sc) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
1 change: 1 addition & 0 deletions docs/2024/puzzles/day13.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def part2(input: String): Long =
- [Solution](https://gist.github.com/mbovel/f26d82b2fd3d46cb55520268994371f8) by [mbovel](https://github.com/mbovel)
- [Solution](https://github.com/Philippus/adventofcode/blob/main/src/main/scala/adventofcode2024/Day13.scala) by [Philippus Baalman](https://github.com/philippus)
- [Solution](https://github.com/jnclt/adventofcode2024/blob/main/day13/claw-contraption.sc) by [jnclt](https://github.com/jnclt)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/Day13.scala) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
1 change: 1 addition & 0 deletions docs/2024/puzzles/day14.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ https://adventofcode.com/2024/day/14
- [Solution](https://github.com/spamegg1/aoc/blob/master/2024/14/14.scala#L165) by [Spamegg](https://github.com/spamegg1)
- [Solution](https://github.com/jnclt/adventofcode2024/blob/main/day14/restroom-redoubt.sc) by [jnclt](https://github.com/jnclt)
- [Solution](https://github.com/Philippus/adventofcode/blob/main/src/main/scala/adventofcode2024/Day14.scala) by [Philippus Baalman](https://github.com/philippus)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/Day14.scala) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
1 change: 1 addition & 0 deletions docs/2024/puzzles/day15.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ https://adventofcode.com/2024/day/15
- [Solution](https://github.com/aamiguet/advent-2024/blob/main/src/main/scala/ch/aamiguet/advent2024/Day15.scala) by [Antoine Amiguet](https://github.com/aamiguet)
- [Solution](https://github.com/AlexMckey/AoC2024_Scala/blob/master/src/year2024/day15.scala) by [Alex Mc'key](https://github.com/AlexMckey)
- [Solution](https://github.com/rmarbeck/advent2024/blob/main/day15/src/main/scala/Solution.scala) by [Raphaël Marbeck](https://github.com/rmarbeck)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/Day15.scala) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
1 change: 1 addition & 0 deletions docs/2024/puzzles/day16.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ given Ordering[Reindeer] = Ordering.by(-_.score)
- [Solution](https://github.com/aamiguet/advent-2024/blob/main/src/main/scala/ch/aamiguet/advent2024/Day16.scala) by [Antoine Amiguet](https://github.com/aamiguet)
- [Solution](https://github.com/AlexMckey/AoC2024_Scala/blob/master/src/year2024/day16.scala) by [Alex Mc'key](https://github.com/AlexMckey)
- [Solution](https://github.com/rmarbeck/advent2024/blob/main/day16/src/main/scala/Solution.scala) by [Raphaël Marbeck](https://github.com/rmarbeck)
- [Solution](https://github.com/TheDrawingCoder-Gamer/adventofcode2024/blob/master/src/main/scala/Day16.scala) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)
3 changes: 2 additions & 1 deletion docs/2024/puzzles/day17.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ https://adventofcode.com/2024/day/17
- [Solution](https://github.com/Philippus/adventofcode/blob/main/src/main/scala/adventofcode2024/Day17.scala) by [Philippus Baalman](https://github.com/philippus)
- [Solution](https://github.com/merlinorg/aoc2024/blob/main/src/main/scala/Day17.scala) by [merlinorg](https://github.com/merlinorg)
- [Solution](https://github.com/AlexMckey/AoC2024_Scala/blob/master/src/year2024/day17.scala) by [Alex Mc'key](https://github.com/AlexMckey)
- [Solution](https://github.com/rmarbeck/advent2024/blob/main/day17/src/main/scala/Solution.scala) by [Raphaël Marbeck](https://github.com/rmarbeck)
- [Solution](https://github.com/rmarbeck/advent2024/blob/main/day17/src/main/scala/Solution.scala) by [Raphaël Marbeck](https://github.com/rmarbeck)
- [Writeup](https://thedrawingcoder-gamer.github.io/aoc-writeups/2024/day17.html) by [Bulby](https://github.com/TheDrawingCoder-Gamer)

Share your solution to the Scala community by editing this page.
You can even write the whole article! [See here for the expected format](https://github.com/scalacenter/scala-advent-of-code/discussions/424)