Problem 2447 · Medium
Count subarrays whose greatest common divisor is exactly k.
Open the interactive visualisation