← Flipkart questions

Maximum teams for group photo under height constraints

Filed under Flipkart

Given N teams each with M members having specific heights, arrange teams in rows for a photo such that each row has members from one team only, person heights at row i exceed row i-1, and entire teams…

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.