2927. Distribute Candies Among Children III
You are given two positive integers
n
andlimit
.Return the total number of ways to distribute
n
candies among3
children such that no child gets more thanlimit
candies.
1 | class Solution { |
2927. Distribute Candies Among Children III
You are given two positive integers
n
andlimit
.Return the total number of ways to distribute
n
candies among3
children such that no child gets more thanlimit
candies.
1 | class Solution { |