JavaScript
JavaScript copied to clipboard
Added code for wiggle sort in Javascript
Please add hacktoberfest tag if accepted.
Describe your change:
- [* ] Add an algorithm?
- [x] Fix a bug or typo in an existing algorithm?
- [x] Documentation change?
Checklist:
- [* ] I have read CONTRIBUTING.md.
- [*] This pull request is all my own work -- I have not plagiarized.
- [* ] I know that pull requests will not be merged if they fail the automated tests.
- [ ] This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
- [ ] All new JavaScript files are placed inside an existing directory.
- [* ] All filenames should use the UpperCamelCase (PascalCase) style. There should be no spaces in filenames.
Example:
UserProfile.js
is allowed butuserprofile.js
,Userprofile.js
,user-Profile.js
,userProfile.js
are not - [ *] All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
- [ ] If this pull request resolves one or more open issues then the commit message contains
Fixes: #{$ISSUE_NO}
.
This pull request introduces 1 alert when merging de6fe2a062a361a755cf45649bd521d299ea1dd0 into 7a1141b637edcb3bbd3c6f31abfa8d395436f2ec - view on LGTM.com
new alerts:
- 1 for Unused variable, import, function or class
Please fix the alert. How does this function differ from https://github.com/TheAlgorithms/JavaScript/blob/master/Sorts/SimplifiedWiggleSort.js ?