Advent_of_Code_2021
My solutions to Advent of Code 2021 (by neelakantankk)
AdventOfCode
By SinisterMJ
Our great sponsors
Advent_of_Code_2021 | AdventOfCode | |
---|---|---|
11 | 9 | |
0 | 1 | |
- | - | |
0.0 | 8.1 | |
over 2 years ago | 4 months ago | |
Python | C++ | |
- | - |
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-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.
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 2022-12-20.
-
-🎄- 2022 Day 21 Solutions -🎄-
C++
- -🎄- 2022 Day 8 Solutions -🎄-
- [2022 Day 2] I can't be the only one
- -🎄- 2021 Day 15 Solutions -🎄-
- -🎄- 2021 Day 14 Solutions -🎄-
- [2021 Day 12] Code is working for all three examples, my input though yields wrong results
- -🎄- 2021 Day 9 Solutions -🎄-
- -🎄- 2021 Day 5 Solutions -🎄-
- -🎄- 2021 Day 4 Solutions -🎄-
What are some alternatives?
When comparing Advent_of_Code_2021 and AdventOfCode you can also consider the following projects:
Advent-of-code-2021-golang - Advent of code 2021 Go solutions
programmingproblems - My personal solutions for programming problems I come across.
adventofcode - My solutions to the Advent of Code challenges
aoc2022 - Advent of Code 2022 Solutions
aoc2021rust
Advent-of-Code-2022 - My solutions to Advent of Code 2022
advent_of_code - My solutions to advent of code puzzles
aoc-2022 - Advent of Code 2022!
AOC2021
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
adventofcode
adventofcode-hs-2022 - Solutions to https://adventofcode.com/2022 (complete)
Advent_of_Code_2021 vs Advent-of-code-2021-golang
AdventOfCode vs programmingproblems
Advent_of_Code_2021 vs adventofcode
AdventOfCode vs aoc2022
Advent_of_Code_2021 vs aoc2021rust
AdventOfCode vs Advent-of-Code-2022
Advent_of_Code_2021 vs advent_of_code
AdventOfCode vs aoc-2022
Advent_of_Code_2021 vs AOC2021
AdventOfCode vs adventofcode
Advent_of_Code_2021 vs adventofcode
AdventOfCode vs adventofcode-hs-2022