【多选题】已知一个数组 a 的长度为 n ,求问下面这段代码的时间复杂度 : An array of a, its length is known as n. Please answer the time complexity of the following code. ( There are more than one answers. ) for (i=0,length=1;i
【简答题】已知一个数组a的长度为n,求问下面这段代码的时间复杂度:An array of a, its length is known as n. Please answer the time complexity of the following code.(There are more than one answers.)for (i=0,length=1;i