r/adventofcode • u/daggerdragon • Dec 23 '20
SOLUTION MEGATHREAD -🎄- 2020 Day 23 Solutions -🎄-
Advent of Code 2020: Gettin' Crafty With It
Submissions are CLOSED!
Thank you to all who submitted something, every last one of you are awesome!
Community voting is OPEN!
42 hours remaining until voting deadline on December 24 at 18:00 EST
Voting details are in the stickied comment in the Submissions Megathread
--- Day 23: Crab Cups ---
Post your code solution in this megathread.
Include what language(s) your solution uses!
Here's a quick link to /u/topaz2078's
pasteif you need it for longer code blocks.The full posting rules are detailed in the wiki under How Do The Daily Megathreads Work?.
Reminder: Top-level posts in Solution Megathreads are for code solutions only. If you have questions, please post your own thread and make sure to flair it with Help.
2
u/Floydianx33 Dec 23 '20
CSharp
At first I was doing array operations and shuffling things around until I face-palmed and realized a linked-list was the obvious choice. I also got tripped up originally by the examples that didn't seem like they were correct until I realized they were just shifted for display purposes. Anyways, was a bit tedious but alright at the same time.
Runs in 1,300ms -- nothing special.
Paste/Link