TLE in last test case of CHEF AND FIBONACCI ARRAY (CHEFFA)

cheffa
dpraveen
dynamic-programming
tle

#1

Can someone have a look at my code and tell why it is giving tle in last test case.

Question is :Chef And Fibonacci Array

Solution

Thanks in advance!