General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2023 Day 3 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team

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

53 RÉPONSES 53
IraWatt
17 - Castor
17 - Castor

This one was interesting. I found it more challenging then day 1 or 2. Great to see all the approaches here, of the half dozen ways I tried I never even considered generate rows!!

Révélation
Part 1Day 3 Part 1.PNG


Part 2Day 3 Part 2.PNG

 

My solution.

Révélation

 

AoC03_WF1.pngAoC03_WF2.png

caltang
17 - Castor
17 - Castor

Hard coded some stuff but it works I guess! Forgot that REGEX_CountMatches exists when I started… 

 

Also, special credit to @clmc9601 ! Her guide and previous AOC entry really helped me conceptualise this better. I added a comment to visualise the “surrounding” values of the special characters! Thanks Claire!!!!

 

Révélation
image.pngimage.png

 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
suwenchuan
Météore

Day 3 down! Off to learning from others' solution 🚀

Révélation

 

Révélation
AlteryxGui_AOCDay3.png

 

FrederikE
Pulsar

It took me 30 min of troubleshooting to figure out my workflow was fine, but I had to turn AMP engine off.

 

Révélation
Screenshot 2023-12-03 113349.png
patrick_digan
17 - Castor
17 - Castor
Révélation
image.png
Qiu
21 - Polaris
21 - Polaris

Not so pretty flow but get the number correctly. 😁

AoC2023-Day3.png

 

CoG
Pulsar

These workflows are more work and less flow. This was tough to think through, and made tougher by random inconveniences like me forgetting to check my data types.

starkey
Météore
Révélation
2023-12-03_09-46-09.png

I definitely had a flashback to previous years of AOC when reading the prompt for this one! Keeping the data long and thin and making use of IDs was the key to helping me wrap my head around how to solve this one without over complicating it.

afv2688
16 - Nebula
16 - Nebula

For sure can be optimized but don't want to spend more time here XD

 

Révélation
Went with mathematical aproach and looked for vector distance between special characters and numbers
Sin título.png
Étiquettes