单选题

设输入字符串长度为 n,encode 函数的时间复杂度为( )。

A

Θ,√n

B

Θ(n)

C

Θ(n log n)

D

Θ(n^2 )

赣ICP备20007335号-2