Engineer Software Interview Questions

512,139 engineer software interview questions shared by candidates

I am playing a card game called 24. Cards ace to king are numbered 1 to 13. During a given round, I am provided four cards to play with from the shuffled pack. If the numbers from the four cards result in 24 then I win the round if I shout '24' first. How would you code a function for this?
avatar

Software Engineer

Interviewed at Google

4.4
Dec 14, 2009

I am playing a card game called 24. Cards ace to king are numbered 1 to 13. During a given round, I am provided four cards to play with from the shuffled pack. If the numbers from the four cards result in 24 then I win the round if I shout '24' first. How would you code a function for this?

Viewing 1451 - 1460 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 512,139 interview questions and reports from Engineer software interviews. Prepare for your interview. Get hired. Love your job.