You are viewing a single comment's thread. Return to all comments →
This problem also has a greedy solution. See
https://leetcode.com/problems/candy/
https://leetcode.com/discuss/16463/a-simple-solution
Candies
You are viewing a single comment's thread. Return to all comments →
This problem also has a greedy solution. See
https://leetcode.com/problems/candy/
https://leetcode.com/discuss/16463/a-simple-solution