Tilling Problem - II

I am not able to understand the question.
please explain with the help of some examples.

Hey @Kumaramit You must have played a game where a block drops from the top screen of your mobile and you have to place that block somewhere so that a horizontal line becomes complete and your score increases.If yes then think of this question related to it. Consider your phone screen size = n * m units and assume that everytime a block drops from top it is of size 1 * m so now you have to think how to place these dropping box such that at the end my phone screen is covered totally with the blocks. One feature that has been added in this game is that you can make the dropping block horizontal or vertical.Whenever you’re successful in filling the screen your score gets incremented.At the end you have to return score.

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.