Most children fed
Each child has a hunger level hunger[i], and each food portion has a size portions[j]. A child is satisfied by one portion whose size is at least their hunger level. Every child gets at most one portion and every portion goes to at most one child. Return the largest number of children you can satisfy.
Both lists may be empty, and every value is a positive integer. Aim for O(n log n).
Besides the tests, one large input (3,500 children and portions) with a ~200 ms limit (scaled to your device's speed): brute force won't pass.
Examples
most_fed([1,2,3], [1,1])→1most_fed([1,2], [1,2,3])→2most_fed([1,3], [3,1])→2