mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-28 13:33:11 +08:00
ac6de03a92f856998da0e365fc5a6a9b1af835aa
ac6de03a92
Add Hoare partition algorithm (#12601)
* Add Hoare partition algorithm This is another variant of in-place quicksort apart from 'Lomuto' and the 'Dutch National Flag algorithm' * Refactor quick_sort_3_partition.py for clarity Refactor import statement and improve docstrings for clarity. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Remove unnecessary global declarations, inline inner function and fix main loop while condition in
chaos_machine (#14814)
Implementations are for learning purposes only. They may be less efficient than the implementations in the Python standard library. Use them at your discretion.
🚀 Getting Started
📋 Read through our Contribution Guidelines before you contribute.
🌐 Community Channels
We are on Discord! Community channels are a great way for you to ask questions and get help. Please join us!
📜 List of Algorithms
See our directory for easier navigation and a better overview of the project.
Description
No description provided
algorithmalgorithm-competitionsalgorithms-implementedalgoscommunity-driveneducationhacktoberfestinterviewlearnpracticepythonsearchessorting-algorithmssorts
Readme
460 MiB
Languages
Python
99.8%
Shell
0.2%