Skip to content

Commit 43087d6

Browse files
ShwetikPanquesito7
andauthored
Update sorting/heap_sort.c
Co-authored-by: David Leal <[email protected]>
1 parent 2ebc986 commit 43087d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sorting/heap_sort.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ void heapsort(int *a, int n)
4747
}
4848

4949
/**
50-
* build_maxheap takes O(n).
51-
* @param a pointer to array a containing heap elements.
52-
* @param n where n is number of elemnts in array a.
53-
* @returns void.
50+
* build_maxheap takes O(n)
51+
* @param a pointer to array a containing heap elements
52+
* @param n where n is number of elemnts in array a
53+
* @returns void
5454
*/
5555
void build_maxheap(int *a, int n)
5656
{

0 commit comments

Comments
 (0)