The following code has O(logn) time complexity: i = 1; while…

Questions

The fоllоwing cоde hаs O(logn) time complexity: i = 1; while (i