Discussion thread for day 9 of the Advent of Code - https://adventofcode.com/2024/day/9
Possibly my favourite ever runtime and now favourite number I've generated in Alteryx.
Felt good to solve that one, I knew my logic was accurate yet inefficient so just hoped for the best and let it do its thing.
Keen to look at all these magical <1hr solutions!
Six trillion two hundred thirty-seven billion seventy-five million forty-one thousand four hundred eighty-nine
6,237,075,041,489: what a number!
Part 1 macro
Part 2 macro
Done.
Finally getting around to posting this one. Not too bad once you can decipher what is being asked. I definitely went down quite the long rabbit hole on part 2 before rereading the question and realizing the ask was actually a bit simpler than what I was initially attempting to do.
My solution.
Part 2 the shift position of 2 caught me out a bit, took a while to handle the updated space.
@mmontgomery That's quite a list of tools 😁
Trying to get back in the game! Also upgraded to 24.2, welcome Dark Mode 😁
Solved! I really enjoyed this one. My Part 2 initially ran in 7:20 and then I spent an hour messing around with it and got it to run in 7:10! 😂
Part 1
Part 2 v1
Part 2 v2