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

find missing number in array #18

Open
songz opened this issue Apr 23, 2017 · 3 comments
Open

find missing number in array #18

songz opened this issue Apr 23, 2017 · 3 comments
Labels

Comments

@songz
Copy link
Collaborator

songz commented Apr 23, 2017

return missing number in an input array of consecutively increasing numbers.

i: [5,6,8,9]
o: 7

@Himanshu1495
Copy link
Contributor

Himanshu1495 commented Apr 24, 2017

Can i try this one using python? @songz

@songz
Copy link
Collaborator Author

songz commented Apr 25, 2017

yes @Himanshu1495 , but you would have to do it in your own environment. :)

@Himanshu1495
Copy link
Contributor

Can you please review the solution @songz ?

zachnagatani added a commit to zachnagatani/algorithms that referenced this issue May 24, 2017
songz added a commit that referenced this issue May 31, 2017
JS solution and tests for Issue #18 - Find missing number in array of…
ColinX13 added a commit to ColinX13/algorithms that referenced this issue Jun 5, 2017
ColinX13 added a commit to ColinX13/algorithms that referenced this issue Jun 5, 2017
rkalra247 added a commit to rkalra247/algorithms that referenced this issue Jun 9, 2017
rkalra247 added a commit to rkalra247/algorithms that referenced this issue Jun 20, 2017
msach22 pushed a commit that referenced this issue Jul 7, 2017
* Solution to issue #18 in Python

* Modified the code,function created to allow passing the parameters

* Tests for issue #18 added. SKELETON CODE to test python(2.7) solutions created.

* Modification to 18.py

Comments in the code have been removed. for loop has been used as discussed.

* Modification to test18.py

Tests have been modified as per the modified code of 18.py . The code has been tested and it passed the test cases.

* Solution to issue #34 in Python 2.7

* Delete 34.py

* Delete test34.py

* print statement removed from solution

* Test skeleton moved from solutions to tests

* Test modified to eliminate redundancy. pythontest_skeleton modified with new changes. Name of solution changed from 18.py to sol18.py to avoid conflict while importing the file for testing

* Renamed test18.py to 18.py and deleted pythontest_skeleton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants