Time Complexity
T(n)=T(
)+T(
)+2
T(n)=2T(
)+c n
T(n)=T(n-1)+n-1