作者afe812 (薛丁格的猫)
看板Prob_Solve
标题[问题] 一题资料结构,关於时间复杂度
时间Fri Mar 4 00:35:52 2016
※ [本文转录自 ask 看板 #1Ms2_IHl ]
作者: afe812 (薛丁格的猫) 看板: ask
标题: [请问] 一题资料结构,关於时间复杂度
时间: Thu Mar 3 20:36:30 2016
在写升学考试的考古题,卡关了
不知道发这里问可不可以,不行或者有更好的地方也可以跟我说> <
http://tinyurl.com/hrron9e
What is the time complexity of T(n) defined below?
If n=2 then T(n)=1 else
If n>2 then T(n)=T(n/2)+logn
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.121.208.62
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/ask/M.1457008594.A.46F.html
※ 编辑: afe812 (140.121.208.62), 03/03/2016 20:38:24
1F:推 hvariables: Prob_Solve板 03/03 23:38
※ 发信站: 批踢踢实业坊(ptt.cc)
※ 转录者: afe812 (140.121.208.62), 03/04/2016 00:35:52
2F:推 LPH66: 大师定理: a = 1, b = 2, log_b a = 0, 合 case 2 03/04 01:14
3F:→ LPH66: 其解为 T(n) = O(log^2 n) 03/04 01:14