Problem 1103 · Easy
Deal increasing amounts round the people in a cycle, capping the last gift at the candies that remain.
Open the interactive visualisation