Can someone please help me with this ?
Use iteration method to solve it. T(n) = T(n-1) +n
Explanation of steps
In pseudo code using iteration:
function T(n) { int result = 0; for (i in 1 ... n) { result = result + i; } return result; }