← Paytm questions
CodingReported in a candidate post, Sep 2021

Variant of Rotten Oranges

Filed under Paytm

Given an m x n grid where each cell is either 0 (empty), 1 (fresh orange), or 2 (rotten orange), find the minimum time until no fresh oranges remain. Each minute, any fresh orange adjacent to a rotten…

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

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