Stepping Through Iterative Fibonacci Function

  Рет қаралды 40,852

Khan Academy

Khan Academy

13 жыл бұрын

Understanding how the iterative fibonacci function works for a particular example

Пікірлер: 6
@SidSiddiqi
@SidSiddiqi 7 жыл бұрын
Thanks you for the great explanation, Sal! I was initially confusing the 'i' with the value of the term, but 'i' is simply referring to which term we are currently on, thus, the next term MUST be the sum of values of (i-1)th+(i-2)th terms! You are making a difference in people's lives. Keep up the GREAT work!
@parimala5252
@parimala5252 4 жыл бұрын
This is the clear explanation video i have seen...Thank u so much sir.....
@umbrainvicta4666
@umbrainvicta4666 10 жыл бұрын
I did it in python 3 and it worked. Nice video Sal!
@coldsummersky69
@coldsummersky69 8 жыл бұрын
you are the best
@MrFreeGman
@MrFreeGman 12 жыл бұрын
@4ts9j01 Watch his earlier videos, he explains that v3 is not backwards compatible with v2
@and1fer
@and1fer 10 жыл бұрын
why didn't you just write terms[-1] + terms[-2], what is "i" about?
Recursive Fibonacci Example
7:37
Khan Academy
Рет қаралды 136 М.
Fun with Strings
13:58
Khan Academy
Рет қаралды 202 М.
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,5 МЛН
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 9 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 7 МЛН
Stepping Through Insertion Sort Function
11:55
Khan Academy
Рет қаралды 38 М.
Stepping Through Recursive Fibonacci Function
8:04
Khan Academy
Рет қаралды 200 М.
Comparing Iterative and Recursive Factorial Functions
7:48
Khan Academy
Рет қаралды 158 М.
Iterative Fibonacci Function Example
6:33
Khan Academy
Рет қаралды 102 М.
Stepping Through the Factorial Program
9:24
Khan Academy
Рет қаралды 75 М.
Python Lists
11:41
Khan Academy
Рет қаралды 416 М.
The magic of Fibonacci numbers | Arthur Benjamin | TED
6:25