We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Is anyone else seeing an error in sample test case 1? It expects a '0' as the last element of the result. This implies that the test case expects the algorithm to count one additional element beyond the largest element in the list.
Counting Sort 1
You are viewing a single comment's thread. Return to all comments →
Is anyone else seeing an error in sample test case 1? It expects a '0' as the last element of the result. This implies that the test case expects the algorithm to count one additional element beyond the largest element in the list.