what is the difference between maximize the minimum distance and minimize the maximum distanceā¦can you briefly explain by taking an example
Maximize and minimize
@kadaparaghavendra1
suppose array given
a[]={1,2,3,4,5}
you have to maximise the minimum distance for calculating the distance from 3 points 2,4,6 resp
from point 2 min dist possible is 2-2=0
from point 4 min dist possible is 4-4=0
from point 6 min dist possible is 6-5=1
so now maximum from the array {0,0,1} = {1}
so maximise the min ans is 1
do the opposite for min the max
i hope its clear if yes dont forget to hit like and mark resolved 
can u explain the case of minimize maximum number of pages in book allocation problem
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.