← Questions

Poker hand checker with jokers

0
Scale AICodingLast asked Mar 2025

A coding interview question asked in Scale AI's coding round, last asked Mar 2025. It tests hash map, simulation and edge cases.

Write is_valid_hand(hand: list[str]) -> bool for a five-card poker game. Each card is a string "<rank> of <suit>".

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Scale AI · Coding · Last asked Mar 2025Live coding, one or two rounds, Python

What it tests

hash map · simulation · edge cases

Your code and the AI tutor open when you unlock this question.