Advent of Code 2024 Day 3 Python

preview_player
Показать описание
Like, comment and subscribe for more!

Chapters
0:00 Intro
1:01 Part 1
9:46 Part 2
14:48 Outro

We solve the 2024 advent of code puzzle for day 3 using python. The puzzle itself isnt too complicated but the use of RegEx (Regular Expresion) can sometimes stump people. RegEx, in my opnion, is a tool to user rather than something to know every detail of, and with that in mind it can be a very useful tool! In this video we cover a simple use of RegEx, chaining several RegEx patterns with the pipe | operator and then using a flag to decide when to do an action.

My aim it to make a video for each days challenge, although those might not be on the day that the puzzle comes out! There will almost certainly be a few days missed and then a few videos pop up at once!

Im a profesional (Java) developer and so I try to use best practices where possible, but also remembering that these are fun puzzles and that we dont need to think about every single edge case. Id love to hear from you in the comments for suggestions of topics or something that you'd like me to talk about.

Set Up:
Currently I am using my 2024 macbook air and airpod microphone, so the audio isnt as great as I think it could be, but Im trying to find the right balance of getting something out there and making it as good as possible. If some of you like the content then i'll upgrade the audio quality as soon as I can!
Рекомендации по теме