advent-of-code-2021
advent-of-code
advent-of-code-2021 | advent-of-code | |
---|---|---|
4 | 11 | |
1 | 1 | |
- | - | |
0.0 | 6.9 | |
10 months ago | 5 months ago | |
JavaScript | Rust | |
MIT License | - |
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
-
[2021] Big Inputs for Advent of Code 2021 Puzzles
My original, unoptimized JS solution runs 9999999 in about 440 seconds. I thought that I'd cut that down with some heavy optimization, but it still takes the exact same time. Some loose profiling shows that most of the time is actually spent waiting for memory accesses, not in the CPU. I guess that's due to all the BigInts.
-
What is the best way to read a text file of your input in your language of choice?
I'm using Javascript (NodeJS) again this year. I've got a small common/io.js module that exports this function:
-
-🎄- 2021 Day 1 Solutions -🎄-
Javascript [Part 1] [Part 2]
advent-of-code
-
-🎄- 2022 Day 6 Solutions -🎄-
Part 1
-
-🎄- 2022 Day 5 Solutions -🎄-
Ruby
-
-🎄- 2022 Day 3 Solutions -🎄-
Rust: PART 1 PART 2
- -🎄- 2021 Day 14 Solutions -🎄-
- -🎄- 2021 Day 9 Solutions -🎄-
-
-🎄- 2021 Day 7 Solutions -🎄-
Ruby: https://github.com/sreedevk/advent-of-code/blob/main/ruby/2021/day7/main.rb
- -🎄- 2021 Day 5 Solutions -🎄-
- -🎄- 2021 Day 4 Solutions -🎄-
- -🎄- 2021 Day 2 Solutions -🎄-
- -🎄- 2021 Day 1 Solutions -🎄-
What are some alternatives?
AdventOfCode.Template - Advent of Code C# (.NET 8) template. Based on AoCHelper (https://github.com/eduherminio/AoCHelper)
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:
advent-of-code-typescript-starter - Typescript template in Node.js for Advent of Code event
advent-of-code-2021 - My solutions to advent of code 2021 in deno/TS
advent2019-fast - Advent of Code 2019 optimized solutions in C++
aoc-2021-in-kotlin
aoc2021
advent_of_code - Solutions to programming puzzles on Advent of Code
adventofcode - Solutions for problems from AdventOfCode.com
adventlang - 🎅 A programming language (+ code playground) for Advent of Code.
BQN - An APL-like programming language. Self-hosted!
adventofcode - Advent of code solutions