+ 1

Recursive question

What does the following code means I cannot see any pattern
 int function name(int a[ ], int b) { if (b == 1) return a[0]; else return a[b-1]* functionname(a, b/2); }

12th Jan 2022, 3:58 AM
Luyan0422
3 Answers
+ 1
Miss it, thanks!!
12th Jan 2022, 5:57 AM
Luyan0422