Analysis of Typical Loops
for( int j = 1; j < n; j++ )
  for( int k = j; k > 0; k = k/2 )
    {
     O(1)
    }