T(r) = Summation r(n-r). What will the time complexity of above equation where r is going from 0 to n?
Trying to solve "find a given sum" challenge using two lo