Complexity of the recursion: T(n) = T(n-1) + T(n-2) + C

前端 未结 5 1535
北恋
北恋 2021-01-12 11:12

I want to understand how to arrive at the complexity of the below recurrence relation.

T(n) = T(n-1) + T(n-2) + C Given T(1) = C and

5条回答
提交回复
热议问题