Delivery Boy

Given two customers – C1 & C2 and two restaurants – R1 & R2. You’re a delivery boy and travel at constant speed. Your distance from each of them is given. R1 takes t1 time and R2 takes t2 time to prepare the food. What will be your trajectory so as to get food to both customers in minimum time? What would happen if in a certain situation, we were at an equal distance from both the destinations. How would you decide which route to take next.?

Author: Shubham Chaudhary gfg
Login to Answer
Sort By:
My Answer