常见排序算法的时间复杂度以及稳定性: 1 public class Sort { public static void main(String[] args){ int[] nums=new int[]{2,6,9,4,1,8,5,5,6}; //SelectSort(nums); //BubbleSort(nums); //InsertSort(nums); //FastSort(nums,0,nums.length-1); //MergeSort(nums,0,nums.length-1);…