T-Systems Interview Question

Candies Distribution