Trying something with @deno_land and #AdventOfCode
It's been extra long since I done anything in #typescript. So should be interesting.
Here's day 1 complete
https://git.sr.ht/~ab/advent-of-code-2024/tree/main/item/days/01
Day 2 done with some messing about for #AdventOfCode. I'm certainly relearning again #typescript.
This one took me much longer cause I didn't know how to handle mahjong slices of arrays in typescript.
https://git.sr.ht/~ab/advent-of-code-2024/tree/main/item/days/02/02.ts
I got day 3 of #AdventOfCode done. It took a while. Mostly due to time to do it. Let's see of tomorrow getting some quality coding time.
This year, I was able to get to Day 6 in #AdventOfCode with #deno... before I needed to sleep at night.
I forgot how much time this stuff takes. I'll finish all the rest throughout the upcoming year. SLOWLY this time.
I forgot how long part 2s can be. Parts 1 were like 30 minutes to an hour. But the part 2s were definitely the rest of the night.
@zeab In some cases, part 2 literally took seconds, depending on how lucky I was with my algorithm choice for part 1. Don’t underestimate yourself!
@teotwaki thank you! I haven't done these in a while, so I'm definitely lacking in these type of events. I used to do the #ProjectEuler problems daily for years... But that was years ago.
My bet however, this time was mostly time to do it. I had to squeeze between family and work. So like an hour to 2 hours a day at most. Else it was past midnight the next shot.