We have extended our Early Bird Tickets for Inspire 2023! Discounted pricing goes until February 24th. Save your spot!

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
4 REPLIES 4
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
16 - Nebula
16 - Nebula

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
10 - Fireball

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.)

 

 

Labels