diff --git a/docs/2024/puzzles/day06.md b/docs/2024/puzzles/day06.md index 8bc01a0e0..e88379b3a 100644 --- a/docs/2024/puzzles/day06.md +++ b/docs/2024/puzzles/day06.md @@ -205,7 +205,7 @@ def possibleObstaclesPositionsNumber(g: Guard, startingPov: PointOfView): Int = newPossibleGuards.par.count(g => looping(g, startingPov)) ``` -As we are brute forcing, let's use a parallel collection, to use all the potential of our nice hardware, to check multiple lab dispositions at the same time. We also use a `ForkJoinPool` to control the number of threads used by the parallel collection. See how simple it is to use parallel collections in Scala, using the `.par` method. +As we are brute forcing, let's use a parallel collection, to use all the potential of our nice hardware, to check multiple lab dispositions at the same time. See how simple it is to use parallel collections in Scala, using the `.par` method. This concludes the solution for part 2 of the problem. diff --git a/docs/2024/puzzles/day13.md b/docs/2024/puzzles/day13.md index e41ec3337..706fcb97f 100644 --- a/docs/2024/puzzles/day13.md +++ b/docs/2024/puzzles/day13.md @@ -206,6 +206,7 @@ def part2(input: String): Long = ``` ## Solutions from the community + - [Solution](https://github.com/rmarbeck/advent2024/blob/main/day13/src/main/scala/Solution.scala) by [Raphaël Marbeck](https://github.com/rmarbeck) - [Solution](https://github.com/spamegg1/aoc/blob/master/2024/13/13.worksheet.sc#L109) by [Spamegg](https://github.com/spamegg1) - [Solution](https://github.com/aamiguet/advent-2024/blob/main/src/main/scala/ch/aamiguet/advent2024/Day13.scala) by [Antoine Amiguet](https://github.com/aamiguet) diff --git a/docs/2024/puzzles/day16.md b/docs/2024/puzzles/day16.md index 39131021e..c5377158b 100644 --- a/docs/2024/puzzles/day16.md +++ b/docs/2024/puzzles/day16.md @@ -473,5 +473,6 @@ given Ordering[Reindeer] = Ordering.by(-_.score) - [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) - [Solution](https://github.com/jportway/advent2024/blob/master/src/main/scala/Day16.scala) by [Joshua Portway](https://github.com/jportway) + 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)