advent_of_code
aoc-2021
advent_of_code | aoc-2021 | |
---|---|---|
4 | 14 | |
0 | 1 | |
- | - | |
5.7 | 0.0 | |
over 2 years ago | about 2 years ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | MIT License |
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
-
Advent of Code 2021 day 15
If you have the time, my attempt can be found here!
-
Profiling with Cabal
What is the recommended best practice for doing this with cabal? I tried google, but it appears as though my googlefu need some work. My cabal file, as well as the rest of the project can be found here.
- Advent of Code 2021 day 11
-
Advent of Code 2021 day 4
My solution!
aoc-2021
-
Advent of Code 2021 day 25
I used two sets containing respectively the positions of the down-facing and right-facing sea cucumbers: link to solution
-
Advent of Code 2021 day 24
Solution
-
Advent of Code 2021 day 22
(full code) My solution is quite similar to this one, just to have fun I decided to use a typeclass Intersectable with an instance for both Ranges and Cuboids:
-
Advent of Code 2021 day 19
(full code)
-
Advent of Code 2021 day 16
My solution, I treated the binary input as strings of 0s and 1s instead of arrays of bools, it made the parsing easier using Parsec
-
Advent of Code 2021 day 14
I used a Map to track the occurrences of each monomer and updated it as many times as needed using the input's rules (full code here)
-
Advent of Code 2021 day 13
I solved the problem using a set of points and literally folding over it: (code here)
-
Advent of Code 2021 day 12
(Full code here) I used a map to represent the graph, basically I treated a Graph a as a Map a [a]
-
Advent of Code 2021 day 11
Any feedback is greatly appreciated! The full code for handling the matrix and the flash function is here
-
Advent of Code 2021 day 10
My solution is here
What are some alternatives?
aoc-2021 - Haskell solutions to https://adventofcode.com/2021
advent-of-code
aoc2021 - My Advent of Code 2021 solutions
advent-of-code-2021 - 🎅🌟❄️☃️🎄🎁
aoc2021-haskell - Solving coding puzzles from https://adventofcode.com/2021/ in haskell.
aoc-hs - Solutions to advent of code exercises in Haskell.
aoc2021 - AoC 2021
ghc - Mirror of the Glasgow Haskell Compiler. Please submit issues and patches to GHC's Gitlab instance (https://gitlab.haskell.org/ghc/ghc). First time contributors are encouraged to get started with the newcomers info (https://gitlab.haskell.org/ghc/ghc/wikis/contributing).
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
AdventOfCode
advent - Advent of Code