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
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;
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;