Suppose you have an array of number denoted by num[ ].

b) Suppose you have an array of number denoted by num[ ]. Write the iterative and recursive
procedure to find the sum of 1000 elements. What is the space requirement in both the
cases?


Leave a Reply