Skip to content

Commit 18ee0c1

Browse files
authored
Update heap_sort.c
1 parent ec8d670 commit 18ee0c1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sorting/heap_sort.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/**
2-
* max_heapify takes O(logn).
3-
* build_maxheap takes O(n).
4-
* heapsort takes O(nlogn) since it requires above mentioned functions.
5-
*/
61
#include <stdio.h>
72

83
void max_heapify(int *a, int i, int n);

0 commit comments

Comments
 (0)