137
SOLUTION MEGATHREAD-🎄- 2020 Day 1 Solutions -🎄-(self.adventofcode)
submitted 5 years, 1 month ago* (edited 3 hours, 3 minutes after) by daggerdragon to /r/adventofcode (134.8k)
It's been one heck of a crappy year, so let's make the holidays bright with Advent of Code 2020! If ...
since 5 years, 1 month ago
2 of 2
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
Part 1 O(n log(n))
Part 2 O(n^2)
Hello, elmusfire: code blocks using backticks (```) don't work on all versions of Reddit!
Some users see this / this instead.
To fix this, indent every line with 4 spaces instead. It's a bit annoying, but then your code blocks are properly formatted for everyone.
An easy way to do this is to use the code-block button in the editor. If it's not working, try switching to the fancy-pants editor and back again.
Comment with formatting fixed for old.reddit.com users
FAQ
You can opt out by replying with backtickopt6 to this comment.