Problem: Tiling Problem 2

getting wrong answer in all test cases except test case 2

Hi @Dhruv_Kapoor,
I have corrected your code. https://ide.codingblocks.com/s/153650 you need to take mod when you are adding because if you add 2 long integers they make go out of bounds as well.