← Questions

Find robots by distances to the nearest blocker

0
UberCodingLast asked Sep 2026

A coding interview question asked in Uber's technical phone screen, last asked Sep 2026. It tests matrix, prefix computation and hashing.

You are given an m x n board. Each cell is one of: You are also given a query of four integers [left, top, bottom, right].

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Uber · Technical phone screen · Last asked Sep 202660 min · One medium problem with a follow-up, or two short ones; sometimes object-oriented design

What it tests

matrix · prefix computation · hashing

Your code and the AI tutor open when you unlock this question.