Rumah > Soal Jawab > teks badan
求解T(n)<T(7n/10)+kn+b的时间复杂度,k>0.这题答案是O(n),但是我求不出来。
ringa_lee2017-04-17 15:22:19
a = 1, b = 10/7, logba = 0f(n) = n1 where 1 > logba = 0
7n/10 <= kn, k = 7/10所以用master theorem case 3,T(n) = Θ(n)
Rumah
Kursus
Soal Jawab
saya