← Amazon questions
CodingReported in a candidate post, Mar 2020

Maximum rows covered with given milk and dark chocolates

Filed under Amazon

Given N rows, each containing a specific count of milk and dark chocolates, and total required counts X and Y, find the maximum number of rows you can fully satisfy.

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

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