In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2024 Day 7 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team

Discussion thread for day 7 of the Advent of Code - https://adventofcode.com/2024/day/7

25 REPLIES 25
Spainey
9 - Comet

At first I didn't fully understand the question and was stopping once the target was reached even if there were numbers remaining. Led to a long time spent debugging. 

 

Spoiler
AoC 2024 Day 7.png

 

Goddenra
8 - Asteroid

Went down a Mod rabbit hole (mainly because that's how I'd do it in VBA) before deciding the iterative approach would be easier. One of my neater ones, which is nice!

estherb47
15 - Aurora
15 - Aurora

Dare I say I enjoyed this one?

 

Took tips from @gawa and went the binary route for Part 1.

 

And thank you Andrew Merrill for helping me understand how Part 2 could work. Solving was then easy once I figured out a way to create ternary numbers (sans macro!)

 

Spoiler
image.png
JeffF
Alteryx
Alteryx
Spoiler
This turned out to be easier than I originally thought. My part 1 macro required very little modification for part 2. Total runtime is under 10 seconds.

Day07_JeffF.png

Part 2 macro

Day07_Part2_Macro_JeffF.png
lwolfie
11 - Bolide

I went down a couple different paths before landing on this one.

Pilsner
13 - Pulsar

My solution:

Spoiler
7.png

Labels
Top Solution Authors