โ† ServiceNow questions
CodingMedium

Select Flask with Minimum Wastage

Filed under ServiceNow

Given a required capacity and a list of flask capacities, find the index of the flask that satisfies the requirement with the minimal total wastage. Return -1 if no flask can meet the requirement.

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 ServiceNow questions

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