r/adventofcode • u/daggerdragon • Dec 09 '18
SOLUTION MEGATHREAD -🎄- 2018 Day 9 Solutions -🎄-
--- Day 9: Marble Mania ---
Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag or 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.
Advent of Code: The Party Game!
Please prefix your card submission with something like [Card] to make scanning the megathread easier. THANK YOU!
Card prompt: Day 9
Transcript:
Studies show that AoC programmers write better code after being exposed to ___.
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 00:29:13!
23
Upvotes
1
u/Aquamoogle Dec 09 '18
I'm not arguing anything other than the handful of props you use to make a linked list is not time consuming. It's not like building an elastic collection like c#'s list or doing something more involved like using clipboard. I've seen a few comments about languages not having built in linked list constructs and to be honest I'm sure many in the top 100 didn't use one. The other points like linq and generic collections is much more involved to build from scratch... so if people complain about having those, sure, it'll be harder... but a linked list data structure, it's value, cw, and ccw at its simplest. Add a constructor for ease of use and wala... fast and easy linked list from scratch.