# Log complexity

 1 2 3  for (i=1; i<=n; i++) for (j=1; j<=log(i); j++) //O(1) statements 

What is the time complexity of the above code snippet?

×