Assign Cookies

Assume you are an awesome parent and want to give your children some cookies. Each child i has a greed factor g[i], which is the minimum size of a cookie that the child will be content with. Each cookie j has a size s[j]. If s[j] >= g[i], you can assign cookie j to child i, and the child will be content. Each child can be assigned at most one cookie.

Return the maximum number of content children you can satisfy.

Examples
Input: [[1,2,3],[1,1]]
Output: 1
Hints

Assign Cookies

Assume you are an awesome parent and want to give your children some cookies. Each child `i` has a greed factor `g[i]`, which is the minimum size of a cookie that the child will be content with. Each cookie `j` has a size `s[j]`. If `s[j] >= g[i]`, you can assign cookie `j` to child `i`, and the child will be content. Each child can be assigned at most one cookie.