MCPcopy Create free account
hub / github.com/Flamewaker/JavaPersonalSummary / ByteDance06

Class ByteDance06

Code/exam/ByteDance06.java:17–103  ·  view source on GitHub ↗

@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 from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected