Source: Day 4: Perilous Pier
Full solution for today (spoilers!).
Part 1
Given a list of strings containing letters and wildcards (
?) determine the length of the shortest possible substring that, when repeated, matches the entire string. Sum these lengths.
