Tilling Problem - II


plz help me with some hint wrt my code

Hi @akb.tech17
Your logic is incorrect. Consider this problem as collection of sub problems.
First begin by either placing a tile horizontally or vertically, then consider the remaining grid as similar subproblem and keep on adding solutions.
Try to form a recurrence relation.

Hope it helps
Mark resolved if satisifed :):grinning: