AdventOfCode2021_Julia
Doing the Advent of Code 2021 challenges live in Julia (by MarcusTL12)
advent_of_code
Solutions to programming puzzles on Advent of Code (by Praful)
AdventOfCode2021_Julia | advent_of_code | |
---|---|---|
3 | 19 | |
1 | 5 | |
- | - | |
0.0 | 8.0 | |
over 2 years ago | 2 months ago | |
Julia | Dart | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
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 2023-12-08.
-
-โ๏ธ- 2023 Day 9 Solutions -โ๏ธ-
Here's the relevant extract from my (recursive) solution. Full code on GitHub.
-
-โ๏ธ- 2023 Day 8 Solutions -โ๏ธ-
Like others, I used lcm. Here's an extract of the solution, omitting parsing and main(). Full solution on GitHub.
-
-๐- 2022 Day 14 Solutions -๐-
Solutions to parts 1 and 2 nearly identical and pretty much worked first time. Nothing clever here. This was far simpler than I thought it would be. I probably spent most time trying to think of a mathematical way of getting all points between p1 and p2. In the end, I just constructed two ranges. Full code here.
-
-๐- 2022 Day 10 Solutions -๐-
Full code on github.
-
-๐- 2022 Day 9 Solutions -๐-
The core of my solution below using numpy (because I'm learning it!). See github for full code.
-
-๐- 2022 Day 8 Solutions -๐-
Python 3 solution using numpy. I got held up because I assume (but know better) that numpy arrays are [x,y] instead of [row, col], which is [y,x].
-
-๐- 2021 Day 14 Solutions -๐-
Below is the new solution, which works for part 1 and 2. The full code is on GitHub.
-
-๐- 2021 Day 11 Solutions -๐-
These are the key functions. The whole code is on GitHub
-
-๐- 2021 Day 9 Solutions -๐-
Part 2 (extract shown below) was a matter of starting with the low points found in part 1 then recursively looking around for relevant points. Full code on GitHub
-
-๐- 2021 Day 8 Solutions -๐-
Code is on GitHub.
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
advent-of-code
Advent_of_Code_in_Pascal - My solutions to the Advent of Code, in Free Pascal
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:
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
adventofcode - Answers to Advent of Code
adventofcode - Solutions for problems from AdventOfCode.com
advent-of-code
toit - Program your microcontrollers in a fast and robust high-level language.
adventofcode - Advent of Code Repo for Zach Attakk
advent-of-code - Advent Of Code Solutions
AdventOfCode2021_Julia vs aoc2021
advent_of_code vs advent-of-code
AdventOfCode2021_Julia vs Advent_of_Code_in_Pascal
advent_of_code vs AdventOfCode2021
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 toit
advent_of_code vs adventofcode
advent_of_code vs advent-of-code