โ† Cognizant questions
CodingMedium

Distribute N Candies to K students

Filed under Cognizant

The question

Given N candies and K students, determine the distribution of candies according to the specified rules.

No write-up yet. Related questions below have one.

Related Cognizant questions

Collected from public candidate posts and coding forums. Updated Nov 2026.