Number of Equivalent Domino Pairs
Count pairs of dominoes that match after rotation. Each domino is reduced to a canonical key and the pair count grows with every repeat.
Count pairs of dominoes that match after rotation. Each domino is reduced to a canonical key and the pair count grows with every repeat.