LeetCode: 1007-Minimum Domino Rotations For Equal Row 解題紀錄
題目
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.)