Problem 3266 · Hard

Final Array State After K Multiplication Operations II

Multiply the smallest number k times; once the values sit in one window, the rest is a round-robin in sorted order.

Open the interactive visualisation