You are viewing a single comment's thread. Return to all comments →
javascript
function countingSort(arr) { let counterArray = Array(100).fill(0); for (let number of arr) { counterArray[number]++ } return counterArray; }
Seems like cookies are disabled on this browser, please enable them to open this website
Counting Sort 1
You are viewing a single comment's thread. Return to all comments →
javascript