← Flipkart questions
CodingReported in a candidate post, Jul 2025

Minimum-difference distribution of chocolate packets

Filed under Flipkart

Given an array of M packet sizes (chocolate counts) and N students with N <= M, give each student exactly one packet so that the difference between the largest and the smallest packet given is as…

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.