Final Array State After K Multiplication Operations I - Leetcode 3264 - Java

Описание к видео Final Array State After K Multiplication Operations I - Leetcode 3264 - Java

Problem Description
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.

Problem: https://leetcode.com/problems/final-a...
Code link: https://k5kc.com/cs/problems/final-ar...

Комментарии

Информация по комментариям в разработке