// 12/9/2019 /** * Selection Sort * Notice the similarity to the code for finding duplicates in an unsorted array */ public class SelectionSort { public static void main(String[] args) { int[] numbers = {72, 5, 61,54, 11, 5, 3, 18, 5}; // outer loop places min at loc i for (int i=0; i arr[mid]) { beg=mid+1; } else // == return true; } return false; } }