Didn’t know any other method to solve. if u have any it will be gr8 help. in my ans there is problem in spaces acc to sample output .
Fibonacci Pattern Ans not matching
@mangla.chirag
Your spacing seems fine.
Problem seems to be with the trivial testcases.
Input :
1
Expected Output :
0
Your Output :
0
1 1