We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2024 Day 3 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team

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

78 REPLIES 78
matthewblandford
8 - Asteroid

Spent way longer than I care to admit stuck on some greedy quantifiers...

Carolyn
12 - Quasar
12 - Quasar

Solved! I did some Golfing - 6 total tools, 3 for each part. I enjoyed doing the RegEx parsing and math in the Formula/Multi-Formula Tools

 

I could use @NicoleJohnson's as an example for how to get the entire workflow down to 4 tools. I might do that later. 

 

Spoiler
2024-12-03_09-09-28.png
ReasonRMG
5 - Atom

Solution:

Spoiler
AoC Day 3.png

 

JHendu
Alteryx
Alteryx

Day 3 in the bag! Worth mentioning that I upgraded to 24.2 in the middle of Part 2, just so I could use the new expression editor with the multi-row formula tool! It was SO much better...

 

Spoiler
Screenshot 2024-12-03 115440.png
aiahwieder
9 - Comet

Okay, I have a bone to pick with this one . . . I knew my method was solid and couldn't figure out why it wasn't working until I noticed . . .

 

Spoiler
. . . the first mul() commands are NOT preceded by a do()!!!!!!!

I think this is cheap and incorrect. Fight me.

Shelbey
Alteryx
Alteryx

RegEx for the win 😎

 

Spoiler
Screenshot 2024-12-03 120756.png
Medha31
8 - Asteroid

My Solution Below:

 

Spoiler
Screenshot 2024-12-03 202701.png
Ccraig6
6 - Meteoroid

Day 3 in the books!

Spoiler
Day 3.jpg
Carlithian
11 - Bolide
11 - Bolide

Brain didnt want to regex today, so while there is a lil bit here mainly just workarounds

 

Spoiler
AOC_2024_DayThree_Izee.jpg


Happy Alteryxing
ARussell34
8 - Asteroid

The dos and don'ts were a tad tricky.

Spoiler
Day 3 workflow.png
Labels
Top Solution Authors