Problem 3468 · Medium

Find the Number of Copy Arrays

A copy keeps the original differences, so every position is the first value plus a fixed shift, and the bounds narrow the first value to an interval.

Open the interactive visualisation