Recurrence Relation T(n)=2 T(n-1)+1 | Decreasing function

 Example Video





T(n) = 2T(n − 1) + 1 
= 2 (2T(n − 2) + 1) + 1 
= 4T(n − 2) + 3 
= 4 (2T(n − 3) + 1) + 3 
= 8T(n − 2) + 7

Comments

Popular posts from this blog

gsutil Vs Storage Transfer Service Vs Transfer Appliance

SQL basic interview question