結果 : time complexity of sum of array elements using recursion