Skip to content

Commit bf40819

Browse files
ShwetikPanquesito7
andauthoredSep 30, 2020
Update sorting/heap_sort.c
Co-authored-by: David Leal <halfpacho@gmail.com>
1 parent 43087d6 commit bf40819

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎sorting/heap_sort.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ void heapsort(int *a, int n);
55
void build_maxheap(int *a, int n);
66

77
/**
8-
* max_heapify takes O(logn).
9-
* @param a pointer to array a containing heap elements.
10-
* @param i element at which max_heapify needs to be performed.
11-
* @param n where n is number of elemnts in array a.
12-
* @returns void.
8+
* max_heapify takes O(logn)
9+
* @param a pointer to array a containing heap elements
10+
* @param i element at which max_heapify needs to be performed
11+
* @param n where n is number of elemnts in array a
12+
* @returns void
1313
*/
1414
void max_heapify(int *a, int i, int n)
1515
{

0 commit comments

Comments
 (0)
Failed to load comments.