โ† Swiggy questions

Packet saleability and minimum packets

Filed under Swiggy

The question

Given packet sizes of 6, 9, and 20 sold in full quantities, determine if N items are saleable, and find the minimum number of total packets required to sell X items.

No write-up yet. Related questions below have one.

Related Swiggy questions

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