From 43087d6a1350bba79491a20ebc332bc9c3c60f1c Mon Sep 17 00:00:00 2001 From: Shezza221b <41204318+Shezza221b@users.noreply.github.com> Date: Thu, 1 Oct 2020 05:08:43 +0530 Subject: [PATCH] Update sorting/heap_sort.c Co-authored-by: David Leal --- sorting/heap_sort.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sorting/heap_sort.c b/sorting/heap_sort.c index dc901736..361aca24 100644 --- a/sorting/heap_sort.c +++ b/sorting/heap_sort.c @@ -47,10 +47,10 @@ void heapsort(int *a, int n) } /** - * build_maxheap takes O(n). - * @param a pointer to array a containing heap elements. - * @param n where n is number of elemnts in array a. - * @returns void. + * build_maxheap takes O(n) + * @param a pointer to array a containing heap elements + * @param n where n is number of elemnts in array a + * @returns void */ void build_maxheap(int *a, int n) {