Search⌘ K
AI Features

Assign Cookies

Assign Cookies gives each child a minimum acceptable cookie size and an array of available cookies. Return the maximum number of children who can receive a suitable cookie.

Statement

You are given two integer arrays:

  1. ...