Can anybody please help me converting this recursion equation into T matrix and F vector.(equivalent to matrix exponentiation solution) F(n) = a*G(F(n)) + b
Problem Link
Please help
Can anybody please help me converting this recursion equation into T matrix and F vector.(equivalent to matrix exponentiation solution) F(n) = a*G(F(n)) + b
Problem Link
Please help
Hi all,
1 <= N <= 100000 1 <= A[i] <= 10^9
Please help me in this problem. Thanks in advance.