#3264

Final Array State After K Multiplication Operations I

newbie · 105 · lc easy +12 · 86.9% accepted · 545 likes · top 98%

Description

You are given integer array nums, integer k, and integer multiplier. Perform k operations: each time find the earliest minimum value x and replace it with x * multiplier.

Return the final array.

Code

1
2
3