Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Generic implementation of Merge Sort in Java #3

Closed
@abranhe

Description

@abranhe

I have implemented the MergeSort algorithm, in which I have created a void sort(arr) method, that takes the array and sort it, I am repeating code for the method to pass the array parameter of Integers or Doubles. What about String, ... etc

This implementation works so far, but is there any way to implement this generically this algorithm?

Helpful links:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions