Greedy Algorithms - Assign Cookies
You have two arrays: one representing children's greed factors and another representing cookie sizes. You want to maximize the number of children who get a cookie that satisfies their greed. Which algorithmic pattern best fits this problem?
