- . If your collection contains at least one pair, return an array of two elements: true and the card number of the highest pair.
Eg: highestCardPair([“A”, “A”, “Q”, “Q”, “6” ]) –> [true, “A”]
highestCardPair([“J”, “6”, “3”, “10”, “8”]) –> false
highestPair([“3”, “5”, “5”, “5”, “5”]) ➞ [true, “5”] – three or more of the same card still count as containing a pair