-
Notifications
You must be signed in to change notification settings - Fork 24
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
Number of repeating elements #34
Labels
Comments
@songz . I can try this in python. Should I ? |
@Himanshu1495 please do! |
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
msach22
pushed a commit
that referenced
this issue
Jul 7, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input: An array, a number
Output: number of times the number shows up in the array.
Input: [1,2,2,3], 3
Output: 1
The text was updated successfully, but these errors were encountered: