I was suppose to solve the game “set”
Anonymous
I represent the card by string of numbers between 1-3. Each char represents color, pattern, quantity and shape. At first I’m adding all the cards to dictionary, then check for all combinations of 2 cards if the third card is in the dictionary, if it is the it’s a set.
Check out your Company Bowl for anonymous work chats.