Solving Recursion: How to Find the Recurrence Relation from Recursive Code

preview_player
Показать описание
In this video, we'll be exploring how to find the recurrence relation from recursive code. Recursion can be an effective way to solve problems, but understanding the underlying math can be tricky. By breaking down the steps, we'll show you how to identify patterns and derive the relation - giving you a deeper understanding of how the code works. Follow along with the examples and see how easy it is to apply these techniques to any recursive problem.
Рекомендации по теме
Комментарии
Автор

Sir in recurrence relationship of the first code why you ignored n
Shouldn't it be n*f(n-1)+ c

samurai-emjc