Determine if a 14-tile hand is winning | Google Interview Question