Hash[], minmax, polymer expansion - Advent of Code 2021 - Day 14 with Ruby

Another puzzle that requires some data structure changes to make it fast enough to get an answer.

00:20 Part 1
11:20 Hash[]
12:47 minmax
14:14 Part 2