mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +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