Given an m x n matrix containing 0s (blocked cells), 1s (open paths), and a target cell with '9', determine if a valid path exists from the top-left cell (0, 0) to the cell containing '9'.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.