You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Representação• Um Heap pode ser representado por um arrayunidimensional.16RAIZ = 0.14 10PAI(i) = (i-1)/2FILHO_ESQUERDO(i) =return i*2 + 18 72 4 19 3FILHO_DIREITO(i) =return i*2 + 216 14 10 8 7 9 3 2 4 10 1 2 3 4 5 6 7 8 921