mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-29 17:08:49 +08:00
310bb4cadc2411612aa774aaa1743ef63de8b33b
* Add type hints to pancake_sort function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Use modern list[int] type hint instead of deprecated typing.List * Update pancake_sort to use Sequence and TypeVar Refactor pancake_sort function to accept any sequence type. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Make pancake_sort generic with type parameter T --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: changsheng <changsheng0804-blip@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
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 and Gitter! 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%