ONLY 1 TEST CASE IS NOT PASSING
Fibonacci pattern
Hi Varun Kumar,
Your code is correct . But as you see that constraints go till 99 therefore first of all add long long int and moreover your code might be failing for edge cases like n=1 or n=2 because you are just printing the first two rows . PLease rectify that with help of if statements where you may separatly handle the cases for n=1 or n=2.
Thank You
okk i got it … thanks