Interview Experience
Problem Given a list of 5 card strings (e.g., "AS", "10H", "KD"), classify the poker hand. Cards are rank + suit where rank is one of A,2,3,...,10,J,Q,K and suit is C,D,H,S. Return the hand rank as a string: "royal_flush", "straight_flush", "four_of_a_kind", "full_house", "flush", "straight", "three_of_a_kind", "two_pair", "one_pair", "high_card" Example: Note: Ace can be low (A-2-3-4-5) or high (10-J-Q-K-A). Follow-ups How do you handle the low-ace straight edge case cleanly? Extend to compare…
Full Details
🔒
Unlock all Codesignal questions
Full insider details, leaked discussions, and candidate experiences.
or every company, $100/year →About This Question
This is a candidate experience report from a codesignal interview.
It covers the following topics: Q3, Coding, General Coding Assessment, Strings .
Topics
More Codesignal Interview Questions
InterviewDB
AI-Assisted Code Review Assessment - Coding Interview
InterviewDB
Array Mutation Operations - Coding Interview
InterviewDB
Array Triplets with Pythagorean Property - Coding Interview
InterviewDB
Banking System Simulation - Industry Coding Framework Interview
InterviewDB
Bubble Popping Game Simulation - Coding Interview