Sir/maam, why the range on which binary search has to be applied is taken as 0 to time taken by the fastest cook himself and not the slowest one. It is said that we can take both of them but how?
Doubt in the logic
Hello @vageesha in this question we have to apply binary search to find the min time possible in which we can make paranthas so we will try to involve more chefs to minimise the time.
so i think if you have query regarding range then you can simply take the range from 0 to int_max;