From 6f50b116fbd7f0575a3bd2b096f0c3fa731ffb71 Mon Sep 17 00:00:00 2001 From: Kishan-Ved Date: Wed, 20 Dec 2023 19:00:41 +0530 Subject: [PATCH] implemented introsort --- pydatastructs/linear_data_structures/algorithms.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pydatastructs/linear_data_structures/algorithms.py b/pydatastructs/linear_data_structures/algorithms.py index 38119d76a..97a9ff52d 100644 --- a/pydatastructs/linear_data_structures/algorithms.py +++ b/pydatastructs/linear_data_structures/algorithms.py @@ -1790,6 +1790,12 @@ def intro_sort(array, **kwargs) -> Array: >>> str(out) '[5, 21, 37]' + Note + ==== + + This algorithm does not take comp as an + argument unlike many other functions in this file. + References ==========