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 * 2)
for( int k = 1; k < n; k = k*2)
int m = m *
2;