Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Card Game by juestr
def cards(deck, hand):
last = -1
for n in sorted(hand):
if last == n:
return False
last = n - (n - last != 1)
return last < deck
May 19, 2019
Comments: