shlogg · Early preview
Md Ariful Haque @mah-shamim

Final Array State After K Multiplication Operations I

Find min value in array, multiply by multiplier, repeat k times for final state.

3264. Final Array State After K Multiplication Operations I
Difficulty: Easy
Topics: Array, Math, Heap (Priority Queue), Simulation
You are given an integer array nums, an integer k, and an integer multiplier.
You need to perform k operations on nums. In each operation:

Find the minimum value x in nums. If there are multiple occurrences of the minimum value, select the one that appears first.
Replace the selected minimum value x with x * multiplier.

Return an integer array denoting the final state of nums after performing all k operations.
Example 1:

Input: nums = [2,1,3,5,6], k = 5, multip...