UBER || 2022 || Onsite(India)
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2023-01-13Added By Anonymous
Source: Link
Company: Uber
Role: software engineer i, software engineer ii
Interview Stage: Onsite
Location: India
Year: 2022
Original Post Content:
Given n drivers on a road with position of ith driver defined as Xi and maximum speed of vehicle Si. Find the minimum time taken for the cars to arrive at the same point and the meeting point as well?
Cars can move in both the direction(+ve and -ve).
Can Anyone help with the solution and Approach. Tried Binary Search Approach, but not sure of the solution.