advent_of_code
My Advent of Code solutions in Python 3 (by thomasjevskij)
aoc2023
My solutions for Advent of Code 2023 (by Queueue0)
advent_of_code | aoc2023 | |
---|---|---|
8 | 5 | |
0 | 1 | |
- | - | |
8.4 | 8.0 | |
5 months ago | 6 months ago | |
Python | Go | |
- | - |
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.
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-10.
-
-❄️- 2023 Day 11 Solutions -❄️-
Luckily my part 1 solution was similar enough that I didn't need to change a lot to generalize it for part 2. Of course, I did start off by actually adding rows and columns to the image, so that approach had to change. But the way I counted galaxies was the same, so it was a pretty easy thing to amend.
-
-❄️- 2023 Day 10 Solutions -❄️-
Whew, this one was for sure the trickiest so far. Couldn't quite figure out what to google to find the right mathy stuff, so in the end I went with a hackier solution. It's for sure not pretty and a lot of copied code between the parts, but it works. Essentially I replace all non-loop tiles with a ., then I walk through the loop again always looking to the left and to the right. One of those will be inside, one will be outside. I figure out which is which, then I do a flood fill (bfs) on all the inside nodes to find everything.
-
-❄️- 2023 Day 9 Solutions -❄️-
I resisted the urge to do this in some clever numpy way. But this really felt like a problem meant for vectorized diff functions. Or for some neat recursive solution. I just went for something pretty straightforward and part 2 was not so nasty today :)
-
-❄️- 2023 Day 8 Solutions -❄️-
Started off by just trying brute force for part 2. But I figured it would not go so well, given the emphasis on "significantly more steps". So I went back and verified, and all of the paths are actually cycles :)
-
-❄️- 2023 Day 7 Solutions -❄️-
Solution here. I really wanted to make a common score function for part 1 and part 2, but in the end decided it's not worth the extra energy to figure it out in a clean way so I did it because my brain couldn't shut up about it. I still like my approach, where I just generate a score string for each hand, and then sort the input list with it.
-
-❄️- 2023 Day 6 Solutions -❄️-
Very fun day. Right now just iterating over speeds (but prettily, with one-liner list comprehension stuff). Thinking about the math, this sounds like solving two quadratic equations. Which I might try later :)
-
[2023 Day 5 (Part 2)] What was you approach, and how long did it take? (spoilers)
I don't merge ranges, but mapping a range takes roughly the same time for me as mapping a number. I just check if the input range is completely inside, otherwise i split it. So it's in the same order of magnitude as problem 1. Check out my solution, I feel I'm not explaining it well. Code is ugly but maybe clear enough.
-
-❄️- 2023 Day 1 Solutions -❄️-
I was quite surprised to see so many struggling with this. But I think that's because I didn't run in to problems with the tricky edge cases with my solution, so I never thought of them.
aoc2023
Posts with mentions or reviews of aoc2023.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-10.
- -❄️- 2023 Day 11 Solutions -❄️-
- -❄️- 2023 Day 9 Solutions -❄️-
- -❄️- 2023 Day 8 Solutions -❄️-
-
-❄️- 2023 Day 7 Solutions -❄️-
Part 1: https://github.com/Queueue0/aoc2023/blob/main/day7/part1.go
- -❄️- 2023 Day 6 Solutions -❄️-
What are some alternatives?
When comparing advent_of_code and aoc2023 you can also consider the following projects:
aoc-public - My public stuff for advent-of-code
adventofcode - My solutions to Advent of Code.
AOC_2023
AoC_23 - Had to create a new one ...
AdventOfCode2023
aoc2023-rs - Advent Of Code 2023 solutions in rust
advent-of-code-23 - Helping the elves in winter, one language at a time.
coding-challenges
AdventOfCode_Main
AdventOfCode2023 - Advent Of Code 2023 solutions in go
advent-of-code-2023
advent_of_code vs aoc-public
advent_of_code vs adventofcode
advent_of_code vs AOC_2023
advent_of_code vs AoC_23
advent_of_code vs AdventOfCode2023
advent_of_code vs aoc2023-rs
advent_of_code vs advent-of-code-23
advent_of_code vs coding-challenges
advent_of_code vs AdventOfCode_Main
advent_of_code vs AdventOfCode2023
advent_of_code vs advent-of-code-2023