Recr_12 Identify the recurrence relation for the  function shown below. 单项选择题

A

T ( n ) = { Θ ( 1 ) if  n < 2 3 T ( n 4 ) + Θ ( l o g n ) otherwise {"version":"1.1","math":"T(n) = \begin{cases} \Theta(1) & \text{if } n < 2 \\ 3T\left(\frac{n}{4}\right) + \Theta(logn) & \text{otherwise} \end{cases} "}

B

T ( n ) = { Θ ( 1 ) if  n < 2 3 T ( n 4 ) + Θ ( n 2 l o g n ) otherwise {"version":"1.1","math":"T(n) = \begin{cases} \Theta(1) & \text{if } n < 2 \\ 3T\left(\frac{n}{4}\right) + \Theta(n^2logn) & \text{otherwise} \end{cases} "}

C

T ( n ) = { Θ ( 1 ) if  n < 2 3 T ( n 4 ) + Θ ( n 2 ) otherwise {"version":"1.1","math":"T(n) = \begin{cases} \Theta(1) & \text{if } n < 2 \\ 3T\left(\frac{n}{4}\right) + \Theta(n^2) & \text{otherwise} \end{cases} "}

D

T ( n ) = { Θ ( 1 ) if  n < 2 3 T ( n 4 ) + Θ ( n ) otherwise {"version":"1.1","math":"T(n) = \begin{cases} \Theta(1) & \text{if } n < 2 \\ 3T\left(\frac{n}{4}\right) + \Theta(n) & \text{otherwise} \end{cases} "}

E

T ( n ) = { Θ ( 1 ) if  n < 2 3 T ( n 4 ) + Θ ( n l o g n ) otherwise {"version":"1.1","math":"T(n) = \begin{cases} \Theta(1) & \text{if } n < 2 \\ 3T\left(\frac{n}{4}\right) + \Theta(nlogn) & \text{otherwise} \end{cases} "}

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!