Update heap_sort.c

This commit is contained in:
Shezza221b 2020-10-01 04:27:50 +05:30 committed by GitHub
parent ec8d670aea
commit 18ee0c1546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,3 @@
/**
* max_heapify takes O(logn).
* build_maxheap takes O(n).
* heapsort takes O(nlogn) since it requires above mentioned functions.
*/
#include <stdio.h>
void max_heapify(int *a, int i, int n);