Skip to content

zqq-judy/Fibonacci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

#Judy 5/3/2020

Fibonacci

============

实现Fibonacci数列:要求(以java为例)如下:
函数名Fibonacci.of()
of是一个静态方法,入参是int,返回值是int
参数从1开始,各参考值如下:
Fibonacci.of(1) == 1
Fibonacci.of(2) == 1
Fibonacci.of(3) == 2
Fibonacci.of(4) == 3
Fibonacci.of(5) == 5
...
在main()函数用循环打印1-200的Fibonacci数列

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages