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 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

45 REPLIES 45
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
8 - Asteroid

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
16 - Nebula
16 - Nebula

My solution.

Spoiler
Workflow
AoC_2025_Day3_workflow.png
Carolyn
12 - Quasar
12 - Quasar

Solved!

 

I tried to put what I built in part 1 into the macro and ended up with a huge mess. When I finally started over with a new macro, it was actually way more simpler than I was making it out to be (and I could have done part 1 way simpler than I did)

 

Happy that I eventually got the answer, though a little irritated it took me so long to get there

 

Spoiler
2025-12-06 17_34_37-Alteryx Designer x64 - 2025 03 AoC Carolyn.yxmd.png

 

Macro.png
Qiu
21 - Polaris
21 - Polaris

@EKasminsky 
Thats very good to know. Thank you😁

JoshuaB
Alteryx
Alteryx

Not going for pretty here....

 

Spoiler
JoshuaB_0-1765137674271.png

 

Joshua Burkhow | Chief Evangelist @ Alteryx | Follow me on LinkedIn and Twitter
Labels