.. (לתיקייה המכילה) | ||
What should I do if I got erroneous input or memory allocation failed? | |
You can safely assume those scenarios will not happen. |
What do you mean by recursive? | |
After you have read the input call for recursive function to evaluate the required? |
Are the array and its length the only allowed parameters I can pass to my recursive function? | |
No. The array and its length are the only input you get from the "user". You can call your recursive function(s) with whatever parameters you find are necessary. |
Are there any constraints on array elements in Questions 1, 3 ? | |
No In particular, zeros and negative numbers are possible |