Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 498 Bytes

File metadata and controls

33 lines (19 loc) · 498 Bytes

Quicksort

Question

Implement Quicksort algorithm; Implement the pivot element section.

Solution

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

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

Explanation

.. seealso::

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