mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2026-02-02 18:39:09 +08:00
更新力扣链接
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
# 1005.K次取反后最大化的数组和
|
||||
|
||||
[力扣题目链接](https://leetcode-cn.com/problems/maximize-sum-of-array-after-k-negations/)
|
||||
[力扣题目链接](https://leetcode.cn/problems/maximize-sum-of-array-after-k-negations/)
|
||||
|
||||
给定一个整数数组 A,我们只能用以下方法修改该数组:我们选择某个索引 i 并将 A[i] 替换为 -A[i],然后总共重复这个过程 K 次。(我们可以多次选择同一个索引 i。)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user