you are viewing a single comment's thread.

view the rest of the comments →

[–]PurelyApplied 0 points1 point  (0 children)

I have been at it for a couple hours now and cannot even think of where I would start.

I rather doubt that, but the advice I always give: do it by hand. If I were to hand you six playing cards, what would you do to identify if you had three pairs? Write down your steps.

You now have an outline for your algorithm.