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.
Aucun commentaire:
Enregistrer un commentaire