You are given a binary maze as a 2D grid where 1 is an open cell and 0 is a wall. Given a start cell and a target cell, find the length of the shortest path from start to target, moving only up, down…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.