Search Space Doubt

In the concept video, Sir said that the search space can start from 0 as well but on HackerBlocks its returning wrong answer with start =0 and giving correct answer with start= arr[n-1]

@namangarg2000 it must have been a mistake. Think yourself we are distributing books, and have to give the maximum number of pages a student will read, now even if 1 students reads 1 book only, their maximum will be arr[n-1].
If this resolves your doubt mark it as resolved.