Advent of … — Day 2

Right on time. Sadly, this post is on the next day, but I've completed both challenges before midnight. :D

Code 2024

https://toot.cafe/@danbruegge/113585692081934453

Part 2 gave me a real struggle. I just got it by luck and think that my original solution is still right, provided all the information there was on the page. Out of desperation, I have thrown my solution for Part 2 overboard and decided to try a different approach. It makes sense. But if you compare it with the information on that page, it makes less to no sense. Until this point, I've had a lot of fun and hopefully the challenge tomorrow is not easier, but the information on the page tells everything you need to know.

Typescript 2024

https://toot.cafe/@danbruegge/113585716545107593

Like Day 1, this one a no-brainer. But I remember from last year, it gets more difficult by each day.

Conclusion

For AoC Day 2, Part 2, I took too much time into the solution. Because it was not obvious. But...mimimi. :D


46 of #100DaysToOffload

#log #adventOfCode #adventOfTypescript

Thoughts? Discuss...