We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc75883 commit da6ef80Copy full SHA for da6ef80
pydatastructs/linear_data_structures/algorithms.py
@@ -1439,7 +1439,7 @@ def selection_sort(array, **kwargs):
1439
"""
1440
backend = kwargs.pop("backend", Backend.PYTHON)
1441
if backend == Backend.CPP:
1442
- return _algorithms.bubble_sort(array, **kwargs)
+ return _algorithms.selection_sort(array, **kwargs)
1443
start = kwargs.get('start', 0)
1444
end = kwargs.get('end', len(array) - 1)
1445
comp = kwargs.get('comp', lambda u, v: u <= v)
0 commit comments