LeetCode: 1007-Minimum Domino Rotations For Equal Row 解題紀錄
Last Updated on 2022-03-20 by Clay
題目
In a row of dominoes, tops[i]
and bottoms[i]
represent the top and bottom halves of the ith
domino. (A domino is a tile with two numbers from 1 to 6 – one on each half of the tile.)