Skip to content

Commit c088541

Browse files
authored
C#
1 parent de31d38 commit c088541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Heap Sort/heap_sort.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
internal static int[] heap_sort(int[] arr, int n)
1+
internal static int[] HeapSort(int[] arr, int n)
22
{
33
for (int j = n / 2 - 1; j >= 0; j--) arr = heapify(arr, n, j);
44
for (int i = n - 1; i >= 0; i--, n--)
@@ -25,4 +25,4 @@ private static int[] heapify(int[] arr, int n, int m)
2525
arr = heapify(arr, n, max);
2626
}
2727
return arr;
28-
}
28+
}

0 commit comments

Comments
 (0)