https://ide.geeksforgeeks.org/lSPDwfyuoU
this is my solution it got accepted for all test cases but when i saw the editorial i found the question has a pattern of fibonnaci numbers.I am not able to understand the pattern and how fibonnaci series is linked with the problem.Please Explain.