aoc-2021
aoc-2021
aoc-2021 | aoc-2021 | |
---|---|---|
14 | 2 | |
1 | 1 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | over 2 years ago | |
Haskell | Haskell | |
MIT License | BSD 3-clause "New" or "Revised" 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.
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
aoc-2021
-
Advent of Code 2021 day 19
Slightly un-beautiful solution. Takes 10 seconds on my machine with -N2 set.
-
Advent of Code 2021 day 13
Very pleased with this one. Details of the framework omitted for this code segment.
What are some alternatives?
advent-of-code
advent-of-code-2021 - 🎅🌟❄️☃️🎄🎁
aoc2021-haskell - Solving coding puzzles from https://adventofcode.com/2021/ in haskell.
aoc2021 - My Advent of Code 2021 solutions
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
aoc2021 - Solutions to advent-of-code (https://adventofcode.com/) for 2021