deno.land / x / masx200_leetcode_test@10.6.5 / distribute-candies / index.ts
1234export default function distributeCandies(candyType: number[]): number { return Math.min(candyType.length / 2, new Set(candyType).size);}
Version Info