AoC 2021 Day 18 using Sed [Binary tree math]

Russ Cox · 29:00

The video solves Advent of Code 2021 Day 18 ("Snailfish") in sed, using only regex rewrites, conditional branches and the single hold-space register. Sed has no trees or arithmetic, so the binary-tree problem becomes...

Read the full summary on tuber

Redirecting...