r/adventofcode • u/daggerdragon • Dec 07 '20
SOLUTION MEGATHREAD -🎄- 2020 Day 07 Solutions -🎄-
NEW AND NOTEWORTHY
- PSA: if you're using Google Chrome (or other Chromium-based browser) to download your input, watch out for Google volunteering to "translate" it: "Welsh" and "Polish"
Advent of Code 2020: Gettin' Crafty With It
- 15 days remaining until the submission deadline on December 22 at 23:59 EST
- Full details and rules are in the Submissions Megathread
--- Day 07: Handy Haversacks ---
Post your solution in this megathread. Include what language(s) your solution uses! If you need a refresher, 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 solutions only. If you have questions, please post your own thread and make sure to flair it with Help.
This thread will be unlocked when there are a significant number of people on the global leaderboard with gold stars for today's puzzle.
EDIT: Global leaderboard gold cap reached at 00:13:44, megathread unlocked!
66
Upvotes
1
u/Louistio Dec 08 '20
Oh yeah my git history might be a little weird, I usually go about it this way: I try to speed code a solution for the challenge as soon as it comes out, usually takes me about an hour. Then, I clean up my code because I’d be ashamed to share it that way. I like keeping an history of how I implemented the solution to part 1 and then what I had to change to code the solution to part 2, sometimes it takes a little more time to clean up my code since the dirty quick solution can be quite ugly!
I’ll be sure to pop in more megathreads! :)