each_cons, find_index - Advent of Code 2022 - Day 6 with Ruby
each_cons, find_index - Advent of Code 2022 - Day 6 with Ruby
Challenge: https://adventofcode.com/2022/day/6
Solution: https://gist.github.com/cjavdev/98c558e5423f3bba42f15cedcefcd08e
#ruby #adventofcode