Skip to content

Files

Latest commit

Dec 25, 2018
0f348c6 · Dec 25, 2018

History

History
This branch is 28 commits behind huihut/interview:master.

NeumannNeighborProblem

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 25, 2018
Dec 25, 2018
Dec 25, 2018

冯诺依曼邻居问题

问题说明

某算法从一个1×1的方格开始,每次都会在上次图形的周围再加上一圈方格,在第n次的时候要生成多少个方格?下图给出了n = 0,1,2是的结果。

解法