def func(n): count = 0 i = 1 while i <= n: j = 1 while j <= n: count += 1 j += 1 i *= 2
O(n)
O(nlogn)
O(n²)
O(logn)