Advent of Code 2022: Day 2 + improved solution #TypeScript

preview_player
Показать описание
Follow me on some fun #typescript puzzles in this years Advent of Code.

Day 2 was a bit trickier, but not too bad. I went down a poor path with the switch statements and updated my solution afterwards, off stream. Will keep this in mind for the upcoming puzzles.

0:00 - Improved solution teaser
0:23 - Part 1: Reading the challenge
6:05 - Part 1: Solution
15:48 - Part 2: Reading the challenge
18:44 - Part 2: Solution
24:13 - Part 2: IMPROVED solution

Рекомендации по теме