Free Trial

General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2020 - BaseA Style (Day 6)

Jean-Balteryx
16 - Nebula
16 - Nebula

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

25 REPLIES 25
Steph_Maddrell
8 - Asteroid

Oh so many summarise tools!

 

Spoiler
I took a slightly different route to others as I didn't think to use the regex tool to parse to rows 🤔
stephM_0-1607247142647.png
jdunkerley79
ACE Emeritus
ACE Emeritus

Pretty Much Identical To @NicoleJohnson solution...

 

Spoiler
jdunkerley79_0-1607249521120.png

 

OllieClarke
15 - Aurora
15 - Aurora

Here's my day 6 solution. I had fun learning some new RegEx to get my group tokenising to work 🙂

Spoiler
Day 6.PNGDay 6.PNG
Jean-Balteryx
16 - Nebula
16 - Nebula

Similar to some solutions !

 

Spoiler
Capture d’écran 2020-12-06 à 11.36.02.png
SteveA
Alteryx
Alteryx

So many summarize, so little time.  See how much accidental complexity I have means it's time to refactor...

 

 

Spoiler
Capture.PNG

 

 

danilang
19 - Altair
19 - Altair

So well suited to Alteryx.

 

It's almost like the AoC puzzle elves heard us griping last year.  Or maybe one of our AoC++ friends slipped a little rum into the puzzle elves' eggnog.

 

Spoiler
w.png

 Dan

patrick_digan
17 - Castor
17 - Castor

I solved it using BaseA (not as efficiently as others), and then got part2 down to 3 tools NON BaseA using @jdunkerley79 's alteryx abbacus (plus the varnnumadd function which I don't think I've pushed to his repo yet). My 1 formula tool is a little verbose, but the variable functions are pretty powerful. It's not fully dynamic in that I had to hardcode my last line (otherwise I would have to add another tool). I'm basically just using a flag for each letter and turning it off each time somebody in the group doesn't have that letter.

patrick_digan_1-1607260235817.png

 

patrick_digan_2-1607260270779.png

 

cgoodman3
14 - Magnetar
14 - Magnetar

@Steph_Maddrell here is a trick for generating the letters a - z without needing the write them out (and risk a mistype).

cgoodman3_0-1607264450242.png

 

#HappyFestiveSolving

 

Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com
NedHarding
7 - Meteor

Again - probably better suited to Alteryx than a "normal" programming language.  Wondering how long that will last?

 

Spoiler
NedHarding_0-1607265569944.png

 

jdunkerley79
ACE Emeritus
ACE Emeritus

@cgoodman3 : why not just go for the generate rows:

 

jdunkerley79_0-1607266314500.png

 

 

Labels
Top Solution Authors