advent-of-code-2021
Solutions to Advent of Code 2021 (by warriordog)
Advent_of_Code
My Advent of Code solutions. (by Farbfetzen)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
advent-of-code-2021 | Advent_of_Code | |
---|---|---|
4 | 14 | |
1 | 7 | |
- | - | |
0.0 | 3.7 | |
11 months ago | 8 months ago | |
JavaScript | Python | |
MIT License | 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-2021
Posts with mentions or reviews of advent-of-code-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-05.
-
[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
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-12-23.
-
Advent of Code day 12 advise
Then I came across this Python solution, which was quite short and concise. So I implemented this solution in F#, but I had to use a mutable. I couldn't figure out how to get rid of this mutable. Is there a way, or is this solution not a F# one?
-
-🎄- 2021 Day 21 Solutions -🎄-
My solutution in Python. Using itertools.cycle for part 1 and functools.cache for part 2.
-
-🎄- 2021 Day 16 Solutions -🎄-
My solution in Python. This one was fun! Thanks for the many samples and the detailed description.
-
-🎄- 2021 Day 15 Solutions -🎄-
My solution in Python. At first I was really struggling but then I luckily found some A* pathfinding code I wrote many years ago.
-
-🎄- 2021 Day 14 Solutions -🎄-
My Solution in Python. This one is pretty compact and amazingly fast thanks to collections.Counter and functools.lru_cache. Here is the function for counting the elements:
-
-🎄- 2021 Day 12 Solutions -🎄-
My solution in Python. A simple search without recursion.
-
-🎄- 2021 Day 11 Solutions -🎄-
My solution in Python. It's astonishing how much trouble I had today despite my experience with cellular automata.Lots of off-by-one errors and problems with synchronicity.
-
-🎄- 2021 Day 7 Solutions -🎄-
My solution in Python. I realised that I could use the median for part 1 and mean for part 2 like some others here.
-
-🎄- 2021 Day 6 Solutions -🎄-
My solution in Python. Today was fun and very easy. I immediately came to the same conclusion as others here to simply count the number of fish per age group.
-
-🎄- 2021 Day 5 Solutions -🎄-
My solution in Python. Now it starts to get interesting. I need to remind myself to use collections and itertools more often.
What are some alternatives?
When comparing advent-of-code-2021 and Advent_of_Code you can also consider the following projects:
AdventOfCode.Template - Advent of Code C# (.NET 8) template. Based on AoCHelper (https://github.com/eduherminio/AoCHelper)
advent-of-code-2021 - 🎄 My Advent of Code solutions in Rust. http://adventofcode.com/2021
advent-of-code-typescript-starter - Typescript template in Node.js for Advent of Code event
advent-2021-kotlin - :christmas_tree: Advent of Code 2021: Solutions in Kotlin
advent2019-fast - Advent of Code 2019 optimized solutions in C++
advent-of-code-2021
aoc2021
aoc-2021-rust
adventofcode - Solutions for problems from AdventOfCode.com
advent-of-rust-2021 - Solutions to Advent of Code 2021 in Rust
BQN - An APL-like programming language. Self-hosted!
specter - Clojure(Script)'s missing piece
advent-of-code-2021 vs AdventOfCode.Template
Advent_of_Code vs advent-of-code-2021
advent-of-code-2021 vs advent-of-code-typescript-starter
Advent_of_Code vs advent-2021-kotlin
advent-of-code-2021 vs advent2019-fast
Advent_of_Code vs advent-of-code-2021
advent-of-code-2021 vs aoc2021
Advent_of_Code vs aoc-2021-rust
advent-of-code-2021 vs adventofcode
Advent_of_Code vs advent-of-rust-2021
advent-of-code-2021 vs BQN
Advent_of_Code vs specter
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured