advent-of-code-2021
aoc-2021
advent-of-code-2021 | aoc-2021 | |
---|---|---|
3 | 14 | |
43 | 1 | |
- | - | |
0.0 | 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-2021
-
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.
-
-🎄- 2021 Day 2 Solutions -🎄-
Again this year I am posting my reflections for solving all of these in Haskell https://github.com/mstksg/advent-of-code-2021/blob/master/reflections.md :)
-
-🎄- 2021 Day 1 Solutions -🎄-
Like every year, i have my haskell solutions and reflections every day here :) https://github.com/mstksg/advent-of-code-2021
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?
Advent-of-Code - Advent of Code
advent-of-code
advent-of-code - My solutions for the Advent of Code quests.
aoc2021-haskell - Solving coding puzzles from https://adventofcode.com/2021/ in haskell.
advent-of-code-2018 - Advent of Code 2018 Solutions (Spoilers!)
aoc2021 - My Advent of Code 2021 solutions
aoc-haskell-template - Advent of Code template for Haskell
aoc-hs - Solutions to advent of code exercises in Haskell.
adventofcode - Advent of code solutions
aoc2021 - AoC 2021
advent-of-code-2019 - Advent of Code 2019 Solutions (Spoilers!)
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).