LeetCode

X of a Kind in a Deck of Cards

Click here for an explanation.