← All problemsSign in

3264. Final Array State After K Multiplication Operations I

LeetCodeArrayMathHeap (Priority Queue)SimulationOpen on judge ↗

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 perform

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start