Problem 835 · Medium
Vote for the translation vector of every pair of 1s; the most popular vector is the best overlap.
Open the interactive visualisation