InterviewLegend

Card Games and Poker Hands

Alex Chen45 min readUpdated 22 real interview reports

The card game is the Scale AI phone screen candidates mention most. Many get a short spec of the game ahead of time, and on the day there's about an hour to build to it. Poker is a common version. You build it in parts, and a test suite checks each one.

Watch the small rules, because they change between problems. Card notation and wildcard rules shift from one part to the next, so read each statement before you carry code over from the last one.

Build the rank count and the suit count once, then check categories from strongest to weakest with one small function per category. Later parts read those same counts, so if you set it up that way in part one, they go in without a rewrite.

Scale AIPremium lesson · Coding round

The 3 Scale AI problems are below.

  1. A Premium questionCoding · Medium · Signature problem
  2. A Premium questionCoding · Hard · Frequently asked
  3. A Premium questionCoding · Medium

Each with hints, the follow-up and a tested solution.

Get the Scale AI questions

$49 a year · all 100 companies · cancel anytime

From 20,000+ candidate reports, forum threads behind logins and write-ups in Chinese.

Had your Scale AI interview?Tell us what they asked. Reviewed before it goes in, never with your name.
Scale AI interview guide

Know what Scale AI asks before you walk in.

22 coding · 3 system design · 18 behavioral questions

Get Premium$49 a year · Cancel anytime
Or start freeNo card.

Get their questions first.

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.