AoC 2021 Day 7 using Ivy [Crab submarines]
Russ Cox · 3:52
The video solves Advent of Code 2021 Day 7 in Ivy, an APL-style array language. It uses an outer-product subtraction to build a matrix of distances from every candidate position to every crab, then takes the minimum t...