Search⌘ K
AI Features

Maximum Product After K Increments

Maximum Product After K Increments lets you increase elements of a non-negative integer array at most k times to maximize its product, returning the result modulo a large prime.

Statement

You are given an array, nums, consisting of non-negative integers, and an integer k ...