Unable to load image

rDrama Advent of Code Day 17: It's the weekend, why are you here? Edition

Summary for those just joining us:

Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!

Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app

What did you think about today's problem?

https://adventofcode.com/2023

Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)

31
Jump in the discussion.

No email address required.

It was a nightmare for me, I stepped on every possible rake it seems. Somehow got it into an infinite loop by checking if current score is <= best score for a key. Missed the possibility of starting facing down for no cost. Missed the part where in the second half you need to check for minimal distance when stopping at the end. Ugh.

Also it takes 12 and 17 seconds for me for a dumb BFS that might need to revisit some nodes (which it certainly does a lot, I feel). Do I have to learn how to A* or what?

Jump in the discussion.

No email address required.

I kinda like the thing I ended with after all that, it's pretty straightforward if I say so myself.

https://i.rdrama.net/images/1702796059593613.webp

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.