FEInterviewBox icon indicating copy to clipboard operation
FEInterviewBox copied to clipboard

斐波那契数列

Open commonzhou opened this issue 4 years ago • 0 comments

http://fe.ericwu.cn/algorithm/sword-to-offer/7.html 我看的这个链接里的解法,考虑数列第n项的时候,没有考虑最开始的两项是0和1,也就是n = 1,应该返回 0吧?n =1,返回1

commonzhou avatar Nov 20 '21 02:11 commonzhou