Skip to content

斐波那契数列 #6

@commonzhou

Description

@commonzhou

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions