General Discussions

Discuss a wide range of topics! Questions about the Alteryx Platform should be directed to the appropriate Product discussion forum.

Advent of Code 2020 - BaseA Style (Day 21)

Alteryx Certified Partner

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

16 - Nebula
16 - Nebula

Probably should have used an interative macro for part 2 but went for copy and past instead...

Spoiler
jdunkerley79_0-1608535420351.png

 

Now back to fix the 20th Pt 2 ...

Alteryx Partner

So many foods to avoid. I found this one a notch easier than yesterday's puzzle...

Spoiler
Alteryx_Day_21.png
17 - Castor
17 - Castor

Unlike previous days, where the difficult part has been implementing the algorithm in Alteryx, today the brain hamsters were running at light speed just trying to figure out the algorithm.  I'm still not sure if the algorithm is completely generic or I was lucky and it matched the sample and input🤕

 

Spoiler
MacroMacroMainMain

Dan

Alteryx Certified Partner

Not the hardest but got me time to figure out part 1 logic. Part 2 was more straightforward.

 

Spoiler
Capture d’écran 2020-12-21 à 22.01.20.pngCapture d’écran 2020-12-21 à 22.01.49.png
Alteryx Certified Partner

Day 21!

 

This is the result of getting lost.

Spoiler
AkimasaKajitani_0-1608819897207.png


Part1 Macro

AkimasaKajitani_1-1608819924372.png

Part2 Macro - Minimize possible pattern

AkimasaKajitani_2-1608819964090.png

Part2 Macro 2 calculate result

AkimasaKajitani_3-1608819981999.png

 

 https://github.com/AkimasaKajitani/AdventOfCode