← Flipkart questions

Maximum basin block size

Filed under Flipkart

Given a 2D matrix of heights, a 'basin' is defined by the set of cells that drain into the same local minimum. Water flows from a cell to its lowest neighbor if that neighbor's height is strictly…

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.