Skip to content

Instantly share code, notes, and snippets.

@arjunsk
Created August 17, 2018 19:29
Show Gist options
  • Save arjunsk/d5f01262bb8f7c8ed90f6caa957cf46f to your computer and use it in GitHub Desktop.
Save arjunsk/d5f01262bb8f7c8ed90f6caa957cf46f to your computer and use it in GitHub Desktop.
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