Compare Two Camel Cards Hands
Compare Two Camel Cards Hands
Implement a function that compares two 5-card Camel Cards hands and prints the winner.
Card ranks, from highest to lowest, are:
`A > K > Q > J > T > 9 > 8 > 7 > 6 >...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
