Skip to content

Conversation

@globalroo
Copy link
Owner

Adds the Merge Sort algorithm to the collection of JavaScript data structures and algorithms.

The implementation includes:

  • A mergeSort function in src/merge-sort.js that handles various array types.
  • A helper merge function for the sorting logic.
  • Comprehensive unit tests in test/merge-sort.test.js covering edge cases and different array states.

Additionally, this commit:

  • Updates the README.md to include Merge Sort in the list of algorithms and provides a brief description of its time and space complexity.
  • Consolidates the Travis CI configuration by removing a duplicate travis.yml file.

Adds the Merge Sort algorithm to the collection of JavaScript data structures and algorithms.

The implementation includes:
- A `mergeSort` function in `src/merge-sort.js` that handles various array types.
- A helper `merge` function for the sorting logic.
- Comprehensive unit tests in `test/merge-sort.test.js` covering edge cases and different array states.

Additionally, this commit:
- Updates the `README.md` to include Merge Sort in the list of algorithms and provides a brief description of its time and space complexity.
- Consolidates the Travis CI configuration by removing a duplicate `travis.yml` file.
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