@author todd @date 2020/6/25 13:30 @description: 总共有36张牌,每张牌是1~9。每个数字4张牌。 你手里有其中的14张牌,如果这14张牌满足如下条件,即算作和牌 1. 14张牌中有2张相同数字的牌,称为雀头。 2. 除去上述2张牌,剩下12张牌可以组成4个顺子或刻子。顺子的意思是递增的连续3个数字牌(例如234,567等),刻子的意思是相同数字的3个数字牌(例如111,777) 回溯算法,简单。
source not stored for this graph (policy: none)
nothing calls this directly
no outgoing calls
no test coverage detected