Advent_of_Code2021
Solutions to Advent of COde 2021 (by cettt)
Advent_of_Code2021 | advent-of-code | |
---|---|---|
12 | 14 | |
1 | 1 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | over 2 years ago | |
R | Common Lisp | |
- | - |
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_Code2021
Posts with mentions or reviews of Advent_of_Code2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-23.
-
-🎄- 2021 Day 24 Solutions -🎄-
Then I wrote a small algorithm which finds the minimum and maximum values: no brute force needed- Full code with extra explanation on github.
-
-🎄- 2021 Day 23 Solutions -🎄-
My code is super slow: takes about 15 minutes for part 2. There is much too improve: will take a good look at this after the 25th.
-
-🎄- 2021 Day 22 Solutions -🎄-
My code is not yet as efficient as it could be: i takes about 4-5 seconds for both parts.
-
-🎄- 2021 Day 21 Solutions -🎄-
Today was my cheatday as I used the tidyverse library :) github
-
-🎄- 2021 Day 20 Solutions -🎄-
Today was quite easy again. The only challenging part in my input was that light pixels surrounded by only light pixels turn dark (and vice versa). github
-
-🎄- 2021 Day 19 Solutions -🎄-
For a while I didnt think I was going to make it :) But here I am :) github.
-
-🎄- 2021 Day 17 Solutions -🎄-
I first computed bounds and checked within a certain region of velocities. Compared with yesterday this was a piece of cake. I guess for must inputs the solution to part1 is simply y*(y+1)/2 where y is the absolute value of the lower bond - 1. github
-
-🎄- 2021 Day 16 Solutions -🎄-
Well save to say, this was my least favorite puzzle since 2018: and I still had a lot of fun :) I used two global variables: one keeping track of the current index and adding up the version numbers. I am praying that there won't be a follow up on this :D github
-
-🎄- 2021 Day 15 Solutions -🎄-
The full code is on github
-
-🎄- 2021 Day 14 Solutions -🎄-
cleaned up my code a little. Both parts run in 40ms. Full code with comments is on github
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 2021-12-20.
-
-🎄- 2021 Day 21 Solutions -🎄-
Python. Part a is whatever, part 2 is pretty clean. I wonder if there's a math-only solution to this?
-
-🎄- 2021 Day 20 Solutions -🎄-
Python.
-
-🎄- 2021 Day 19 Solutions -🎄-
Python. Brute force with a tiny bit of pruning, takes about 3 minutes. I've been thinking of switching from CL for days and having the chance to use matrix multiplications finally gave me a great reason to :)
-
-🎄- 2021 Day 18 Solutions -🎄-
Common Lisp Truly ugly day, took me about 4 hours for part 1 and submitted more than 24h past the puzzle for the first :(
-
-🎄- 2021 Day 17 Solutions -🎄-
Common Lisp. Very disappointing problem since you can just brute force over even unreasonable bounds quickly. Would have been more appropriate as a day 4 or 5 problem
-
-🎄- 2021 Day 16 Solutions -🎄-
Common Lisp. Christ this was a sad day. I probably had part 1 in 40 minutes (or I would have if emacs didn't start hanging which necessitated a huge apt-get update/apt-get upgrade 40 minutes in), but then I got hung up until ~3hrs by the "padding" stuff and trying to parse more than one root-level packet from the string. Uggghhh.
-
-🎄- 2021 Day 15 Solutions -🎄-
Simple Dijkstra's in Common Lisp, though I can think of a good heuristic to use with A*. Took me like 10 minute to find a priority queue lib I liked, and about another 15 to figure out I needed to initialize it with a predicate of #'< instead of #'= :/
-
-🎄- 2021 Day 14 Solutions -🎄-
Common Lisp. Pretty bad day, stumbled around for like an hour trying to actually construct the strings for part B and then finished in like 10 mins once I realized how to take the better approach :/
-
-🎄- 2021 Day 13 Solutions -🎄-
Common Lisp. Pretty ugly, I could have merged fold-left and fold-up and the printing logic leaves something to be desired
-
-🎄- 2021 Day 12 Solutions -🎄-
Common Lisp. Got bit really hard twice today, on part a by not knowing that equalp compares strings case-insensitively (wtf!?) and on part b by speedreading and thinking that all small caves could be revisited on a single path
What are some alternatives?
When comparing Advent_of_Code2021 and advent-of-code you can also consider the following projects:
adventofcode - My solutions for Advent of Code
adventofcode - Advent of code solutions
advent-of-code - Advent of Code
advent-of-code
adventOfCode - Advent of Code solutions in a number of different languages
advent-2021 - [Moved to: https://github.com/Crazytieguy/advent-of-code]
AdventOfCode - My solutions for Advent of Code
adventofcode - Solutions for problems from AdventOfCode.com
advent2021
aoc - Advent of Code Solutions
AoC - my personal repo for the advent of code yearly challenge
adventofcode - Advent of code
Advent_of_Code2021 vs adventofcode
advent-of-code vs adventofcode
Advent_of_Code2021 vs advent-of-code
advent-of-code vs advent-of-code
Advent_of_Code2021 vs adventOfCode
advent-of-code vs advent-2021
Advent_of_Code2021 vs AdventOfCode
advent-of-code vs adventofcode
Advent_of_Code2021 vs advent2021
advent-of-code vs aoc
Advent_of_Code2021 vs AoC
advent-of-code vs adventofcode