Created
August 17, 2018 19:30
-
-
Save arjunsk/a4536c5eb04a0a7d3d993762b9536721 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package algorithms; | |
import java.util.Arrays; | |
public class MediumSorter implements ISorter{ | |
@Override | |
public int[] sort(int arr[]) { | |
// Implement merge sort or similar. | |
System.out.println("Medium sort used."); | |
//TODO : change to merge sort | |
//Arrays.sort(arr); | |
return arr; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment