Skip to content

Fixing some terms number issue, and improving result for first terms (0 and 1)#75

Merged
dynamitechetan merged 2 commits intoTheAlgorithms:masterfrom
alaouimehdi1995:master
Apr 13, 2017
Merged

Fixing some terms number issue, and improving result for first terms (0 and 1)#75
dynamitechetan merged 2 commits intoTheAlgorithms:masterfrom
alaouimehdi1995:master

Conversation

@alaouimehdi1995
Copy link
Contributor

No description provided.

else:
self.fib_array = [None] * (N + 1)
self.fib_array.append(self.fib_array[i - 1] + self.fib_array[i - 2])
elif N==0:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, spaces before and after '=='

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forget it, I'll add them


def get(self, sequence_no=None):
if sequence_no:
if sequence_no!=None:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, spaces before and after '!='

@dynamitechetan dynamitechetan merged commit e268bf1 into TheAlgorithms:master Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants