Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 13, 2017

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