Data structure performance Array vs. Hash - Advent of Code - Day 6 with Ruby

Data structure performance Array vs. Hash - Advent of Code - Day 6 with Ruby

In this episode, we'll look at a slow but easy to reason about solution to Day 6, then increase performance by switching to a different data structure -- Hash.