1103. 分糖果 II
分糖果 II
- 难度:
easy - 原始链接: https://leetcode.cn/problems/distribute-candies-to-people
- 标签:
模拟
解法一: 哈希
1 | func distributeCandies(candies int, num_people int) []int { |
easy模拟1 | func distributeCandies(candies int, num_people int) []int { |
Update your browser to view this website correctly.&npsb;Update my browser now