Fancy Mouse
- -|||
摘要: Exercises 5.2-4 Given a permutation A, What is the expected number of indices i such that A[i] = i? The answer is amazingly a constant, 1. Lemma 5.1 The probablity of the permutation that no number is... 阅读全文
posted @ 2008-01-10 20:54 Fancy Mouse 阅读(474) 评论(0) 推荐(0)
摘要: FAQ about the Master theorem Q1: Why in case 1, f(n) must be polynomially smaller than n^log(b,a)? Recall the lemma proved in the proof of the master theorem i.e. for T(n) = a*T(n/b) + f(n) T(n) = Θ(n... 阅读全文
posted @ 2008-01-10 16:24 Fancy Mouse 阅读(3825) 评论(11) 推荐(0)