Find maximum value of Sum( i*arr[i]) with only rotations on given array allowed

2 years ago
Anonymous $_PGtSJbg8h