← Flipkart questions

Binary Matrix Path

Filed under Flipkart

Given an M x N binary matrix where 1 represents an empty cell and 0 represents a block, find the minimum number of steps to travel from any cell in the first column to any cell in the last column. You…

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 Flipkart questions

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