Uber Interview Question - Sr Software Engineer - 27th March

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2023-03-27Added By Anonymous
Source: Link

Company: Uber

Role: Senior Software Engineer

Interview Stage: Phone Screen


Original Post Content:


Given a 2d grid composed of robots, empties, and blocks, you will receive a query like [a, b, c, d], which means the right distance, left distance, top distance, and bottom distance to the nearest blocker. find the robot satisfying the query.

Comments