Answered You can hire a professional tutor to get the answer.

QUESTION

How to remove 3 or more cards that are in sequence from an array of cards?

How to remove 3 or more cards that are in sequence from an array of cards? The array is not sorted. For example: if the 7 of spades, 6 of clubs and 8 of hearts is present, the player must remove it. However if only 2 of them are present, the player cannot remove the 2 cards. There must be at least 3 cards in sequence.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question