advent_of_code
Solutions to programming puzzles on Advent of Code (by Praful)
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: (by AxlLind)
Our great sponsors
advent_of_code | AdventOfCode2021 | |
---|---|---|
19 | 49 | |
5 | 61 | |
- | - | |
8.0 | 2.6 | |
about 2 months ago | 4 months ago | |
Dart | Rust | |
GNU General Public License v3.0 only | MIT License |
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
Posts with mentions or reviews of advent_of_code.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-08.
-
-❄️- 2023 Day 9 Solutions -❄️-
Here's the relevant extract from my (recursive) solution. Full code on GitHub.
-
-❄️- 2023 Day 8 Solutions -❄️-
Like others, I used lcm. Here's an extract of the solution, omitting parsing and main(). Full solution on GitHub.
-
-🎄- 2022 Day 14 Solutions -🎄-
Solutions to parts 1 and 2 nearly identical and pretty much worked first time. Nothing clever here. This was far simpler than I thought it would be. I probably spent most time trying to think of a mathematical way of getting all points between p1 and p2. In the end, I just constructed two ranges. Full code here.
-
-🎄- 2022 Day 10 Solutions -🎄-
Full code on github.
-
-🎄- 2022 Day 9 Solutions -🎄-
The core of my solution below using numpy (because I'm learning it!). See github for full code.
-
-🎄- 2022 Day 8 Solutions -🎄-
Python 3 solution using numpy. I got held up because I assume (but know better) that numpy arrays are [x,y] instead of [row, col], which is [y,x].
-
-🎄- 2021 Day 14 Solutions -🎄-
Below is the new solution, which works for part 1 and 2. The full code is on GitHub.
-
-🎄- 2021 Day 11 Solutions -🎄-
These are the key functions. The whole code is on GitHub
-
-🎄- 2021 Day 9 Solutions -🎄-
Part 2 (extract shown below) was a matter of starting with the low points found in part 1 then recursively looking around for relevant points. Full code on GitHub
-
-🎄- 2021 Day 8 Solutions -🎄-
Code is on GitHub.
AdventOfCode2021
Posts with mentions or reviews of AdventOfCode2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-29.
- [All years, all dates] Me after finishing all Advent of Code problems this year (my first year of AoC)
-
How to organize Rust code for Advent of Code puzzles?
I found this repository which solves the problem by having a src/main.rs file which basically calls cargo run --release {day} and parses the output to extract the time each day took, but I don't find this very satisfactory. I'd prefer to have everything compiled into the same executable, without having to run external commands.
-
Advent of Code: A suggestion for more advanced learners
You can always check out the problems from previous years.
-
Can I learn python in a month?
https://adventofcode.com/2021 for practice.
- C++ knowledge
- Prawda o Pracy
- O que é o Advent Of Code?
- Knobelaufgaben für C#
-
Practice exercises in c++
Here is 2021: https://adventofcode.com/2021
- Give Me a Program to Code
What are some alternatives?
When comparing advent_of_code and AdventOfCode2021 you can also consider the following projects:
advent-of-code
100-days-of-code - Fork this template for the 100 days journal - to keep yourself accountable (multiple languages available)
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
adventofcode - My solutions to the Advent of Code challenges
adventofcode - Solutions for problems from AdventOfCode.com
Advent-of-code - My solutions of adventofcode.com
toit - Program your microcontrollers in a fast and robust high-level language.
AoC - my personal repo for the advent of code yearly challenge
adventofcode - Advent of Code Repo for Zach Attakk
advent-of-code - Advent Of Code Solutions
aoc2021 - My solutions to Advent of Code 2021.
advent_of_code vs advent-of-code
AdventOfCode2021 vs 100-days-of-code
advent_of_code vs AdventOfCode
AdventOfCode2021 vs adventofcode
advent_of_code vs adventofcode
AdventOfCode2021 vs Advent-of-code
advent_of_code vs toit
AdventOfCode2021 vs AoC
advent_of_code vs adventofcode
AdventOfCode2021 vs advent-of-code
advent_of_code vs advent-of-code
AdventOfCode2021 vs aoc2021