adventofcode
Advent of code solutions (by julian-west)
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)
adventofcode | AdventOfCode2021 | |
---|---|---|
12 | 49 | |
6 | 61 | |
- | - | |
4.7 | 2.6 | |
5 months ago | 4 months ago | |
Python | Rust | |
- | 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.
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
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 adventofcode and AdventOfCode2021 you can also consider the following projects:
fp-ts - Functional programming in TypeScript
100-days-of-code - Fork this template for the 100 days journal - to keep yourself accountable (multiple languages available)
CSpydr - A static typed low-level compiled programming language inspired by Rust and C
adventofcode - My solutions to the Advent of Code challenges
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
Advent-of-code - My solutions of adventofcode.com
advent-of-code - Advent Of Code Solutions
AoC - my personal repo for the advent of code yearly challenge
AdventofCode2021
aoc-typescript
aoc2021 - My solutions to Advent of Code 2021.
adventofcode vs fp-ts
AdventOfCode2021 vs 100-days-of-code
adventofcode vs CSpydr
AdventOfCode2021 vs adventofcode
adventofcode vs adventofcode
AdventOfCode2021 vs Advent-of-code
adventofcode vs advent-of-code
AdventOfCode2021 vs AoC
adventofcode vs AdventofCode2021
AdventOfCode2021 vs advent-of-code
adventofcode vs aoc-typescript
AdventOfCode2021 vs aoc2021