</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

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

$10.42$7.08

08

:

04

:

54

:

38

Get this deal
Back to Dashboard

Card Straight Check

Easy

You are dealt five playing cards. Determine whether they can form a straight, which is a sequence of five consecutive values regardless of suit.

Card values are represented as strings: "A", "2", "3", ..., "10", "J", "Q", "K". An Ace ("A") may count as either 1 or 14, but not both simultaneously. All five cards are distinct and the order does not matter. ...