Franco Calvo
francocalvo.bsky.social
Franco Calvo
@francocalvo.bsky.social
Data Engineer @ Draftea
Sadly, too easy as I read in reddit 'Cramer' and the solution was set. I don't know why my first though was 'Ajá, Dijkstra!' Lucky I didn't do it lol

AoC 2024 - Day 10
Part 1 time: 10µs
Part 2 time: 13µs

I just completed "Claw Contraption" - Day 13 - Advent of Code 2024 #AdventOfCode
Day 13 - Advent of Code 2024
adventofcode.com
December 13, 2024 at 10:21 PM
Hated this with a passion...
It was _hard_, but so error prone with all the ifs that it took hours...

AoC 2024 - Day 11
Load time: 664µs
Part 1 time: 8ms
Part 2 time: 14ms
Total time: 23ms

I just completed "Garden Groups" - Day 12 - Advent of Code 2024 #AdventOfCode
Day 12 - Advent of Code 2024
adventofcode.com
December 12, 2024 at 10:52 PM
Brute force first, add memoization later. Works like a charm!

AoC 2024 - Day 10
Load time: 121.041µs
Part 1: 209412
Part 1 time: 1.052292ms
Part 2: 248967696711068
Part 2 time: 24.946542ms

I just completed "Plutonian Pebbles" - Day 11 - Advent of Code 2024 #AdventOfCode
Day 11 - Advent of Code 2024
adventofcode.com
December 11, 2024 at 5:26 PM
Easy peasy!

I solved the second part by error while doing the first! So it was faster than I thought. Now I'm caught up!

Load time: 5ms
Number of paths: 760
Part 1: 177µs
Number of ratings: 1764
Part 2: 129µs

I just completed "Hoof It" - Day 10 - Advent of Code 2024 #AdventOfCode
Day 10 - Advent of Code 2024
adventofcode.com
December 11, 2024 at 3:19 AM
This took me a while, as I first understood that I had to optimize more.

AoC 2024 - Day 9
Load time: 1.6ms
Sum: 2867277363955
Part 1 time: 543µs
Sum2: 6381624803796
Part 2 time: 98ms
Total time: 100ms

I just completed "Disk Fragmenter" - Day 9 - Advent of Code 2024 #AdventOfCode
Day 9 - Advent of Code 2024
adventofcode.com
December 11, 2024 at 2:22 AM
Not hard but the description was a bit convulted.

AoC 2024 - Day 7
Load time: 295.834µs
Antinodes: 280
Part 1 time: 142.833µs
Antinodes: 958
Part 2 time: 222.084µs

I just completed "Resonant Collinearity" - Day 8 - Advent of Code 2024 #AdventOfCode
Day 8 - Advent of Code 2024
adventofcode.com
December 10, 2024 at 2:36 AM
Easy!

AoC 2024 - Day 7
Load time: 1.917291ms
Part 1 time: 1.412916ms
Calibration part 1: 7885693428401

Part 2 time: 33.884417ms
Calibration part 2: 348360680516005

I just completed "Bridge Repair" - Day 7 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/7
Day 7 - Advent of Code 2024
adventofcode.com
December 8, 2024 at 6:49 PM
I just caught up! Couldn't work on this yesterday :/

Was there a non brute force for the second part? I did this: for each visited place (first part) I added an obstacle and checked if it formed a loop

I just completed "Guard Gallivant" - Day 6 - Advent of Code 2024 #AdventOfCode
Day 6 - Advent of Code 2024
adventofcode.com
December 8, 2024 at 1:06 AM
Second part was a bit tricky. Solving both parts took 73ms to run on Go (I know, you can't compare, diff hw), but I'd love to know what an *efficient* solution would look like

I've completed "Print Queue" - Day 5 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/5
Day 5 - Advent of Code 2024
adventofcode.com
December 5, 2024 at 4:10 PM
I think this is pretty brute-forcey. If anyone has a good algo for this I'd be happy to read the code!

I just completed "Ceres Search" - Day 4 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/4
Day 4 - Advent of Code 2024
adventofcode.com
December 4, 2024 at 6:07 PM
This is getting a bit funnier! :)
I've completed Part One of "Mull It Over" - Day 3 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/3
Day 3 - Advent of Code 2024
adventofcode.com
December 3, 2024 at 10:17 PM
I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/1
December 1, 2024 at 11:26 PM