NK ladder problem using matrix Exponentiation

in this video solution is not being clear.so please make another video on this topic with the code

3 Likes

Same with me. Actually we have to find first k terms to from our initial vector after that I can use matrix exponentiation but for calculating first k terms it would require exponential time.
Please help us.

what is the problem statement …
can you share??

This is the code as well as problem description