Topic: Greedy Algorithm Problem / Level: beginner

Problem: Distribute food packets to the maximum number of people such that each person receives at least one packet.

Run the code to see the output here...