Skip to content

Commit 7f83936

Browse files
author
ray
committed
s
s
1 parent a96c6ef commit 7f83936

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/workspace.xml

Algorithm/SortingAlgorithm/Simple_Sorts.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,14 @@ def select_sort(array):
8383

8484

8585

86-
def merge_sort(array):
86+
# def merge_sort(array):
8787

8888

89+
# 2.2, 堆排序
90+
# 算法:是数据结构-堆,堆排序是选择排序种类的一部分。它的提升是用到了对数时间优先队列(即堆)而不是线性时间搜索。
91+
# 堆排序是一种 in-place algorithm,但不是稳定的排序。
8992

93+
# def heap_sort(array):
9094

9195

9296

0 commit comments

Comments
 (0)