aeds2/fonte/U4 - Ordenação em memória p.../c/heapsort.h

13 lines
612 B
C

#ifndef HEAPSORT_H
#define HEAPSORT_H
//=============================================================================
void constroi(int *array, int tamHeap);
//=============================================================================
int getMaiorFilho(int *array, int i, int tamHeap);
//=============================================================================
void reconstroi(int *array, int tamHeap);
//=============================================================================
void heapsort(int *array, int n);
//=============================================================================
#endif