aoc2021
Advent of Code 2021 (by krmaxwell)
adventofcode
Advent of code solutions (by julian-west)
aoc2021 | adventofcode | |
---|---|---|
8 | 12 | |
1 | 6 | |
- | - | |
0.0 | 4.7 | |
over 2 years ago | 5 months ago | |
Go | 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.
aoc2021
Posts with mentions or reviews of aoc2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-09.
-
-🎄- 2021 Day 10 Solutions -🎄-
I've done something similar to this in Python before, but this time the completion aspect did throw a little wrinkle into it. That taught me some new stuff about slices, sorting, and idiomatic implementations of a stack in Go. Full source including tests available on Github.
-
-🎄- 2021 Day 7 Solutions -🎄-
In the spirit of "premature optimization is the root of all evil, I just brute forced it. The test suite ran in 70ms on my system so that was good enough for me not to worry about further optimization.
-
What time does the daily challenge drop at your location?
Yes! https://github.com/krmaxwell/aoc2021 organized by days.
-
-🎄- 2021 Day 6 Solutions -🎄-
Like most other folks, I did the naive approach for part 1 and then part 2 was untenable. Props to everyone who did the smart thing from the beginning. As always, my full code including tests is on Github.
-
-🎄- 2021 Day 4 Solutions -🎄-
This one kicked my ass for a while, which was confusing because the tests all passed fine with example data. Eventually I tracked down the problem to the way I was reading in the actual puzzle input... I should've known. Anyway, in addition to the [Github repo](https://github.com/krmaxwell/aoc2021/master/day4] with full tests and stuff, here's the core answer:
-
-🎄- 2021 Day 2 Solutions -🎄-
Same as yesterday, my answers using Go are on Github with a TDD-ish approach. I'm not being super strict with TDD here.
-
Share your go advent of code
My solution for Day 1 is on GitHub. I think you may have made things significantly more complicated than needed.
-
-🎄- 2021 Day 1 Solutions -🎄-
I'm trying in Go this year, just because I'm working on learning it.
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 2021-12-16.
-
-🎄- 2021 Day 17 Solutions -🎄-
Python day 17 solution (GitHub). Not the fewest lines of code, but used dataclasses and modular functions to try improve readability -- I got very confused with keeping track of indices of velocities vs coordinates in other people's posted solutions. I find dataclasses in Python can be a great way to be descriptive about the quantities you are iterating
-
-🎄- 2021 Day 15 Solutions -🎄-
Python day 15 solution (GitHub) using Networkx for graph algorithm and Numpy for building the bigger grid. Solutions to other days available in this repo
-
-🎄- 2021 Day 14 Solutions -🎄-
Python day 14 solution (GitHub). Tried splitting out the logic into individual functions to aid readability.
-
-🎄- 2021 Day 13 Solutions -🎄-
Python day 13 solutions (GitHub). Using Dataclasses to improve readability
-
-🎄- 2021 Day 7 Solutions -🎄-
Python solution (GitHub) using Gauss formula for part 2
-
-🎄- 2021 Day 6 Solutions -🎄-
Python solution using deque (GitHub). Much faster than my first attempt, lol
-
-🎄- 2021 Day 5 Solutions -🎄-
Python day 5 solutions using Bresenham's algorithm (Github)
-
-🎄- 2021 Day 4 Solutions -🎄-
Python solution day 4 OOP (GitHub). Probably not the fewest lines of code but uses dataclasses and OOP to manage the states of each bingo card
-
-🎄- 2021 Day 2 Solutions -🎄-
Python day 2 solution (GitHub)
-
-🎄- 2021 Day 1 Solutions -🎄-
Python day 1 solution (GitHub) using numpy's convolve function for sliding window calc
What are some alternatives?
When comparing aoc2021 and adventofcode you can also consider the following projects:
fp-ts - Functional programming in TypeScript
CSpydr - A static typed low-level compiled programming language inspired by Rust and C
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
advent-of-code - Advent Of Code Solutions
AdventOfCode2021 - Solutions to all 25 AoC 2021 problems in Rust :crab: Less than 100 lines per day and under 1 second total execution time! :christmas_tree:
AdventofCode2021
aoc-typescript
MoreLINQ - Extensions to LINQ to Objects
Advent-of-Code - C# solutions for Advent of Code puzzles
adventofcode - Advent of Code challenge solutions
aoc2021 - Advent of Code 2021 Solutions
advent-of-code-2021 - 🎅🌟❄️☃️🎄🎁
adventofcode vs fp-ts
adventofcode vs CSpydr
adventofcode vs adventofcode
adventofcode vs advent-of-code
adventofcode vs AdventOfCode2021
adventofcode vs AdventofCode2021
adventofcode vs aoc-typescript
adventofcode vs MoreLINQ
adventofcode vs Advent-of-Code
adventofcode vs adventofcode
adventofcode vs aoc2021
adventofcode vs advent-of-code-2021