Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2022 Day 23 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team
Discussion thread for day 23 of the Advent of Code - https://adventofcode.com/2022/day/23
6 REPLIES 6
clmc9601
13 - Pulsar
13 - Pulsar

Classic AoC-style challenge

 

Spoiler
The only change for part 2 was the stopping criteria for the iterative macro.
workflowworkflowiterative macroiterative macro

mmontgomery
10 - Fireball

Lots of time on P1 setting up the problem but no bugs. P2 worked with slight modification to macro

 

Spoiler
P1: Map out direction instructions via generate rows and hard-coded text inputs; Also use generate rows to create a grid around the key points for infinite spaces. I macro had rules on directions to go vs stay

P2: Just expand directions and crank up iteration number to end when values in vs out match

mmontgomery_0-1671812103748.pngmmontgomery_1-1671812158546.png

 

 


 

 

 

AkimasaKajitani
17 - Castor
17 - Castor

My solution.

 

I finished this challenge almost straightforward.

 

Spoiler
AkimasaKajitani_0-1671850008886.png

Macro for Part 1 & 2

AkimasaKajitani_1-1671850311795.png

 

patrick_digan
17 - Castor
17 - Castor
Spoiler
patrick_digan_0-1672837758298.png


patrick_digan_1-1672837791396.png

 

 

Pang_Hee_Choy
12 - Quasar

easy compared to last few puzzles.

Spoiler

part 1: just need to care whether all rules are covered.

part 2: add count on bees which move this round. and stop when the count = 0

 

SeanAdams
17 - Castor
17 - Castor

What a joy after the angst and soul searching of day 22.

 

Spoiler
So - this was a classic AOC challenge - an iterative macro which steps through the process move by move.    Rather than checking for moves in each direction - did this as a join and summarize

SeanAdams_0-1684369537441.png

 

SeanAdams_1-1684369602647.png

 

Labels