void recursiveFun4(int n, int m, int o) { if (n <= 1) { printf("%d, %d\n",m, o); } else { recursiveFun4(n/8, recursiveFun4(n/8, } m+1, o); m, o+1);

icon
Related questions
Question

Use Master Therom to determine the complexity of the following:

9. void recursiveFun4(int n, int m, int o)
{
}
if (n <= 1)
{
printf("%d, %d\n",m, o);
}
else
{
recursiveFun4(n/8,
recursiveFun4(n/8,
}
m+1, o);
m, o+1);
Transcribed Image Text:9. void recursiveFun4(int n, int m, int o) { } if (n <= 1) { printf("%d, %d\n",m, o); } else { recursiveFun4(n/8, recursiveFun4(n/8, } m+1, o); m, o+1);
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer