A deck of cards is the Cartesian product of S suits and R ranks. Many, though not all, card games use S=4 and R∊{6,8,13}. A hand of H cards is dealt from the deck (H≤R). Its distribution, a.k.a. "hand pattern", is an array that describes how many cards you got from each suit, ignoring suit order ...
Anonymous
Anonymous