i don’t understand what are the inputs . Can you please elaborate the question and explain input part of the question a little more?
Not able to understand the question!
Imagine you have a floor of size n × m and you are given tiles of size 1× m. Now there are many possibilities for you to cover the entire floor using any number of such types of tiles. You need to calculate the total number of possibilities. Since in such type of questions, the answer may be too large to fit into any data type so we ask you to print the answer modulo some prime number(i.e. 10^9+7). Eg. If you have n = 2 and m = 2 then you’ve got 2 possible ways which are
1] Either place 2 tiles vertically
2] Or place 2 tiles horizontally
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.