2021.12.03 leetcode daily question - maximized array sum after K negations
catalogue
Maximized array sum after K negations
describe
Example 1
Example 2
Example 3
Tips
Method 1: violence ranking
Method 2: modify negative numbers
Method 3: sorting improvement
Maximized array sum after K negations
describe
Give you an integer array nums and an integer k. modify the array as follows:
Select a subscript I & ...
Added by Uranium-235 on Fri, 03 Dec 2021 08:11:51 +0200