← Expedia questions

Cookie Hunger Satisfaction

Filed under Expedia

Given an array of children's hunger levels and an array of cookie sizes, assign at most one cookie to each child such that the number of satisfied children is maximized. A child is satisfied if the…

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

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