Chocolates Distribution Problem
Filed under Box8
The question
Given an array of student ratings, distribute chocolates such that students with higher ratings than their neighbors receive more chocolates than those neighbors.
No write-up yet. Related questions below have one.
Related Box8 questions
Collected from public candidate posts and coding forums. Updated Nov 2026.