Find minimum number of apples to be shifted so that all baskets contain same apples
Answers
Answered by
3
Step-by-step explanation:
Input: N = 2, R = 1, G = 1
Output: Maximum apple kept is = 1
Input: N = 2, R = 1, G = 2
Output: Maximum apple kept is = 2
Similar questions
English,
5 months ago
Physics,
5 months ago
Environmental Sciences,
5 months ago
Chemistry,
11 months ago
Math,
1 year ago