Day 10/25: Cathode-Ray Tube | Advent of Code 2022 Explanations

preview_player
Показать описание

Private leaderboard: 905674-cb4dca25

00:00 Intro
00:19 Timelapse
03:01 Part 1 problem statement
04:39 Part 1 solution
06:03 Part 2 problem statement
08:18 Part 2 solution
13:59 Outtro
Рекомендации по теме
Комментарии
Автор

Interesting to see how different people are perceiving these puzzles. For me Day 9 was absolut hell and in comparison today was very relaxed.

But then again I did a very noob-friendly solution where I was just looping through the cycles, keeping track of different counters and variables and how the change based on each other. Probably very inefficient but got the job done. 😅

ChaosRulesLP
Автор

Even after reading the subreddit and watching two videos I still don't understand how the CPU draws the sprite... frustrating.

DavidPlass
Автор

The explanation of the second part was harder to read than writing the solution was.
Why do you use a multiplication in the second part to get the counter? You can just initialize it to zero outside the loops and increment it in every iteration. You're doing rows x cols unnecessarily multiplications now

eavdmeer
Автор

Hi. Are there different solutions to the puzzles? Just realized that I got another combination of letters. Or do you manipulate them for keeping the videos spoiler-free?

ueberseer