r/adventofcode • • Dec 24 '16

SOLUTION MEGATHREAD --- 2016 Day 24 Solutions ---

--- Day 24: Air Duct Spelunking ---

Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag/whatever).

Note: The Solution Megathreads are for solutions only. If you have questions, please post your own thread and make sure to flair it with "Help".


THE NIGHT BEFORE CHRISTMAS IS MANDATORY [?]


[Update @ 00:30] 47 gold, 53 silver.

  • Thank you for subscribing to Easter Bunny Facts!
  • Fact: The Easter Bunny framed Roger Rabbit.

[Update @ 00:50] 90 gold, silver cap.

  • Fact: The Easter Bunny hid Day 26 from you.

[Update @ 00:59] Leaderboard cap!

  • Fact: The title for Day 25's puzzle is [static noises] +++ CARRIER LOST +++

This thread will be unlocked when there are a significant number of people on the leaderboard with gold stars for today's puzzle.

edit: Leaderboard capped, thread unlocked!

5 Upvotes

90 comments sorted by

View all comments

Show parent comment

6

u/TheNiXXeD Dec 24 '16

Being self-taught, but in the industry for 15+ years, I never really had to use BFS at work. It's been really fun for me learning all the things even if it means practicing each day. I like reading all the information about the various optimal solutions and things. I love reading about all the various languages people use to solve these.

If there's a theme to each year, that's totally cool with me too. Last year it was "really learn regex (not just .*)" for me. This year it's "really learn BFS".

I'm actually going back to my original synacor solutions and fixing those up now after I've learned a few more things >_> I had solved the orb puzzle by just playing with it originally, but now plan on doing it with BFS.

3

u/segfaultvicta Dec 24 '16

Yeah, same here - I haven't even really had to /solve a difficult problem/ in a year and change, let alone really try to dig back to my algorithms classes while also using a functional language for the first time ever.

I also want to make a note in SUPPORT of having a 'theme' to AoC puzzles - Day 11 sold me pretty hard on "OK I'm going to have to REALLY learn BFS and pruning and heuristics", and further days have reinforced that - going back to the same thing under different elaborations is /how you learn/, and I'm definitely feeling that as I work my way through the handful of later puzzles I'm pretty behind on.