Each child i has a greed factor g[i] - the minimum cookie size that will content them. Each cookie j has size s[j].
A child is content if assigned a cookie of size at least their greed factor. Each child gets at most one cookie and each cookie goes to at most one child.
Return the maximum number of children you can content.