Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
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 931