Oracle logoOracle
Coding·60 minMembers

Valid 5-Card Poker Straight

Members only

Given five cards drawn from a standard deck, determine whether they form a straight (five consecutive ranks). J/Q/K must be mapped to 11/12/13; Ace can play as either 1 or 14. Asked as a single 40-min...

SWE
array
set
easy
Frequency
Single report
Last asked
2025-10-22
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...