This website requires JavaScript.
Explore
Help
Register
Sign In
algorithm
/
interview
Watch
1
Star
0
Fork
0
You've already forked interview
mirror of
https://github.com/huihut/interview.git
synced
2026-03-13 10:02:55 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
8a3d4f0e088bf3bcaea8b567b841da447b2da571
interview
/
Problems
/
NeumannNeighborProblem
History
…
..
Formula
…
Recursive
…
README.md
…
README.md
Unescape
Escape
冯诺依曼邻居问题
问题说明
某算法从一个1
×
1的方格开始
,
每次都会在上次图形的周围再加上一圈方格
,
在第n次的时候要生成多少个方格
?
下图给出了n = 0
,
1
,
2是的结果。
解法
通项公式解法
递推关系解法
Reference in New Issue
View Git Blame
Copy Permalink