โ† Daffodil Software questions
CodingMediumReported in a candidate post, Sep 2022

Check if 5 Cards Form a Straight

Filed under Daffodil Software

The question

Given a set of 5 strings representing cards with rank and suit, determine if they form a straight (sequential rank, not all of the same suits). Output YES or NO.

No write-up yet. Related questions below have one.

Related Daffodil Software questions

Collected from public candidate posts and coding forums. Updated Nov 2026.