← All problems
Hard · Greedy
Candy
Minimize candies while rewarding higher ratings than adjacent children.
Full problem and submission ↗Minimize candies while rewarding higher ratings than adjacent children.
Full problem and submission ↗