mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-23 20:44:39 +08:00
@ -22,7 +22,7 @@ public class ArrayCombination {
|
||||
length = k;
|
||||
Integer[] arr = new Integer[n];
|
||||
for (int i = 1; i <= n; i++) {
|
||||
arr[i-1] = i;
|
||||
arr[i - 1] = i;
|
||||
}
|
||||
return Combination.combination(arr, length);
|
||||
}
|
||||
|
Reference in New Issue
Block a user