Doubt regarding video lecture

why he is using a[n-1] not 0 as start
and if I’m using 0 start I’m not getting correct ans,
also he said we will get correct ans using 0

Hello @talhashamim001 no you will not get correct answer with the 0 as start:
we have to minimise the time but as you know the minimum time will be when if the number of students and the number of books are same in that case the book with the maximum pages will be the minimum time for start and the maximim time will be when there will be only 1 student and that he have to read all the books then the sum of all the books pages is the time required.
if you still have any doubt you can ask here:
Happy Learning !!

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.