Problem 1852 · Medium
Count distinct values in each fixed-length subarray.
Open the interactive visualisation