单选题

假设输入参数 m 和 n 满足m≤n,则下面程序的最差情况的时间复杂度为(   )。

A

O(log(n))

B

O(n)

C

O(n×m)

D

O(m×log(n))

赣ICP备20007335号-2