Prison Cells After N Days
There are 8 prison cells in a row, and each cell is either occupied or vacant.
Each day, whether the cell is occupied or vacant changes according to the following rules:
If a cell has two adjacent n...
原创
2020-04-28 12:25:23 ·
234 阅读 ·
0 评论