Search⌘ K
AI Features

Assign Cookies

Assign Cookies pairs each child with at most one cookie that meets their minimum size, maximizing the number of satisfied children from the available cookies. Each cookie can serve only one child.

Statement

You are given two integer arrays:

  1. ...