# X of a Kind in a Deck (LeetCode 914) ## Idea Count card frequencies; return whether gcd of all counts is >= 2. ## Tip Use math.gcd fold. Singletons fail. ## Practice Warm up with [www.linkjob.ai](https://www.linkjob.ai/).