void func1(int n, int m) { for (int i = 1; i 0) { m = m - 1; } } The Big-O complexity of the abo
Posted: Mon Jun 06, 2022 2:19 pm
void func1(int n, int m) { for (int i = 1; i<n; i =i*2) { while (m > 0) { m = m - 1; } } The Big-O complexity of the above function is type your answer...