Problem 1296 · Medium
Decide whether all values partition into groups of k consecutive numbers.
Open the interactive visualisation