Created
August 17, 2018 19:29
-
-
Save arjunsk/d5f01262bb8f7c8ed90f6caa957cf46f 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 SmallSorter implements ISorter{ | |
@Override | |
public int[] sort(int arr[]) { | |
// Implement bubble sort or similar | |
System.out.println("Small sort used."); | |
//TODO 1: change | |
Arrays.sort(arr); | |
return arr; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment