Domanda di colloquio di Telenav

what are heaps? running time, space, complexity