← Amazon questions

Find number of valid combinations to buy one item of each type within budget

Filed under Amazon

Given four lists of item prices (pants, shirts, skirts, shoes) and a cash budget, find the total number of valid combinations to buy exactly one of each item type such that the total cost does not…

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.