You are given two integer arrays, nums and multipliers, of lengths n and m respectively, with elements indexed starting at
You start with an initial score of
Pick one integer nums.
Add x * multipliers[i] to your total score.
Remove nums.
Return the maximum total score achievable after completing all
Constraints:
n == nums.length
m == multipliers.length
m
m n
nums[i], multipliers[i]
You are given two integer arrays, nums and multipliers, of lengths n and m respectively, with elements indexed starting at
You start with an initial score of
Pick one integer nums.
Add x * multipliers[i] to your total score.
Remove nums.
Return the maximum total score achievable after completing all
Constraints:
n == nums.length
m == multipliers.length
m
m n
nums[i], multipliers[i]