Pregunta de entrevista de Microsoft

Draw a diagram showing inserting elements into a min heap, and write code for a function that does the same.

Respuesta de la entrevista

Anónimo

6 de sept de 2019

I drew a series of diagrams, showing each step of elements moving around in the heap, and wrote code for a function which did the same.