โ† OYO questions
CodingReported in a candidate post, Nov 2020

Shortest distance in 2D grid

Filed under OYO

Given a 2D grid representing a map with obstacles and open cells, find the shortest distance (minimum number of steps) from a source cell to a destination cell.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related OYO questions

Collected from public candidate posts and coding forums. Updated Nov 2026.