Question d’entretien chez Texas Instruments

Design heap sort algorithm in C++?