General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2022 Day 3 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team

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

43 REPLIES 43
grossal
15 - Aurora
15 - Aurora

I tried to avoid Join-Tools as a little extra challenge for Tool Golf.

 

Spoiler
grossal_0-1670065959202.png

 

 

 

For the normal one ... let's not talk about what I was doing after 3h of sleep. It's a mess, but here it is.

Spoiler
grossal_1-1670066373937.png

 

 

After @patrick_digan  showed his three-tool approach for 1 ... I had to redo mine just for the fun and brought it down to two tools. All the credit goes to Digan. I won't post the secret, as this honor should belong to him.

 

 

Spoiler
grossal_2-1670067532769.png

 

DavidP
17 - Castor
17 - Castor

Got to use my favourite tool - Tile!!! Optimizing for tool golf will have to wait until this evening.

 

Spoiler
DavidP_0-1670066024835.png

 

patrick_digan
17 - Castor
17 - Castor

I had fun with this one

Spoiler
I went for some creative formula work with the ReplaceChar function
patrick_digan_0-1670066244928.png
patrick_digan_1-1670066304909.png

 

 

trung2403
8 - Asteroid

A bit challenging today!

 

trung2403_0-1670073297322.png

 

DataNath
17 - Castor

Day 3 complete! Crazy to see some of the low tool solutions here but happy to get this done whilst nursing a hangover!

 

Spoiler
DataNath_0-1670076888943.png
atcodedog05
22 - Nova
22 - Nova

My take on this

 

Spoiler
atcodedog05_0-1670078494306.png

 

Happy Analyzing :)

Cheers and have a nice day!

Kenda
16 - Nebula
16 - Nebula
Spoiler
Hot tip - The elves appreciate when you build your AoC workflows vertically

Kenda_0-1670079815884.png

 

LiuZhang
9 - Comet
Spoiler
Day 3 - Macro.pngDay 3.png

@NicoleJ multi-join is a good call, forgot about it. I think Make Columns tools will come in handy for the challenges now 👍 Though Tile is still my go to.

 

EDIT: ok, @patrick_digan 's ReplaceChar is more impressive, I am going to use that as string search now 👏

kelsey_kincaid
12 - Quasar

Should have been smarter about my a-z A-Z generation. There's little I love more than tokenizing to rows to set up some joins, though. Fun one today!

Spoiler
kelsey_kincaid_0-1670083148220.png

 

 

SeanAdams
17 - Castor
17 - Castor

Starting to feel a little like AOC is warming up!

 

Here's the first pass - the dirty solution before refactor.

 

Spoiler
SeanAdams_0-1670085474129.png



and the detailed view:

SeanAdams_1-1670085624896.png

 

Labels