Topic: Greedy Algorithm Problem / Level: beginner

Problem: Distribute candies to children such that the maximum number of children gets candies.

Run the code to see the output here...