title: Maximum summation of i*A[i] in an array
body: <p>Given an array, you can only ROTATE the array as many times you want. Return the maximum of summation of (i*A[i]). Can anyone tell me the approach to solve this question ?</p>