Advent of Code 2021 (Golang) - Day 5

Опубликовано: 05 Апрель 2026
на канале: Jonathan Chow
206
7

Watch me try this year's Advent of Code challenges in Go! Try them yourself here: https://adventofcode.com/

#adventofcode #golang #go

0:00 Intro
0:58 Part 1
13:38 Part 2
20:42 Musings
Memory footprint of using a 1000x1000 grid
Using != as a loop condition when the sign of the step is unknown
Assuming input is given as stated in the problem (instead of error checking)
Using sscanf to parse input
When to filter for horizontal/vertical lines