Omg! Second time coming across a counting cards question...
And started thinking I ought to know card games.
I think the takeaway here is simplifying a problem and making semantic vars.
But if I understand the problem clearly I can apply a set of rules without thinking about card game rules per se, but the interviewer would need to supply the back stories such as suits and how one wins...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Omg! Second time coming across a counting cards question...
And started thinking I ought to know card games.
I think the takeaway here is simplifying a problem and making semantic vars.
But if I understand the problem clearly I can apply a set of rules without thinking about card game rules per se, but the interviewer would need to supply the back stories such as suits and how one wins...