Zillow Interview Question

design a poker. Given cards return result