Jane Street Interview Question

Length of string in shirt