Leetcode 0575. Distribute Candies
Posted on Tue 24 November 2026 in Leetcode • Tagged with math
Question Link : https://leetcode.com/problems/distribute-candies/
Difficulty: Easy
Premium: False
Question
Alice has n candies, where the ith candy is of type candyType[i]. Alice noticed that she started to gain weight, so she visited a doctor. The doctor advised Alice to only eat n / 2 of the candies …
Continue reading