Tiling With M * 1 Tiles
Try First, Check Solution later1. You should first read the question and watch the question video.2. Think of a solution approach, then try and submit the question on editor tab.3. We strongly advise you to watch the solution video for prescribed approach.
1. You are given a number n and a number m separated by line-break representing the length and breadth of a m * n floor.Input Format
2. You've an infinite supply of m * 1 tiles.
3. You are required to calculate and print the number of ways floor can be tiled using tiles.
A number nOutput Format
A number m
A number representing the number of ways in which the number of ways floor can be tiled using tiles.Question Video
1 <= n <= 100Sample Input
1 <= m <= 50
Asked in Companies