You are viewing a single comment's thread. Return to all comments →
PHP:
$frequency = array_fill(0, 100, 0); foreach($arr as $element) { $frequency[$element]++; } return $frequency;
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 →
PHP: