← Flipkart questions

Minimum steps to collect cheese in a maze and reach destination

Filed under Flipkart

Given an n*n maze with blocked and unblocked cells, Tom starting at (0,0), Jerry at a given target cell, and k pieces of cheese at various cells, find the minimum steps for Tom to collect all cheese…

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.