Skip to content

2nd approach for product-of-elements #3

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
Sep 7, 2019
Merged

Conversation

TheSTL
Copy link
Member

@TheSTL TheSTL commented Sep 7, 2019

Changes:

  • Added 2nd approach which have 3 cases to solve the problem.
  1. If count of zeros is 0.
  2. If count of zeros is 1.
  3. If count of zeros is greater than equal to 2.

@TheSTL TheSTL changed the title --update : product-of-elements 2nd approach for product-of-elements Sep 7, 2019
@ashokdey ashokdey merged commit 61dcf64 into master Sep 7, 2019
@ashokdey ashokdey deleted the product-of-elements branch September 7, 2019 17:10
ashokdey pushed a commit that referenced this pull request Oct 7, 2019
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