Page 1 of 1

No code - Determine the complexity and the number of times the multiplication process has been done for the following -

Posted: Thu May 05, 2022 1:20 pm
by answerhappygod
No code - Determine the complexity and the number of times the
multiplication process has been done for the following -
for (int i = 1; i < n; i = i ++)
for( int q = n; q > 1;
q = q / 2 )
int d = d * 2;