Bread and sauces closest to a budget
Filed under PhonePe
The question
Given bread costs, sauce costs and budget B, pick exactly one bread and any sauces at most once so the bill is as close to B as possible.
No write-up yet. Related questions below have one.
Related PhonePe questions
Collected from public candidate posts and coding forums. Updated Nov 2026.