ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2025 Day 7 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team

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

22 REPLIES 22
Qiu
21 - Polaris
21 - Polaris

Thanks to advice from @DaisukeTsuchiya .

Spoiler
AoC 2025 Day 07.png
Erin
11 - Bolide

After careful dissection of @Hub119 's solution, I was finally able to figure out part 2. I just had to abandon all my preconceived notions I had after part 1 and go an entirely different direction - no big deal. 

 

Thanks Cory! 

OllieClarke
16 - Nebula
16 - Nebula

This one nearly broke me

Spoiler
My workflow at the point of completionMy workflow at the point of completion
I made probably 5 different iterative macros trying to work out part 2. And ultimately had the answer all along.
I was calculating each possible path, and then doing a count. This was a bad idea as it crashed Alteryx and would have run for a *very* long time.
It took me giving in and looking at @CoG's solution to see that all I needed was to do a count of paths per position within each iteration and there was my answer 
facepalm-really

Anyway here'e my final workflow, which I know can be optimised (probably with just the 1 macro), but I've been wrestling with this for 4 days, so I'm not going to do that

Day 7.pngDay 7 Macro1.pngDay 7 Macro2.png
Labels
Top Solution Authors