From bf408191aea056933ea8f5803c6e49d4958396a1 Mon Sep 17 00:00:00 2001 From: Shezza221b <41204318+Shezza221b@users.noreply.github.com> Date: Thu, 1 Oct 2020 05:13:36 +0530 Subject: [PATCH] Update sorting/heap_sort.c Co-authored-by: David Leal --- sorting/heap_sort.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sorting/heap_sort.c b/sorting/heap_sort.c index 361aca24ef..7e2e19f874 100644 --- a/sorting/heap_sort.c +++ b/sorting/heap_sort.c @@ -5,11 +5,11 @@ void heapsort(int *a, int n); void build_maxheap(int *a, int n); /** - * 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. + * 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 */ void max_heapify(int *a, int i, int n) {