Old Mission Interview Question

asked about three card poker variant