dimanche 30 novembre 2014

Solving the recurrence T(n) = T(n-1) + T(n-2) + 1


Vote count:

0




How will we solve this to the exact answer?


T(n) = T(n-1) + T(n-2) + 1


I know the answer is approx 2^(n/2) but how to get it exactly.



asked 1 min ago







Solving the recurrence T(n) = T(n-1) + T(n-2) + 1

Aucun commentaire:

Enregistrer un commentaire