1,1,2,3,5
は「フィボナッチ数列」です。
再帰関数の実装課題の定番で、関数名としては省略形のfib
などがよく使われます。
-
-
Save kokuyouwind/81266a32203c0a1afd36a20e38514d1a to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment