Skip to content

16.4 Iterators has a flawed Fibonacci implementation #1240

Closed
@oteinone

Description

@oteinone

The iterator produces the following output

The first four terms of the Fibonacci sequence are: 
> 1
> 2
> 3
> 5

Usually Fibonacci sequence is considered to start [1,1,2,3] or sometimes [0,1,1,2] but not [1,2,3,5].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions