General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2022 Day 24 (BaseA Style)

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

I can tell my speed and comfort with pathfinding workflows are improving! My first <=1 hr total solve time in several weeks

 

Spoiler
I reused the same macro three times to accomplish part two. Just had to adjust so it outputs the current blizzard positions as well as the current explorer position.
I should put this coordinate container into a macro given the many times I've used the same setup this AoC...

workflowworkflowiterative macroiterative macro

 

AkimasaKajitani
17 - Castor
17 - Castor

I think that the expedition should not return to pick up the snacks🤣

And also I solvd this challenge almost straightforward. But I didn't solve it in as short a time as @clmc9601 did. It's too fast!!

 

Spoiler
I used the same macro three times changing input data. I dedicated the simulating the blizzards.
AkimasaKajitani_0-1671895209387.png

AkimasaKajitani_1-1671895400340.png

However I got the more stars than last year!

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


patrick_digan_1-1672837946907.png

 


 

Pang_Hee_Choy
12 - Quasar

Yups, well train these years.

Spoiler
old theory, put here for others.

key is to find ways limit the guess:
1. unique by current location. as do not care how it reach to same place, just need one of it for proceed.
2. calculate distance to goal, then sort it and limit to first 15,000 paths. (Add more if can't get the answer.)

 

 

SeanAdams
17 - Castor
17 - Castor

 This one was a fun way to round out the series.

 

Spoiler
SeanAdams_0-1684632380236.png



And here's the solving piece:

SeanAdams_1-1684632438501.png



Labels