下面程序段的时间复杂度为()。i=1;while(i<=n)i=i*3;

A . O(n) B . O(3n) C . O(log3n) D . O(n3)

时间:2022-09-10 15:16:16 所属题库:数据结构题库

相似题目