Why my code is not runninng
@Adityakumar3112 Your code is running fine, tell me the problem you are facing. But there is one thing wrong in your isPossible function, check if book[i]>mid, because in that case it is not possible but your code will just skip that element.