Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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.

pilsworth-bulien-com
13 - Pulsar

My solution:

Spoiler
7.png

Labels
Top Solution Authors