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 2022 Day 6 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team

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

51 RÉPONSES 51
grossal
15 - Aurora
15 - Aurora

Forgot to post mine for yesterday, but here we go! No Tool Golf today. 

 

Révélation
grossal_0-1670415959916.png

 


 Macro: 

grossal_1-1670415971678.png

 

 

 

 

estherb47
15 - Aurora
15 - Aurora

@AkimasaKajitani , have to admit that I googled that one to get it correct. Knew it was possible, just didn't know how to write the statement

balders-ie
Météore

Ugly long formula created in notepad++ for part 2 

 

Révélation
Screenshot 2022-12-07 230124.png

balders-ie
Météore

@DavidP nice use of the regex lookahead there. I had to put it into regexr to work out what it was doing. 

Kenda
16 - Nebula
16 - Nebula
Révélation
Kenda_0-1670464793228.png

 

clmc9601
13 - Pulsar
13 - Pulsar

My python solution is much cleaner than my Alteryx solution 😂 #SnakingMyWayThroughChallenges

 

Révélation
AoC Python Day 6.png

starkey
Météore

@atcodedog05 brilliant solution! I would never have thought to build out a regex expression that way to identify duplicates.

DaisukeTsuchiya
14 - Magnetar
14 - Magnetar
Révélation
DaisukeTsuchiya_0-1670723078346.png

 

Shelbey
Alteryx
Alteryx

I've officially made it farther in the challenge than I ever have in the last few years I've been attempting this 😁

 

Solution:

Révélation
Shelbey_0-1671551171379.png

 

Macro:

Révélation
Shelbey_1-1671551201196.png

 

Luckily I made the macro easy to scale :) the only difference between Part 1 and Part 2 was the number of records I was choosing with my Select Records tool and the filter requirements.

Watermark
12 - Quasar
12 - Quasar
Révélation
AOC Day 6 MT.jpg

Think my second answer is actually simpler than the first, but wasn't going to bother to rewrite the first one. 

Étiquettes
Auteurs des meilleures solutions