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

Missing Number in an array #186

Open
SiddhiShivale opened this issue Oct 30, 2024 · 0 comments
Open

Missing Number in an array #186

SiddhiShivale opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
hacktoberfest2024 Hacktoberfest hacktoberfest-accepted Hacktoberfest2024

Comments

@SiddhiShivale
Copy link

Problem explanation:

Example 1:
Input Format:
N = 5, array[] = {1,2,4,5}
Result:
3
Explanation:
In the given array, number 3 is missing. So, 3 is the answer.

Example 2:
Input Format:
N = 3, array[] = {1,3}
Result:
2
Explanation:
In the given array, number 2 is missing. So, 2 is the answer.

Hey @yesiamrajeev I want to contribute in hactoberfest2024. If you find this problem useful please add a tag to it and assign me the same. I will be solving this in java.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest2024 Hacktoberfest hacktoberfest-accepted Hacktoberfest2024
Projects
None yet
Development

No branches or pull requests

2 participants