
Assign cookies to satisfy the most childrenCodingEvery child has a smallest cookie size they will accept, and every cookie has a size. A child is satisfied by getting one cookie at least that big.
Last asked Nov 2026




+4











+6
+3
+2





+2




+2

+1




+1

+3








+1











+1
+1







































+2
+1











