Advent_of_Code_2021
My solutions to Advent of Code 2021 (by neelakantankk)
advent-of-code-2021 | Advent_of_Code_2021 | |
---|---|---|
4 | 11 | |
1 | 0 | |
- | - | |
3.2 | 0.0 | |
over 2 years ago | over 2 years ago | |
Rust | 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-08.
-
-🎄- 2021 Day 9 Solutions -🎄-
A solution in Rust.
-
-🎄- 2021 Day 6 Solutions -🎄-
My solution in Rust. Runs pretty fast: ~4 microseconds. =D
-
-🎄- 2021 Day 5 Solutions -🎄-
In case you're interested, here's my solution too. It's not exactly concise, but it defines some types and implements some traits from the standard library, which is fun.
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-14.
-
-🎄- 2021 Day 15 Solutions -🎄-
Python solution. Part 1 runs in no time at all. Part 2 takes about 1.2 s which, I think, is because I am creating the entire 500x500 grid at the beginning. I suspect that I could speed it up considerably by only creating a grid in a direction when I get there, maybe create the next tile to the right and down when I get to a tile. A tile update function would probably not be too difficult as each cost would be an (x,y) multiple of the cost's base (x,y). I'm going to attempt to bring this to below 1s. :D
-
-🎄- 2021 Day 14 Solutions -🎄-
Python
-
-🎄- 2021 Day 13 Solutions -🎄-
My solution in Python. Part 1 was pretty easy to do with sets. For Part 2, I just printed to console and put in the letters. :D
-
-🎄- 2021 Day 11 Solutions -🎄-
Surprised at the pretty small input file size :D but pretty easy Python solution using dicts, lists, and sets. Python comprehensions just make life so much easier.
-
-🎄- 2021 Day 9 Solutions -🎄-
Finally managed to solve Part 02 in Python. I was stuck because I could not figure out a way to go through all the points around a low point till I got to a 9. Then yesterday I say u/skarlso's post about Red Blob games and the various pathing algorithms, and the breadth-first-search example just unblocked the whole solution for me. :)
-
-🎄- 2021 Day 6 Solutions -🎄-
Python solution that takes about a second for part 2. The logic is the same for both parts, just changed the number of days it runs for.
-
-🎄- 2021 Day 5 Solutions -🎄-
Bless Python's sets! Makes checking for membership such a breeze!
-
-🎄- 2021 Day 4 Solutions -🎄-
Python
-
-🎄- 2021 Day 3 Solutions -🎄-
Pretty easy with Python. Some list comprehension, some count, some join, some int and it's done. Could be more efficient, of course. 😁
-
-🎄- 2021 Day 2 Solutions -🎄-
Simple Python-based solution yet again.
What are some alternatives?
When comparing advent-of-code-2021 and Advent_of_Code_2021 you can also consider the following projects:
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI
Advent-of-code-2021-golang - Advent of code 2021 Go solutions
fp-ts - Functional programming in TypeScript
adventofcode - My solutions to the Advent of Code challenges
advent-of-code-2021 - 🎄 Solutions to Advent of Code 2021 in Python
aoc2021rust
AoC - my personal repo for the advent of code yearly challenge
advent_of_code - My solutions to advent of code puzzles
advent-of-code - exploring problems from Advent of Code
AOC2021
advent-of-code - https://adventofcode.com/2021
adventofcode
advent-of-code-2021 vs tqdm
Advent_of_Code_2021 vs Advent-of-code-2021-golang
advent-of-code-2021 vs fp-ts
Advent_of_Code_2021 vs adventofcode
advent-of-code-2021 vs advent-of-code-2021
Advent_of_Code_2021 vs aoc2021rust
advent-of-code-2021 vs AoC
Advent_of_Code_2021 vs advent_of_code
advent-of-code-2021 vs advent-of-code
Advent_of_Code_2021 vs AOC2021
advent-of-code-2021 vs advent-of-code
Advent_of_Code_2021 vs adventofcode