Count Domino Tilings
在domino tiling 问题中,一个由连续单位方格组成的房间需要用空白的 2×1 多米诺牌拼成,每块多米诺牌可以竖着放,也可以横着放。
在我们的多米诺瓷砖铺贴版本中,房间的形状由垂直堆叠的行组成,这些行共享共同的直线左墙。rows 的列表 包含以方格为单位的各行长度。You need to find and return a number of ways, how the given room may be tiled.
...
You should be an authorized user in order to see the full description and start solving this mission.