AdventOfCodeHaskell
solutions to advent of code problems (by c-coward)
AdventOfCode
Hacky solutions for [Advent of Code](https://adventofcode.com), working on past problems (by AllanTaylor314)
AdventOfCodeHaskell | AdventOfCode | |
---|---|---|
13 | 29 | |
0 | 2 | |
- | - | |
10.0 | 7.7 | |
over 1 year ago | 5 months ago | |
Haskell | Python | |
- | - |
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.
AdventOfCodeHaskell
Posts with mentions or reviews of AdventOfCodeHaskell.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-24.
-
-🎄- 2022 Day 25 Solutions -🎄-
Haskell. I love balanced base systems! Was just telling my less-math inclined partner about them a bit ago :)
-
-🎄- 2022 Day 13 Solutions -🎄-
Haskell. Implementing nested lists is fun! The parser was surprisingly straightforward (except for an issue where it was expecting an extra newline at the end of my input), and the bulk of the problem was handled by implementing Ord instances for my data types.
-
-🎄- 2022 Day 12 Solutions -🎄-
Haskell. Recursive BFS in the State monad! Visited positions are marked with a '|' character, since this is 'z' + 2. My part 1 code didn't need too much modification for part 2, I only needed to account for the fact that adjacent 'a's can visit each other on the first step.
-
Advent of Code 2022 day 12
Code. Recursive BFS using the State monad to update grid positions
-
-🎄- 2022 Day 10 Solutions -🎄-
Haskell. Both parts are one liners, I add a no op before every addx to avoid skipping cycles, and using a 2D point data type (that I custom implemented based on Linear.V2 for named fields) makes handling the data a breeze!
-
[2022 Day 9] Shortest rope with fixed tail
346 for me. would've loved this as a part 3, since my solution adapts to it really well!
-
Did anyone else build a full tree for day 7?
Something that really helped me out was finding a Tree Zipper library! This one doesn't have the best documentation but it was the only one that wanted to compile in my project lol. It does a lot of the heavy lifting of traversing the tree for you, once you figure out how to use it of course. Here's my not very cleaned up code if you wanna see what I did
-
-🎄- 2022 Day 9 Solutions -🎄-
Haskell. My idea for part 1 was basically "Find all the places the head goes, then follow it with the tail" which ended up working basically for free in part 2, and I chose the lazy implementation of "just compose these functions together manually, its what the language was built for". Definitely going to refactor that part in the morning lol
-
Advent of Code 2022 day 9
Pretty happy with my code, which amounts to a bunch of composed scanls, my part 1 solution gave me part 2 for free! Code
-
Advent of Code 2022 day 8
Code for the day, with parsing and extra utilities located in src/Util/
AdventOfCode
Posts with mentions or reviews of AdventOfCode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
-❄️- 2023 Day 10 Solutions -❄️-
Code: main (445b314)
-
-❄️- 2023 Day 8 Solutions -❄️-
Edit: Made some of those improvements. Have a look at main. Want the original code? Check out commit c6ae21b
-
-❄️- 2023 Day 6 Solutions -❄️-
Code: main (de0beb6)
-
-❄️- 2023 Day 4 Solutions -❄️-
Code: main (5f0a9a8)
-
-🎄- 2022 Day 24 Solutions -🎄-
For part 1 my sneaky elves took a step north and then walked around the outside of the blizzard field. I trapped them in with additional walls \evil grin**
-
-🎄- 2022 Day 23 Solutions -🎄-
Python [762/731]
-
-🎄- 2022 Day 22 Solutions -🎄-
Python+Paper [1740/765]
-
-🎄- 2022 Day 21 Solutions -🎄-
Python+sympy [204/1353]
-
-🎄- 2022 Day 20 Solutions -🎄-
Python [213/499]
-
-🎄- 2022 Day 18 Solutions -🎄-
Version at time of posting: 492376c (since I've committed since then)
What are some alternatives?
When comparing AdventOfCodeHaskell and AdventOfCode you can also consider the following projects:
aoc2022
advent-of-code-2022 - My solutions to the 2022 Advent of Code as shiny Jupyter notebooks. You can run and interact with the code and the solutions directly from your browser via Binder.
Advent-of-code - https://adventofcode.com/
aoc
aoc2022
aoc2021 - Advent of Code 2021 - 2023
advent2022 - Advent of Code 2022
advent-of-code - Polyglot Advent of Code solution collection
aoc2022
advent-of-code-2022
advent-of-code - Advent of Code solutions
aoc - Advent of Code Solutions - https://adventofcode.com/
AdventOfCodeHaskell vs aoc2022
AdventOfCode vs advent-of-code-2022
AdventOfCodeHaskell vs Advent-of-code
AdventOfCode vs aoc
AdventOfCodeHaskell vs aoc2022
AdventOfCode vs aoc2021
AdventOfCodeHaskell vs advent2022
AdventOfCode vs advent-of-code
AdventOfCodeHaskell vs aoc2022
AdventOfCode vs advent-of-code-2022
AdventOfCodeHaskell vs advent-of-code
AdventOfCode vs aoc