祖玛(Zuma)
祖玛(Zuma) Description Let's play the game Zuma! There are a sequence of beads on a track at the right beginning. All the beads are colored but no three adjacent ones are allowed to be with a same color. You can then insert beads one by one into the sequence. Once three (or more) beads with a same color become adjacent due to an insertion, they will vanish immediately. Note that it is possible for such a case to happen for more than once for a single insertion. You can't insert the next bead until all the eliminations have been done. Given both the initial sequence and the insertion series, you