Skip to content

Conversation

@Yasas4D
Copy link

@Yasas4D Yasas4D commented Oct 24, 2020

I implemented the function and added two test cases.
Please take the PR and make it acceptable for hacktoberfest competition
Thank you

@Yasas4D
Copy link
Author

Yasas4D commented Oct 24, 2020

Why are these checks failing? It's not a my problem right?

Copy link
Owner

@fengyuanyang fengyuanyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi can you have a look on it

Comment on lines +12 to +15
int a[] = {1, 2, 4, 5, 6};
int missedNumber = MissingNumber.getMissingNo(a);
// assert
assertEquals(7, missedNumber);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you didn't pass this test
the missed Number here should be. 3 , not 7

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