← Paytm questions

Candies distribution among students

Filed under Paytm

Distribute n candies among k students in incremental rounds (1 candy in round 1, 2 in round 2, etc., up to k in round k, then k+1, k+2, etc.). If there are not enough candies remaining for the current…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Paytm questions

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