We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43087d6 commit bf40819Copy full SHA for bf40819
sorting/heap_sort.c
@@ -5,11 +5,11 @@ void heapsort(int *a, int n);
5
void build_maxheap(int *a, int n);
6
7
/**
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.
+ * max_heapify takes O(logn)
+ * @param a pointer to array a containing heap elements
+ * @param i element at which max_heapify needs to be performed
+ * @param n where n is number of elemnts in array a
+ * @returns void
13
*/
14
void max_heapify(int *a, int i, int n)
15
{
0 commit comments