2226. Maximum Candies Allocated to K Children - Explanation

Problem Link