TLE FAST FIBONACCI

Hey @mohitmahi123
Welcome to the Coding Blocks family
While your code logic everything is perfect
The time limit on the test cases it too strict to pass with matrix exponentiation
There is another logn solution for fibonaccis
You can see that solution here https://ide.codingblocks.com/s/226739?_ga=2.176187168.420478942.1588487411-890245095.1579188087

Hey @mohitmahi123
It turns out there was some issue with the test cases
You can submit your approach now to get correct response from system

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.

1 Like

Why isnt any code opening in Coding blocks IDE