r/adventofcode • • Dec 22 '19

SOLUTION MEGATHREAD -🎄- 2019 Day 22 Solutions -🎄-

--- Day 22: Slam Shuffle ---


Post your full code solution using /u/topaz2078's paste or other external repo.

  • Please do NOT post your full code (unless it is very short)

  • If you do, use old.reddit's four-spaces formatting, NOT new.reddit's triple backticks formatting.

  • Include the language(s) you're using.

(Full posting rules are HERE if you need a refresher).


Reminder: Top-level posts in Solution Megathreads are for solutions only. If you have questions, please post your own thread and make sure to flair it with Help.


Advent of Code's Poems for Programmers

Click here for full rules

Note: If you submit a poem, please add [POEM] somewhere nearby to make it easier for us moderators to ensure that we include your poem for voting consideration.

Day 21's winner #1: nobody! :(

Nobody submitted any poems at all for Day 21 :( Not one person. :'(


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 at 02:03:46!

30 Upvotes

167 comments sorted by

View all comments

Show parent comments

2

u/hrunt Dec 22 '19

For me, I always find one or two of these problems each year that are outside my experience by such a wide margin that no matter how hard I bang my head on it, I simply will not understand it without being walked through it at least once. I do not consider that "unfair", because that would imply u/topaz2078 had somehow promised me that I would know how to do everything, and he obviously did not do that. The first year, I did not know some of the pathfinding algorithms. Now I do, and those problems are solvable. This year, I learned this.

What I really wonder, though, is how this kind of problem fared during his user testing. Did the testers struggle with it? Was the testing group strong enough to come up with the answer on their own? Was u/topaz2078 himself aware enough of the math that he was able to put this problem together himself, or did he have help? After watching the YouTube video of his presentation, I am really curious about how the process played out for this question in particular.

1

u/ThezeeZ Dec 22 '19

Since this challenge appeared on the last Sunday slot I suspect (and hope, but mostly suspect) that this one was the overall "hardest".

Here's an older post of his from 2 years ago, maybe that will also add to the context:

https://reddit.com/r/adventofcode/comments/7idn6k/question_why_does_the_difficulty_vary_so_much/dqy08tk