Appearance
下列程序段的时间复杂度是( )。
int sum = 0; for (int i = 1; i < n; i *= 2) for (int j = 0; j < i; j++) sum++;
提示:可在可视化区直接操作播放、步进、修改参数