Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 507 Bytes

File metadata and controls

32 lines (19 loc) · 507 Bytes

Counting Sort

Question

This program illustrates the counting sort algorithm.

Solution

.. literalinclude:: ../../languages/python/algorithm_countingsort.py
   :language: python
   :tab-width: 4

.. runcode:: ../../languages/python/algorithm_countingsort.py
   :language: python
   :codesite: ideone

Explanation

.. seealso::

   * :python-suggest-improve:`algorithm_countingsort.py`
   * :python-better-explain:`algorithm_countingsort.rst`