Book allocation problem

Sir why we dont start seach space from 10 …as 1 student can read atleadt 10 pages too

We must start the search space from the maximum element in the array.
Suppose each student reads just one book.So the maxm pages a student can read is the book with the maximum number of pages. So going by the problem statement, search space must start from 40.
But even if you take the search space from 10, it will not create any difference in the final answer.

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.