00:01
So, we will get here the algorithm is factorial n.
00:05
If n is equal to 0, it return to 1.
00:10
We need to return 1.
00:11
Else, if n is not equal to 0, return n is multiply with n -1 factorial.
00:23
Now according to the algorithm, we have calculate like factorial 5 which is 10 we call here.
00:31
We call factorial 4.
00:36
So on, it becomes so on this process and at the last it become factorial 1 and which is return to 1.
00:47
So we can be understood this process by given table.
00:52
So let's say this is 5 factorial.
00:56
So 5 factorial is equal to 5 into 4 into 3 into 2 into 1.
01:06
We know that...