</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

04

:

50

:

23

Get this deal
Back to Dashboard

Valid Card Set

Easy

You are given a deck of playing cards. Each card is represented as a string where the first part is its rank (a positive integer, e.g., 1, 2, 3, ...) and the second part is its color: Red (R), Blue (B), Green (G), or Yellow (Y). For example, "10R" represents rank 10, color Red.

A valid set is a collection of cards satisfying exactly one of the following criteria: ...