Advent-of-Code-2021
My solutions for Advent of Code 2021 (by kermitnirmit)
adventofcode
Advent of code solutions (by julian-west)
Advent-of-Code-2021 | adventofcode | |
---|---|---|
6 | 12 | |
0 | 6 | |
- | - | |
0.0 | 4.7 | |
over 2 years ago | 5 months ago | |
Python | 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.
Advent-of-Code-2021
Posts with mentions or reviews of Advent-of-Code-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-24.
-
-🎄- 2021 Day 25 Solutions -🎄-
python 453
-
-🎄- 2021 Day 7 Solutions -🎄-
Python3 <1000 for both, 500ing so I can't see ranks...
-
-🎄- 2021 Day 5 Solutions -🎄-
Python!
-
2021 Day 4 Approach and other ideas?
My solution.
-
-🎄- 2021 Day 2 Solutions -🎄-
Sad - this one didn't have much room for cleverness. simple loop and if/elif/else checks to figure out what to do. Solution
-
-🎄- 2021 Day 1 Solutions -🎄-
Pretty simple day 1! I took so darn long to remember how pandas worked. My solution / used zip to shift and compare as well as using pandas' rolling sum feature for part 2
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 Advent-of-Code-2021 and adventofcode you can also consider the following projects:
pony_aoc2021 - Advent of Code 2021 in Pony
fp-ts - Functional programming in TypeScript
aoc-typescript
CSpydr - A static typed low-level compiled programming language inspired by Rust and C
advent-of-rust-2021 - Solutions to Advent of Code 2021 in Rust
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
AdventOfCode - Advent Of Code
advent-of-code - Advent Of Code Solutions
AdventOfCode2021 - C++ solutions of Advent of code 2021
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
Advent-of-Code-2021 vs pony_aoc2021
adventofcode vs fp-ts
Advent-of-Code-2021 vs aoc-typescript
adventofcode vs CSpydr
Advent-of-Code-2021 vs advent-of-rust-2021
adventofcode vs adventofcode
Advent-of-Code-2021 vs AdventOfCode
adventofcode vs advent-of-code
Advent-of-Code-2021 vs AdventOfCode2021
adventofcode vs AdventOfCode2021
adventofcode vs AdventofCode2021
adventofcode vs aoc-typescript