Radix Sort
Basic Radix Sort
beginner
Implement the radix sort algorithm for the given input array
Input Format
Input consists of an array of unsorted array. It may be of arbitrary length.Output Format
An array of numbers e.g. 1,2,4,5 sorted in ascending orders( )JS
x
/* Change only the function func
@params:
inp1 = [170,45,75,90,802,24,2,66]
*/
const func = (inp1) => {
// Write the code here
return 'hello world'
}