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.
Multiply the smallest number k times; once the values sit in one window, the rest is a round-robin in sorted order.