Can anyone please explain where did I do wrong? I have used bitmasking and (n+2)th fibonacci number for the solution.
No1 will debug your code bro.
Since the contest is over by now, you can see other people’s solution, generate test cases and see on what test case your solution is going wrong.
Any results answer coming from google? Should try asking Mr Google