Maximize the sum of arr[i]*i

1 min read

https://practice.geeksforgeeks.org/problems/maximize-arrii-of-an-array/0

Maximize array sum after K negations
Maximum sum of absolute difference of an array