Recursive question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
1 Answer
+ 1
Miss it, thanks!!
12th Jan 2022, 5:57 AM
Luyan0422