Search
⌘K

Leetcode 914. X of a Kind in a Deck of Cards

Determine whether the multiset of card values can be partitioned into groups of equal size x>1 with each group containing identical values — equivalently, check if the counts of each distinct value have a common divisor >= 2.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Your account is free and you can post anonymously if you choose.