AdventOfCode2021_Julia
Doing the Advent of Code 2021 challenges live in Julia (by MarcusTL12)
advent-of-code
Collection of JS solutions for puzzles from adventofcode.com ๐๐ (by romellem)
AdventOfCode2021_Julia | advent-of-code | |
---|---|---|
3 | 14 | |
1 | 70 | |
- | - | |
0.0 | 8.5 | |
over 2 years ago | 5 months ago | |
Julia | JavaScript | |
GNU General Public License v3.0 only | 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.
AdventOfCode2021_Julia
Posts with mentions or reviews of AdventOfCode2021_Julia.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-25.
-
[2021 Day: all of them] [Julia, Rust & C] Repo. Thank you for an amazing December of puzzles.
This has been a very fun year of puzzles. Looking forward to not having my alarm set for 05:45 in the morning any more. This year I've done everything in Julia to be fast (usually placed around 1000 for both parts), then trying to make nicer solutions in Rust later in the day, and then trying to make solutions in C, which this year meant that I would be implementing a Priority queue. The C repo is not quite complete. Missing a working solution for day 3 part 2 so far (Tried to be really big brain there, did not work out, and I haven't bothered going back yet), and day 23-25 is not yet completed. The rust repo should have working solutions for all days.
-
[2021 Day 12 Part 2] Has somebody found a sub 1s solution for part 2?
My part2_memo() solution here in julia runs in under 1ms timed with @btime.
-
-๐- 2021 Day 9 Solutions -๐-
After a bit of cleanup, mine is taking 230ยตs: https://github.com/MarcusTL12/AdventOfCode2021_Julia/blob/main/src/day9.jl
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.
- [2022] Relevant XKCD: Game AIs
-
-๐- 2021 Day 24 Solutions -๐-
For a full write-up, see this repo, and for a non-annotated solution, see:
-
-๐- 2021 Day 18 Solutions -๐-
Otherwise, the main way I solved this was with a flat list of tokens rather than a truly nested structure. This was very similar to last year's Day 18, which I also solved in a similar manner.
-
-๐- 2021 Day 9 Solutions -๐-
Code can be found in this repo.
-
-๐- 2021 Day 7 Solutions -๐-
code
-
-๐- 2021 Day 5 Solutions -๐-
First 2D one! Got to reuse my InfiniteGrid class, which made this much easier.
-
How to beat AOC 2019, day 13, part 2?
Mine only took about 2 minutes when I originally recorded it. I've since added some optimizations to my Intcode computer, and re-running my original program with the optimized computer now runs in about 45 seconds. ๐
-
[2015 Day 19 (Part 2)] I don't want specifics, but can someone point me in which direction I should work this problem?
Here is my solution in JS, which also has a long comment explaining the main iterative loop.
-
[2020 - Day 15 - Part 1/2] [JS/Python] - Why is the Javascript solution so much faster?
Your solution is very similar to mine, and I too found that using an Array of a set size was way faster than an ordinary Object. I believe it has to resizing the array / object.
-
2020 Day 13 Solutions
Main code for part two here, with comments, and full code for all parts found here.
What are some alternatives?
When comparing AdventOfCode2021_Julia and advent-of-code you can also consider the following projects:
aoc2021 - Advent of code 2021 solutions, in varied languages
AlgorithmProblems - Solutions to Algorithm Problems :chart_with_upwards_trend: :neckbeard:
Advent_of_Code_in_Pascal - My solutions to the Advent of Code, in Free Pascal
adventOfCode - Solutions to the 'Advent of Code' (http://adventofcode.com) programming challenges in Elm
advent-of-code
adventofcode - Advent of code solution programs.
adventofcode - Answers to Advent of Code
adventofcode - Advent of Code solutions 2015-2023
advent-of-code
advent-of-code - Advent of code solutions
aoc2017apl - Advent of Code 2017 solutions in APL
advent_of_code - Solutions to programming puzzles on Advent of Code
AdventOfCode2021_Julia vs aoc2021
advent-of-code vs AlgorithmProblems
AdventOfCode2021_Julia vs Advent_of_Code_in_Pascal
advent-of-code vs adventOfCode
AdventOfCode2021_Julia vs advent-of-code
advent-of-code vs adventofcode
AdventOfCode2021_Julia vs adventofcode
advent-of-code vs adventofcode
AdventOfCode2021_Julia vs advent-of-code
advent-of-code vs advent-of-code
advent-of-code vs aoc2017apl
advent-of-code vs advent_of_code