Please check my code , and help me which cases I am missing . My code : https://ide.codingblocks.com/s/175934
Tiling Problem Code not passing all the test cases
Hi @Vishal_234,
This is d updated code.
try using memset inside while(t–) loop since u need to make dp[ ] -1 in every testcase.
and use %mod in totalcount function also just incase op1 & op2 might overflow.
Hope dis resolves ur doubt.