Content children

appetites lists how big a biscuit each child needs; biscuits lists the sizes available. A child is content with a biscuit at least as big as their appetite, and each biscuit goes to at most one child. Write content_children(appetites, biscuits) that returns the most children who can be made content.

content_children([1, 2, 3], [1, 1])  ->  1
content_children([1, 2], [1, 2, 3])  ->  2
content_children([], [1])            ->  0

The point is to practise the "smallest that fits" greedy rule with two sorted lists and two pointers.

def content_children(appetites, biscuits):
    ...