Skip to content

Commit a14dd67

Browse files
trying to comment this algorithm
1 parent 7fbe4ce commit a14dd67

File tree

1 file changed

+1
-1
lines changed
  • topics/go/algorithms/sorting/heap

1 file changed

+1
-1
lines changed

topics/go/algorithms/sorting/heap/heap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func HeapSort(list []int) []int {
3838
// swap: [<3> 1 1 1] [4 6 7 7]
3939
// swap: [1 1 1] [3 4 6 7 7]
4040
// swap: [1 1] [1 3 4 6 7 7]
41-
// done: [1 1 1 3 4 6 7 7]
41+
// done: [1 1 1 3 4 6 7 7]
4242
size := len(list)
4343
for index := size - 1; index >= 1; index-- {
4444
list[0], list[index] = list[index], list[0]

0 commit comments

Comments
 (0)