tle error?
Fibonacci meets gcd prob of hackorblocks data structure module
This is a hard problem. To solve this you need to have an understanding of Segment Trees, Matrix Exponentiation and some other maths properties relating to GCD and Fibonacci series. It cannot be solved with such a simple method. These topics are covered in Competitive Programming course as they are advanced topics.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.