← Flipkart questions

Time required to infect all people in a grid

Filed under Flipkart

Given an n x m matrix with values representing recovered individuals (0), actively infected individuals (1), and normal individuals (2), an infected person can infect adjacent normal people (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.

Related Flipkart questions

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