Hand Out Cookies

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • easy
  • Pro

Each child has a minimum cookie size that will satisfy them, and you have cookies of various sizes. Each child gets at most one cookie. Find the largest number of children you can satisfy.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →