Compare two poker hands with possibly incomplete information (output UNKNOWN if winner cannot be determined)

Problem: Compare two poker hands with possibly incomplete information (output UNKNOWN if undecidable)

You are given two players' poker hands. Each hand represents known card ranks (duplicates al...

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: