Reported interview periodSep 2026
Deal and rank three-card poker hands
Implement the core of a three-card poker game. Cards are dealt to seated players one card at a time over three passes, then every hand is ranked and the winner or winners are returned.
Practice focusScenario Implement the core of a three-card poker game. Cards are dealt to seated players one card at a time over three passes, then every hand is ranked and the winner or winners are returned. Ranks increase from 2 through A . A deck contains one card for every rank and suit combination, and a card may be dealt at most once. Assumed interface The exact public API is intentionally flexible. One coherent option is: State any alternative interface before implementation.…