Company: Flipkart Grid 8.0
Difficulty: medium
Retired record This question has been withdrawn. Its source material was incomplete: the input record layout was never captured, so the problem cannot be stated or solved as written. The record is retained only for audit history.