Aoc2021 Alternatives
Similar projects and alternatives to aoc2021
-
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
-
-
-
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
adventofcode
Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020 and 2021 in Scala (by sim642)
-
-
-
-
-
-
advent-of-code-2021
My solutions to advent of code 2021 in deno/TS (by J-Swift)
-
-
-
Advent_of_Code_2021
My solutions to Advent of Code 2021 (by neelakantankk)
aoc2021 reviews and mentions
-
[2021] What did you learn or take away from AoC 2021?
I used a doubly linked list of digits in a static array for one snailfish number, in a static array of snailfish numbers (length 100 = size of input file). Turns out the maximum length needed for all digits in one number was only 274 (for my input!). Part 1+2 runs in about 20 ms on an M1. https://github.com/ednl/aoc2021/blob/main/day18.c
The constant time thing is counting fish in an age histogram mod 9, right? I think that idea floated around the solution thread. I am no longer sure if I saw it there first or came up with it myself..... but here's my implementation in C: https://github.com/ednl/aoc2021/blob/main/day06.c
-
-🎄- 2021 Day 14 Solutions -🎄-
Added lots of comments as explanation of the ideas and the code: https://github.com/ednl/aoc2021/blob/main/day14.c
C code. I'm afraid I went a little overboard with double checking everything. Are there even pairs for which no rule exists? If there are, I'm good :) Runs very fast in 180 µs on a Pi 4 @ 1.8 GHz:
-
-🎄- 2021 Day 6 Solutions -🎄-
Good ol' C code. Very simple program once you think of making a circular buffer from the population histogram by age bins, and simulating every day. I got stuck for a while trying to come up with a direct mathematical function which never gave me the exact number. The crux:
-
-🎄- 2021 Day 4 Solutions -🎄-
C, which takes some bookkeeping but it can be fast. I didn't push for every last drop of speed but still: about 3 ms on a Raspberry Pi 4 (1.8 GHz overclock, Buster desktop, not very quiet so I picked a good run). Code with lots of comments
Stats
ednl/aoc2021 is an open source project licensed under MIT License which is an OSI approved license.
Are you hiring? Post a new remote job listing for free.