rusty-aoc
adventofcode
rusty-aoc | adventofcode | |
---|---|---|
7 | 59 | |
5 | 6 | |
- | - | |
8.8 | 8.5 | |
10 days ago | 5 months ago | |
Rust | Julia | |
- | 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.
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 on GitHub is currently a mess.
-
[2023 Day 5] Exlplanation Like I'm 5
In the spirit of the Day 5 ALLEZ CUISINE! challenge to ELI5 (Explain Like I'm Five), here's a tasty explanation of how my algorithm works using only a large bucket of Red Vines and a knife. It says to use lined paper, but if you try this at home consider aligning things on a cutting board.
-
-❄️- 2023 Day 4 Solutions -❄️-
[Language: Jsonnet] (on GitHub)
- -🎄- 2022 Day 25 Solutions -🎄-
-
-🎄- 2022 Day 24 Solutions -🎄-
Elixir code, thoughts
-
-🎄- 2022 Day 23 Solutions -🎄-
Elixir 1554/1502 code, reflections
-
-🎄- 2022 Day 21 Solutions -🎄-
Elixir 2506/3402 (24 minutes, 2 hours), code, thoughts
-
-🎄- 2022 Day 20 Solutions -🎄-
Bonus solution in Go (golang) because I was confused about why my Elixir solution didn't work and decided to implement from scratch in case I'd done something dumb. The Go one also got the wrong answer, but took less than 100ms instead of a minute, so I could try out lots of tweaks that didn't change the answer.
-
-🎄- 2022 Day 19 Solutions -🎄-
Elixir 2031/2641 after 3.25/6.5 hours! Code on GitHub
-
-🎄- 2022 Day 18 Solutions -🎄-
I spent time this afternoon sprucing up my helpers for the iex REPL. I spent a bunch of time poking at things in IEx the last couple days and wanted to make sure I would minimize keystrokes if I needed to debug things on my phone while drunk. Turns out Thursday night > Friday night > Saturday night in terms of difficulty, so all those macros have so far saved me zero seconds :-)
What are some alternatives?
advent-of-code - my attempt at advent of code
adventofcode - Solutions for problems from AdventOfCode.com
aocd - Python solution for Advent of Code 2022
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
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 - my answers
AdventOfCode2021.jl - Advent of Code 2021 in Julia
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
rockstar - The Rockstar programming language specification
Advent-of-Code - Advent of Code
adventofcode - Advent of code solutions
AdventOfCode2021 - Advent of code 2021