← Questions

Shortest increasing path to a target value in a grid

0
UberCodingLast asked Sep 2026

A coding interview question asked in Uber's coding round, last asked Sep 2026. It tests grids, bfs and graphs.

Given an integer grid, answer many queries. Each query names a target value; return the values along a shortest path from the top-left cell to the cell holding that value, where each step moves up, right, down or left to a cell with a…

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 · Coding · Last asked Sep 202660 min · Two rounds; one is often object-oriented design (a parking lot, a meeting scheduler, an expression evaluator) · No AI, except a newer AI-assisted debugging round in some senior loops

What it tests

grids · bfs · graphs

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