Advent_of_Code
These are my solutions to the Advent of Code puzzles. These are some of my first Python scripts, so please manage your expectations. :^) (by Nomen-Heroum)
AoC2020
Advent Of Code 2020 (by ShaoshiZ)
Advent_of_Code | AoC2020 | |
---|---|---|
4 | 3 | |
0 | 0 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | over 3 years ago | |
Python | MATLAB | |
- | 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 2021-01-21.
-
I wrote a small blog on using F# for Advent of Code 2020. Conclusion: it was a lot of fun!
This made me think about how to make my own Python solution more elegant. It was one of the earlier things I wrote in Python, and I've done almost every AoC year since! I've refactored it and switched to using complex numbers, I think it turned out pretty well. Here's the code for both parts.
-
2020 Day 20 Solutions
Here's my own solution, if you're interested: https://github.com/Nomen-Heroum/Advent_of_Code/blob/master/2020/day20.py
On a vaguely related note, I decided to finally commit my solutions to GitHub! Here is my day 20 solution, cleaned up and commented to death for your reading convenience.
-
-🎄- 2020 Day 22 Solutions -🎄-
Mine went down from 20062 to 16881 recursive calls, here's my code (also Python 3). Just add a global CALLS before line 7 and global CALLS; CALLS += 1 before line 17 in the if block to count the function calls.
AoC2020
Posts with mentions or reviews of AoC2020.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-24.
-
-🎄- 2020 Day 25 Solutions -🎄-
My Answer\ There isn't much to say about today's puzzle. A rather straightforward MATLAB implementation. Merry Christmas everyone!
-
-🎄- 2020 Day 22 Solutions -🎄-
Part 1\ Part 2\ Since the script for part 2 is written in a recursive way, there is an extra step to get the final answer. The final answer can be easily obtained based on the non-empty deck.\ \ I was confused by the infinite loop prevention rule, but other than that, pretty simple puzzle.
-
2020 Day 21 Solutions
My MATLAB answer for part 1. Part 2 can be easily done manually so I didn't bother writing codes for that:)
What are some alternatives?
When comparing Advent_of_Code and AoC2020 you can also consider the following projects:
Advent-of-Code - C# solutions for Advent of Code puzzles
AdventOfCode-Java - adventOfCode(Language.JAVA);
AoC2020 - Programs for Advent of Code 2020
aoc2020 - Advent of Code 2020
advent-of-code-2020
advent-of-code-2020-jq - Solving Advent of Code with jq [Moved to: https://github.com/odnoletkov/advent-of-code-jq]
aoc2020
adventofcode.com
aoc - Advent of Bad Code
advent-of-code-2020 - Solutions to Advent of Code 2020
advent-of-code-2020 - Solutions for Advent of code
advent-of-code
Advent_of_Code vs Advent-of-Code
AoC2020 vs AdventOfCode-Java
Advent_of_Code vs AoC2020
AoC2020 vs aoc2020
AoC2020 vs advent-of-code-2020
AoC2020 vs advent-of-code-2020-jq
AoC2020 vs aoc2020
AoC2020 vs adventofcode.com
AoC2020 vs aoc
AoC2020 vs advent-of-code-2020
AoC2020 vs advent-of-code-2020
AoC2020 vs advent-of-code