To print fibonacci pattern

can someone just explain the logic of this question,… i mean i know we have to print the fibonacci but what is the logic behind this input 1 and 0

hey @akshat42bajpai they have just provided information in the question in case someone don’t know what to the base case to solve the question

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.

so it means i have to print fibonacci only but nothing else in the logic

yes just the nth number of the series

This question is all about how you will solve if the value of n is too large and rest the logic is same

https://ide.codingblocks.com/s/620084 this is my code can you please tell me what i am doing wrong here

is any TA availaible out there who can help me out here

anyone who can help me with the code here