There are n children standing in a line. Each child is assigned a rating value given in the integer array ratings. You are giving candies to these children subjected to the following requirements: ...
GitHub

135_candy.md

There are n children standing in a line. Each child is assigned a rating value given in the integer array ratings. You are giving candies to these children subjected to the following requirements: ...
Thinking about trying out LeetCode but not sure where to start? Or maybe you’re wondering if a paid plan is really worth it. This guide will walk you through how to get the most from a leetcode free ...