Skip to content
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

The Entry Challenge #1

Open
profnandaa opened this issue Jan 15, 2021 · 0 comments
Open

The Entry Challenge #1

profnandaa opened this issue Jan 15, 2021 · 0 comments

Comments

@profnandaa
Copy link

profnandaa commented Jan 15, 2021

Entry Challenge v.2

ℹ The program assumes you already know how to write code and use Git. The program is not meant to teach you how to write code but rather up-skill you on your data structures and algorithms fundamentals.

Write a function CountZeros(A) that takes in an array of integers A, and returns the number of 0's in that array. For example, given [1, 0, 5, 6, 0, 2], the function/method should return 2.

✅ How to Submit

  1. Fork this repo to your account.
  2. Clone the repo to your local machine
  3. In the root folder/directory, create a directory/folder that is named after your Github username, e.g. profnandaa for my case.
  4. Add a file in the created folder/directory above, with the following naming convention: <preferred file name>.<lang_file_ext> e.g. count_zeros.js (if doing with JavaScript), count_zeros.py (if Python), CountZeros.cs (C#) etc.
  5. Write your code, test, stage, commit, push.
  6. Now create a PR against our main branch with the PR title: github_username - first_name e.g. profnandaa - Anthony
  7. Our Github Actions bot will reply to you with the application form link.
  8. Fill in the form and submit.
  9. Wait for our invite if selected.

❓ Any questions?

Open an issue 👉 here

Past Challenges

Ending Feb 6 - Quadratic Equation

Given a, b, c for a quadratric expression ax2 + bx + c = 0. Write a function getX that returns the larger of the values for X, i.e. if x1 = -2 and x2 = 5, getX should return 5.

image****

@golclinics golclinics locked as too heated and limited conversation to collaborators Jan 21, 2021
@piusn piusn removed the challenge label Feb 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants