Engineer Internship Interview Questions

24,118 engineer internship interview questions shared by candidates

Imagine you are an Uber driver who begins in the middle spot of an n by n matrix. Write a code that allows you to pick up the most riders in your immediate vicinity (e.g. spots directly adjacent to your location) until all surrounding spots are 0. You can only move up, right, left or down. Example: [0, 5, 3], [2, 6, 9], [0, 1, 0]
avatar

Software Engineer(Internship)

Interviewed at Uber

3.7
Feb 15, 2018

Imagine you are an Uber driver who begins in the middle spot of an n by n matrix. Write a code that allows you to pick up the most riders in your immediate vicinity (e.g. spots directly adjacent to your location) until all surrounding spots are 0. You can only move up, right, left or down. Example: [0, 5, 3], [2, 6, 9], [0, 1, 0]

Viewing 201 - 210 interview questions

Glassdoor has 24,118 interview questions and reports from Engineer internship interviews. Prepare for your interview. Get hired. Love your job.