advent-of-code
advent-of-code
advent-of-code | advent-of-code | |
---|---|---|
19 | 34 | |
19 | 29 | |
- | - | |
9.2 | 5.6 | |
4 months ago | 4 months ago | |
Go | 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.
advent-of-code
- -❄️- 2023 Day 10 Solutions -❄️-
- -❄️- 2023 Day 9 Solutions -❄️-
- -❄️- 2023 Day 7 Solutions -❄️-
-
-❄️- 2023 Day 4 Solutions -❄️-
[LANGUAGE: Golang] https://github.com/pemoreau/advent-of-code/blob/main/go/2023/04/day04.go
-
Code review welcome
I have written this code but I have the feeling that it could be improved to become more idomatic, in particular I have the feeling I do use enough the notion of reference such that there are too many clones and dereferencing.
- [2022 Day 1 -17] [Go] Runtime so far for day 1-17 is .5 seconds. How does this compare?
- -🎄- 2022 Day 11 Solutions -🎄-
-
-🎄- 2022 Day 9 Solutions -🎄-
Solution in go: day09.go
-
-🎄- 2022 Day 3 Solutions -🎄-
day03.go
-
Any tips for writing performant Rust during AoC?
Thanks. Yes all my code is available here: https://github.com/pemoreau/advent-of-code
advent-of-code
-
-❄️- 2023 Day 11 Solutions -❄️-
[LANGUAGE: Python 3] 153/75 Raw solution
-
-❄️- 2023 Day 10 Solutions -❄️-
One could instead count |F7 (that's what I do in my refactored solution), but counting all the bends would miscount the vertical segments (FJ would end up canceling itself out).
-
-❄️- 2023 Day 8 Solutions -❄️-
That sounds like what I suggested here, actually. I don't have anything in my library with quite the right API yet, but I already have most of what you describe coded out. (It looks like I whipped it up for 2017 Day 13.)
-
-❄️- 2023 Day 7 Solutions -❄️-
[LANGUAGE: Python 3] Embarrassing/Embarrassing Ugly raw solution code
-
-❄️- 2023 Day 6 Solutions -❄️-
[LANGUAGE: Python 3] 66/101 Raw solution code
-
-🎄- 2022 Day 22 Solutions -🎄-
Python 3 21/12
-
-🎄- 2022 Day 20 Solutions -🎄-
It doesn't, but you can use a separate list, wrapper classes, and deque.index to find where the values live. I may be biased but I think that my solution (ultimately using deque) isn't as complex as a custom linked list.
-
-🎄- 2022 Day 19 Solutions -🎄-
Part 2 assumes you did part 1 properly. I did not! I'm pretty sure that the intended solution is to do a sort of reverse search (have a target number of geodes and work backwards to see if that's possible to achieve) but I was just not having success coming up with a way to do that. It's probably going to be blindingly obvious once I figure it out, but that might be an exercise for tomorrow.
-
-🎄- 2022 Day 15 Solutions -🎄-
Python 3 9/15!!!
-
-🎄- 2022 Day 14 Solutions -🎄-
Python 3 44/45
What are some alternatives?
adventOfCode2023 - Advent of Code 2023 Solutions in Golang
AdventOfCode.Template - Advent of Code C# (.NET 8) template. Based on AoCHelper (https://github.com/eduherminio/AoCHelper)
advent - Learning Go with Adventofcode
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI
adventofcode - My solutions for Advent of Code AoC 2015 2016 2017 2018 2019 2020 2021 2022 2023
advent-of-code-2022 - advent of code 2022
AdventOfCode
advent_of_code
advent-of-code - :santa: :christmas_tree: :snowman: http://adventofcode.com/ solutions
slushy - Advent of Code 2022 in Rust
Advent_of_Code_2023
LEARN__Coding-Practices-and-Datastructures - Daily Coding Practices, Data structures, otherwise testing and some stuff. (Some garbage/some stuff)