mirror of
https://github.com/huihut/interview.git
synced 2026-03-13 10:02:55 +08:00
添加查找算法和SingleProblem
This commit is contained in:
13
Problems/NeumannNeighborProblem/README.md
Normal file
13
Problems/NeumannNeighborProblem/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
## 冯诺依曼邻居问题
|
||||
|
||||
### 问题说明
|
||||
|
||||
某算法从一个1×1的方格开始,每次都会在上次图形的周围再加上一圈方格,在第n次的时候要生成多少个方格?下图给出了n = 0,1,2是的结果。
|
||||
|
||||

|
||||
|
||||
### 解法
|
||||
|
||||
* [通项公式解法](Formula)
|
||||
* [递推关系解法](Recursive)
|
||||
Reference in New Issue
Block a user