rusty-aoc
AdventOfCode
rusty-aoc | AdventOfCode | |
---|---|---|
7 | 29 | |
5 | 2 | |
- | - | |
8.8 | 7.7 | |
10 days ago | 5 months ago | |
Rust | 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.
rusty-aoc
-
-❄️- 2023 Day 6 Solutions -❄️-
My rusty-aoc repo & today' solution here.
-
-🎄- 2022 Day 25 Solutions -🎄-
Got my 100th 🦀 rusty ⭐🌟 star 🌠✨ today for 🎄 Xmas 🎅 (my code) 🎉. I had a rough time at first with converting SNAFU back to decimal so I first did things by hand (and a website to get numbers in base 5).
-
-🎄- 2022 Day 21 Solutions -🎄-
My rust code (43mn for part 1 ; +1h33 for part 2) with a topological sort thanks to the crate petgraph.
-
-🎄- 2022 Day 19 Solutions -🎄-
Rust, I used Linear Programming too, after I did not found reasonable pruning methods on the search tree. My code is there. I never did LP before, only heard of it, so yesterday was a long day!
-
-🎄- 2022 Day 9 Solutions -🎄-
Mine in rust too is there: https://github.com/Philippe-Cholet/rusty-aoc/blob/main/aoc2022/day09/src/lib.rs
-
Day 6 ~ Performant Solution?
I use itertools::Itertools which have a nice all_unique (internally, it creates a hashset and insert elements one by one unless it already contains it) but if I really wanted efficiency, I would manage my own hashset because this method is called for each character.
-
Does anybody else go back and "optimize" solutions?
Today, I rewrote it multiple times before I liked a version enough to commit it and push it to my repo. I probably won't rewrite it that many times in a few days once the problem is more "interesting".
AdventOfCode
-
-❄️- 2023 Day 10 Solutions -❄️-
Code: main (445b314)
-
-❄️- 2023 Day 8 Solutions -❄️-
Edit: Made some of those improvements. Have a look at main. Want the original code? Check out commit c6ae21b
-
-❄️- 2023 Day 6 Solutions -❄️-
Code: main (de0beb6)
-
-❄️- 2023 Day 4 Solutions -❄️-
Code: main (5f0a9a8)
-
-🎄- 2022 Day 24 Solutions -🎄-
For part 1 my sneaky elves took a step north and then walked around the outside of the blizzard field. I trapped them in with additional walls \evil grin**
-
-🎄- 2022 Day 23 Solutions -🎄-
Python [762/731]
-
-🎄- 2022 Day 22 Solutions -🎄-
Python+Paper [1740/765]
-
-🎄- 2022 Day 21 Solutions -🎄-
Python+sympy [204/1353]
-
-🎄- 2022 Day 20 Solutions -🎄-
Python [213/499]
-
-🎄- 2022 Day 18 Solutions -🎄-
Version at time of posting: 492376c (since I've committed since then)
What are some alternatives?
advent-of-code - my attempt at advent of code
advent-of-code-2022 - My solutions to the 2022 Advent of Code as shiny Jupyter notebooks. You can run and interact with the code and the solutions directly from your browser via Binder.
aocd - Python solution for Advent of Code 2022
aoc
adventofcode - My solutions for https://adventofcode.com/ programming mini puzzles - written mostly as sjasmplus script (to exercise the tool and collect ideas for future development of the script language, not because it's a best choice for the task, quite opposite)
aoc2021 - Advent of Code 2021 - 2023
advent-of-code - Polyglot Advent of Code solution collection
advent-of-code-2022
aoc - Advent of Code Solutions - https://adventofcode.com/
advent_of_code_2022
advent-of-code-2022-rust
AoC2022 - My solutions to Advent of Code 2022 https://adventofcode.com/2022