Amazon Interview Question

Poker game which is in leetcode