Domanda di colloquio di Microsoft

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

Risposta di colloquio

Anonimo

6 set 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.