counting Sort
Sorts input using counting sort into a new array and returns it. The input array will not be changed.
Parameters
input
The array to sort by IntSupplier.getAsInt
k
The maximum value returned by IntSupplier.getAsInt
Sorts input using counting sort into a new array and returns it. The input array will not be changed.
The array to sort by IntSupplier.getAsInt
The maximum value returned by IntSupplier.getAsInt