Skip to content

Removing redundant if condition #456

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 1 commit into from
Jul 21, 2018
Merged

Removing redundant if condition #456

merged 1 commit into from
Jul 21, 2018

Conversation

ravidesai47
Copy link
Contributor

for loop above if condition is starting from coin and operation is increment in loop
so value of i will be always >= coin
hence if condition is redundant there

for loop above if condition is starting from coin and operation is increment in loop
so value of i will be always >= coin 
hence if condition is redundant there
@christianbender christianbender merged commit 89b94a8 into TheAlgorithms:master Jul 21, 2018
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.

2 participants