Google Interview Question

test if a Mahjong game is winning