Advent of Code 2022 solutions.
.gitignore | ||
d1.py | ||
d2.py | ||
d3.py | ||
d4.py | ||
d5.py | ||
d6.py | ||
d7.py | ||
d8.py | ||
d9.py | ||
d10.py | ||
d11.py | ||
d12.py | ||
d13.py | ||
d14.py | ||
d15.py | ||
d16.py | ||
d17.py | ||
d18.py | ||
d19.py | ||
d20.py | ||
d21.py | ||
d22.py | ||
d23.py | ||
d24.py | ||
d25.py | ||
dx.py | ||
get.py | ||
lib.py | ||
LICENSE | ||
monitor.py | ||
README.md |
Done with this. Overall everything is solvable. It's more about consistency and focus. Of course, learning more algorithms and techniques helps.
Possible to-dos:
- Optimize day 19 because it is terrible.
Times (and comments)
- Day 1: 7:52 ... so slow brah :/ top 100 required 2:05...
- Day 2: 22:30 ... I mistyped the first and second was just bad top 100 would have been 6:16 (doable?)
- Day 3: 13:08 actually decent but top 100 required 5:24
- Day 4: 7:08 but top 100 required 3:33 still okay
- Day 5: 11:56 but 7:58 for top 100... getting better?
- Day 6: 3:50 but 2:25 for leaderboard :D
- Day 7: 27:55 and 14:47 for leaderboard; okay, I would say
- Day 8: 61:00 and 10:00 for leaderboard; I need template code for searching coordinate systems
- Day 9: 58:00 and 7:32 for leaderboard; I need code for 2D stuff
- Day 10: 25:20 and 12:17 for leaderboard; okay, okay
- Day 11: 45:00 and 18:00 for leaderboard; arg, it was doable man
- Day 12: 39:45 and 9:46 for leaderboard; the people are ready for their searches :D
- Day 13: 44:00 and 12:56 for leaderboard; these people are just good, seriously
- Day 14: 35:00 and 14:54; I just have to get that much quicker... 2D code!
- Day 15: 150:00 and 27:00; I didn't use Manhattan dist initially, lot's of debugging
- Day 16: 52:00 and 64:00; ARE YOU SAYING I WOULD HAVE MADE THE LEADERBOARD?!?!?!?!?!?!?!
- Day 17: Second one was fun with having to detect the repetition.
- Day 18: 12:00 and 32:00; really straightforward and of course way too slow.
- Day 19: Slow.
- Day 20: Struggled way too much.
- Day 21: Straightforward and relatively fast.
- Day 22: Very hard and wasn't able to do hands free. Even the best guys took over an hour.
- Day 23: Super straightforward, but took me way longer than it should have because I loose focus and make silly errors. Like back in Middleschool.
- Day 24: Easy. Should have been faster, but no crazy mistakes. Still way too slow for something easy like this.
- Day 25: Quickly solved via constraint solver. Actual solution much simpler. Don't know if I would have been able to figure it out.