How recurrence is taking 2^N time… at (22:29)
and pls ek baar tell how ki exponentiation me k^3LOGN me LOGN kyo aa raha he…
The jumping problem
there is a method of exponentiation which works in LOGN.
thats why it is logn
and k^3 for matrix multiplication
And can you give the explaination of 2^N reccurence time at 22:29 in the video
see, let there be n steps that a person can jump.
so now the person has two choices that the person jumps at that step or doesnt jump at that step.
therefore for all n choices 2^N ka recurrence .
1 Like