Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2022 Day 4 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team

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

44 REPLIES 44
estherb47
15 - Aurora
15 - Aurora

This may be my first tool golf success on first try! 2 tools each for parts 1 and 2. This is the way I thought of the problem.


 

Spoiler
estherb47_0-1670132423581.png

 

AkimasaKajitani
17 - Castor
17 - Castor

My solution.

 

Spoiler
I didn't use Join tool for Part 1, of course prep section need the join tool.

AkimasaKajitani_0-1670131980981.png

 

Jeff_Neklason
8 - Asteroid
8 - Asteroid

I need to do some tool golf on this one... 

Spoiler
Jeff_Neklason_0-1670134559310.png

 

KevinHarrison
8 - Asteroid
Spoiler
KevinHarrison_0-1670134677712.png

 

I felt like I do this kind of thing a lot with dates within a range so seem pretty straight forward this one. 

Jotigautam
10 - Fireball

Good Challenge! Did this one without generate rows 

Spoiler
Jotigautam_0-1670139028412.png

 

DataNath
17 - Castor
17 - Castor

Fun one today - string functions galore! Not been too fussed about tool golf so far but my mind just went to this method anyway for today's challenge:

 

Spoiler
DataNath_0-1670140357575.png
peter_gb
10 - Fireball

I'm a muppet, wasted 20 mins and 4 guesses using strings instead of ints so my logic was sound but the answer was wrong!

Always check your data types......! Anyway that was a fun one!

Spoiler
AoC_4.png

DawnDuong
13 - Pulsar
13 - Pulsar

Ah, embedding Regex within Formula tool is a cool idea, for Golf!

patrick_digan
17 - Castor
17 - Castor
Spoiler
Nothing new here.
patrick_digan_0-1670154933019.png

 

leozhang2work
10 - Fireball
Spoiler
Day 4.png

Spatial: didn't work, some checks needed 😅

Spoiler
Screenshot 2022-12-04 222831.png

 

Labels
Top Solution Authors