advent-of-code
Advent of Code solutions (by mcwitt)
advent
Advent of Code complete solution archive and common library (by glguy)
advent-of-code | advent | |
---|---|---|
5 | 9 | |
2 | 35 | |
- | - | |
1.9 | 9.3 | |
about 1 year ago | 29 days ago | |
Haskell | Haskell | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
advent-of-code
Posts with mentions or reviews of advent-of-code.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-14.
-
Advent of Code 2022 day 15
part2 input = xb * gridSize + yb where sensors = fmap (uncurry sensor) input points = List.nub $ catMaybes $ intersection <$> (sensors >>= leftDiags) <*> (sensors >>= rightDiags) gridSize = 4000000 isValid (V2 x y) = 0 <= x && x <= gridSize && 0 <= y && y <= gridSize [V2 xb yb] = filter (\p -> isValid p && not (any (inRange p) sensors)) points ``` complete code
-
Advent of Code 2022 day 12
[complete code](https://github.com/mcwitt/advent-of-code/blob/main/solutions/2022/12/Main.hs)
- Advent of Code 2022 day 10
-
Advent of Code 2022 day 9
full solution
-
-🎄- 2022 Day 7 Solutions -🎄-
Overengineered but educational (for me) Haskell solution using zippers and recursion schemes
advent
Posts with mentions or reviews of advent.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-04.
- Optimising Haskell 2: swapping Set for Array
- Advent of Code 2022 day 16
-
Advent of Code 2022 day 15
There's a little more code than I want to paste here, so https://github.com/glguy/advent/blob/main/solutions/src/2022/15.hs
- Advent of Code 2022 day 12
- Advent of Code 2022 day 9
- Advent of Code 2022 day 8
- Advent of Code 2022 day 7
- How do I structure my files to comfortably work on the advent of code challenges?
-
All years, all days, everything in Haskell
I've done every year in Haskell (2015 2016 2017 2018 2019 2020 2021), and so have several other people such as /u/glguy. I don't see if /u/mstksg has anything published for 2015 but they've done 2016 2017 2018 2019 2020 2021 along with some pretty good writeups, I recommend checking those out.
What are some alternatives?
When comparing advent-of-code and advent you can also consider the following projects:
aoc2022
aoc2022
advent-of-code-dev-2021 - Interactive development environment and runner for Advent of Code challenges
advent-of-code-2022 - Advent of Code 2022 in Haskell
advent-of-code-y2022 - Advent of Code year 2022
advent-2022 - https://adventofcode.com/2022
Advent-of-code - https://adventofcode.com/
advent-of-code-2018 - Advent of Code 2018 Solutions (Spoilers!)
Advent2022 - Advent Of Code 2022
advent-of-code vs aoc2022
advent vs aoc2022
advent-of-code vs advent-of-code-dev-2021
advent vs advent-of-code-2022
advent-of-code vs advent-of-code-y2022
advent vs aoc2022
advent-of-code vs advent-2022
advent vs Advent-of-code
advent-of-code vs aoc2022
advent vs advent-of-code-2018
advent-of-code vs Advent-of-code
advent vs Advent2022