Search⌘ K
AI Features

Assign Cookies

Assign Cookies gives children minimum acceptable cookie sizes and a supply of cookies. Assign each cookie at most once to maximize the number of satisfied children.

Statement

You are given two integer arrays:

  1. ...