advent-of-code-smalltalk
Advent of Code solutions using Pharo Smalltalk (by jvdsandt)
advent_of_code
My Advent of Code solutions in Python 3 (by thomasjevskij)
advent-of-code-smalltalk | advent_of_code | |
---|---|---|
1 | 8 | |
0 | 0 | |
- | - | |
7.1 | 8.4 | |
5 months ago | 5 months ago | |
Smalltalk | Python | |
- | - |
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-smalltalk
Posts with mentions or reviews of advent-of-code-smalltalk.
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 -❄️-
advent-of-code-smalltalk/src/AdventOfCode2023/Day11.class.st at main · jvdsandt/advent-of-code-smalltalk (github.com)
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.
What are some alternatives?
When comparing advent-of-code-smalltalk and advent_of_code you can also consider the following projects:
advent-of-code - Puzzle solutions for advent of code 2022 and 2023
aoc-public - My public stuff for advent-of-code
advent-of-code - Advent of Code
adventofcode - My solutions to Advent of Code.
AdventOfCodeCSharp - My AoC Solutions
AOC_2023
AoC - Advents of Code in NASM x86_64 assembly
AoC_23 - Had to create a new one ...
advent_of_code
AdventOfCode2023
Advent-of-Code - AoC2022
aoc2023-rs - Advent Of Code 2023 solutions in rust
advent-of-code-smalltalk vs advent-of-code
advent_of_code vs aoc-public
advent-of-code-smalltalk vs advent-of-code
advent_of_code vs adventofcode
advent-of-code-smalltalk vs AdventOfCodeCSharp
advent_of_code vs AOC_2023
advent-of-code-smalltalk vs AoC
advent_of_code vs AoC_23
advent-of-code-smalltalk vs advent_of_code
advent_of_code vs AdventOfCode2023
advent-of-code-smalltalk vs Advent-of-Code
advent_of_code vs aoc2023-rs