52
SOLUTION MEGATHREAD-🎄- 2019 Day 3 Solutions -🎄-(self.adventofcode)
submitted 6 years, 1 month ago* (edited 14 minutes after) by daggerdragon to /r/adventofcode (134.8k)
since 6 years, 1 month ago
1 of 1
Tip Reveddit Real-Time can notify you when your content is removed.
your account history
Tip Check if your account has any removed comments.
view my removed comments you are viewing a single comment's thread.
view all comments


Python
(with lots of classes...)
https://github.com/aldraco/adventofcode/blob/master/nineteen/python/advent3.py
Waaaay more typing than I anticipated, but was easier to reason about as I went.
On reflection, some of the ordering wasn't strictly necessary (sorting by X, for example), since the more important part of a Span is which point starts it.
I'm seeing much more efficient solutions posted, and very excited to learn from them -- also curious what the non-brute force version is.