Pregunta de entrevista de Goldman Sachs

Write the algorithm for heap up.