【編程練習】打印1到n位數

// 考慮大數,超過int,超過long能表達的範圍 // 用大小爲n的數組來表示每一位數 public static void printMax(int n) { // n位數組全排列 if (n <= 0) return; int[] num = new int[n]; printMax(num, n, 0
相關文章
相關標籤/搜索