/** * * @author Varun Upadhyay (https://github.com/varunu28) * */ public class SelectionSort { /** * This method implements the Generic Selection Sort * * @param arr The array to be sorted * @param n The count of total number of elements in array * Sorts the array in increasing order **/ public static > void SS(T[] arr, int n) { for (int i=0;i 1 4 6 9 12 23 54 78 231 for(int i=0; i a b c d e for(int i=0; i