用Java實現簡單選擇排序

package ch10; /** * 簡單選擇排序 * @author songjie * */ public class SelectSort { public static <T extends Comparable> boolean selectSort(T[] t){ if(t==null || t.length <= 1) return true; for(int
相關文章
相關標籤/搜索