In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2025 Day 3 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team

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

36 REPLIES 36
kelsey_kincaid
12 - Quasar
12 - Quasar

 

Spoiler
The logic was relatively straightforward - the key was making sure to only sample the largest digit available while leaving enough digits intact. Sample tool for the win on this one! I could tweak my macro to help it solve for both parts, but that's a future task :) 
Day3_Workflow.pngDay3_Macro.png
iracine
7 - Meteor

Was able to solve part 1 and I could swear my part two works... but it doesn't yet...

 

Spoiler
Capture d’écran 2025-12-04 à 8.13.04 PM.png

 

aiahwieder
9 - Comet

Real Job got in the way a bit but I came back for Part 2 -- here's my solution!

EKasminsky
9 - Comet

Your answer helped me a ton, @Qiu. Still trying to process part 2 but man I've learned a whole lot. Tile seems like such a helpful tool!

Desmond
9 - Comet

Finally done with day 3

kelly_gilbert
13 - Pulsar

I was totally surprised at how easily I remembered how to build an iterative macro, now that I don't use Alteryx as much in my day-to-day!

Spoiler
Outer workflow:

outer workflowouter workflow




Iterative macro:
Iterates once for each battery to turn on (e.g. 12 times), finds the available subset of digits, finds the max of those digits, then resets the position of the last used digit.

macromacro

 

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

My solution.

Spoiler
Workflow
AoC_2025_Day3_workflow.png
Labels
Top Solution Authors