advent-of-code-2021
adventofcode | advent-of-code-2021 | |
---|---|---|
10 | 4 | |
- | 0 | |
- | - | |
- | 4.2 | |
- | over 2 years ago | |
Python | ||
- | - |
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
-
-🎄- 2021 Day 11 Solutions -🎄-
part1 and 2
-
-🎄- 2021 Day 10 Solutions -🎄-
code
-
-🎄- 2021 Day 9 Solutions -🎄-
part1 with window functions: https://explain.dalibo.com/plan/drW
-
-🎄- 2021 Day 8 Solutions -🎄-
And part2 is here. Executes in about 40ms on my machine.
-
Advent of Code 2021 using SQL (PostgreSQL-flavored)
Your repo comes up a lot in the reddit threads. Day 4/1 was particularly great!
When AOC 2021 is done I hope I will find the time to compile the different approaches for each day and compare them.
My current list of repos is this:
- https://gitlab.com/autra/adventofcode
-
-🎄- 2021 Day 6 Solutions -🎄-
https://gitlab.com/autra/adventofcode https://gitlab.com/feike/adventofcode https://github.com/dflss/advent-of-code-2021 https://github.com/qwesda/AOC2021-postgresql
-
-🎄- 2021 Day 4 Solutions -🎄-
Solutions are here: https://gitlab.com/autra/adventofcode/-/tree/master/year_2021/day4
-
-🎄- 2021 Day 3 Solutions -🎄-
part 1 (really easy in sql)
-
-🎄- 2021 Day 2 Solutions -🎄-
EDIT: full code (with loading script)
advent-of-code-2021
-
-🎄- 2021 Day 12 Solutions -🎄-
Python solution. If you look at the input you might notice that there is not a single path from uppercase cave to uppercase cave, so with recursion there is no way code can get stuck. It also means that you don't need to keep track of the finished paths because there is no way to generate duplicates.
-
-🎄- 2021 Day 11 Solutions -🎄-
I did with recursion too, but to make a point flash it must have exactly value 10. So I just need to edit all numbers that have value over 9 to a zero at the end. Don't know if its any faster :D My Python solution using external library Numpy
-
-🎄- 2021 Day 6 Solutions -🎄-
Python 3 Got my solution running in less than 1ms using Counters
-
-🎄- 2021 Day 4 Solutions -🎄-
PYTHON. I did first version without Numpy but decided that its way too useful so I did some refactoring and below is my solution. It's a bit slow so not the most optimal.
What are some alternatives?
programming-challenges - My attempts at solving various programming challenges. Leetcode, codewars, adventofcode, etc
AoC - my personal repo for the advent of code yearly challenge
advent-2021-sql - Advent of Code 2021 using SQL (PostgreSQL-flavored)
adventofcode - Advent of code solutions
adventofcode
AdventOfCode2021.jl - Advent of Code 2021 in Julia
AdventOfCode2021
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
adventofcode - Yearly advent coding challenge at https://adventofcode.com/
aoc - Advent of Code - mscha's Perl 6 solutions
adventofcode
advent-of-code-2021 - My solutions to advent of code 2021 in deno/TS