r/adventofcode • • Dec 07 '20

Other Finished 2019!

This might seem like a non-brag in this forum, but I finally earned 50 stars for 2019!
(My first finish.)

2019 Finisher !!

It is a testament to AoC that I'm really proud of this accomplishment, even 1 year late.
Oh. To finish I had to give up on a problem (Day 22 Slam Shuffle) and port a solution I found here. Ashamed? No. Still proud. :)

97 Upvotes

16 comments sorted by

View all comments

Show parent comment

2

u/ywgdana Dec 07 '20

I just finished Day 18 part 1 yesterday! It completely broke me last year.

The BFS then Djikstra approach worked for me with some aggressive pruning of search paths.

3

u/TomPlum Dec 07 '20

That was my last implementation. Pre-computing all of the distances between all keys (including tracking other keys passed and doors). Then Dijkstra over said graph. Passes smaller example inputs but fails on the actual puzzle input due to the shear number of permutations. Have tried different caching/pruning implementations and none have been agressive enough.

Congrats though! Can't wait to finish it. Occupited with 2020 at the moment though!